cve.bz

CVE-2021-4142 candlepinproject candlepin: Improper Authentication

5.5 mediumEPSS 0.2%Fix available

Medium (5.5) in candlepinproject candlepin. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
The Candlepin component of Red Hat Satellite was affected by an improper authentication flaw. Few factors could allow an attacker to use the SCA (simple content access) certificate for authentication with Candlepin.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 7th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-639 Authorization Bypass Through User-Controlled Key
CWE-287 Improper Authentication
OWASP Top 10
A01:2025 Broken Access Control, A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-4142 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-4142?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-4142?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-4142 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
candlepinproject:candlepinfrom 3.1.0 through 3.1.28-2
candlepinproject:candlepinfrom 3.2.0 through 3.2.21-1
candlepinproject:candlepinfrom 4.1.0 through 4.1.8-1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatsatellite:6.10::el7candlepin, candlepin-selinux0:4.0.15-1.el7satRHSA-2022:0790
Red Hatsatellite:6.11::el7candlepin0:4.1.13-1.el7satRHSA-2022:5498
Red Hatsatellite:6.11::el7tfm-rubygem-actionpack0:6.0.4.7-1.el7satRHSA-2022:5498
Red Hatsatellite:6.11::el7tfm-rubygem-puma, tfm-rubygem-puma-debuginfo0:5.6.2-1.el7satRHSA-2022:5498
Red Hatsatellite:6.11::el7tfm-rubygem-sidekiq0:5.2.10-1.el7satRHSA-2022:5498
Red Hatsatellite:6.11::el7, satellite_capsule:6.11::el7libsolv0:0.7.22-1.el7pcRHSA-2022:5498
Red Hatsatellite:6.11::el7, satellite_capsule:6.11::el7, satellite_utils:6.11::el7foreman0:3.1.1.21-2.el7satRHSA-2022:5498
Red Hatsatellite:6.11::el7, satellite_capsule:6.11::el7, satellite_utils:6.11::el7satellite0:6.11.0-2.el7satRHSA-2022:5498
Red Hatsatellite:6.11::el8candlepin0:4.1.13-1.el8satRHSA-2022:5498
Red Hatsatellite:6.11::el8rubygem-actionpack0:6.0.4.7-1.el8satRHSA-2022:5498
Red Hatsatellite:6.11::el8rubygem-puma, rubygem-puma-debuginfo, rubygem-puma-debugsource0:5.6.2-1.el8satRHSA-2022:5498
Red Hatsatellite:6.11::el8rubygem-sidekiq0:5.2.10-1.el8satRHSA-2022:5498
6 more for Red Hat in the JSON and on Red Hat's page.
Rocky Linux8libdb0:5.3.28-42.el8_4RLSA-2022:5498

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is not available because it doesn't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Satellite 6.10 for RHEL 7candlepin-0:4.0.15-1.el7satFixed 2022-03-08RHSA-2022:0790
Red Hat Satellite 6.11 for RHEL 7satellite-0:6.11.0-2.el7satFixed 2022-07-05RHSA-2022:5498
Red Hat Satellite 6.11 for RHEL 8satellite-0:6.11.0-2.el8satFixed 2022-07-05RHSA-2022:5498

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-4142.

Attack patterns (CAPEC)

  • CAPEC-22 Exploiting Trust in Client Likelihood: High · Severity: High
  • CAPEC-57 Utilizing REST's Trust in the System Resource to Obtain Sensitive Data Likelihood: Medium · Severity: Very High
  • CAPEC-94 Adversary in the Middle (AiTM) Likelihood: High · Severity: Very High
  • CAPEC-114 Authentication Abuse Severity: Medium
  • CAPEC-115 Authentication Bypass Severity: Medium
  • CAPEC-151 Identity Spoofing Likelihood: Medium · Severity: Medium
  • CAPEC-194 Fake the Source of Data Severity: Medium
  • CAPEC-593 Session Hijacking Likelihood: High · Severity: Very High
  • CAPEC-633 Token Impersonation Severity: Medium
  • CAPEC-650 Upload a Web Shell to a Web Server Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON