LiveActive security incident?Get immediate response
CVE Record

CVE-2021-3899: There is a race condition in the 'replaced executable' detection that, with the correct local configuration...

There is a race condition in the 'replaced executable' detection that, with the correct local configuration, allow an attacker to execute arbitrary code as root.

HighCVSS 7.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2021-3899 is a local privilege escalation issue in Canonical Apport. A logged-in attacker could exploit a race condition in executable replacement checks to run code as root, but the source bundle notes this depends on the correct local configuration.

Executive priority

Treat this as high priority for Ubuntu fleets with shared or less-trusted local access. It is not described as remotely exploitable, but successful exploitation could give root-level control on an affected host.

Technical view

The vulnerability is a CWE-367 time-of-check/time-of-use race in Apport's 'replaced executable' detection. CVSS 3.1 is 7.8 with local attack vector, low complexity, low privileges required, no user interaction, and high confidentiality, integrity, and availability impact.

Likely exposure

Exposure is most relevant to Ubuntu systems using the Apport package, especially multi-user systems or environments where less-trusted users can get local access. The bundle does not provide exact affected or fixed package versions.

Exploitation context

The source bundle does not show CISA KEV listing or other evidence of active exploitation. Exploitation is local, requires low privileges, and depends on local configuration, so internet-facing exposure is not the primary risk.

Researcher notes

Evidence supports a local TOCTOU privilege escalation in Apport. The bundle identifies Canonical Apport and USN-5427-1, but does not include fixed version details, affected Ubuntu release mapping, exploit proof, or confirmed exploitation status.

Mitigation direction

  • Review Ubuntu USN-5427-1 for affected releases and fixed Apport packages.
  • Apply Canonical or Ubuntu Apport updates through normal OS patch management.
  • Prioritize multi-user Ubuntu hosts and systems with less-trusted local accounts.
  • If fix status is unknown, treat Apport-enabled Ubuntu systems as exposed until verified.

Validation and detection

  • Inventory Ubuntu systems with the apport package installed.
  • Compare installed Apport package versions against Ubuntu USN-5427-1 guidance.
  • Confirm vulnerable systems have received the vendor security update.
  • Review local account exposure on systems where Apport is present.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-367: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-3899 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.8CVSS 3.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H1.85.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

7.8High
CVSS 3.1 vector shape for CVE-2021-3899Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Canonical Ltd.Apportapport, 0Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-367 · source CWE mapping

Time-of-check Time-of-use (TOCTOU) Race Condition

Time-of-check Time-of-use (TOCTOU) Race Condition represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.