CVE Tools

CVE-2020-16127

accountsservice .pam_environment infinite loop

CVE-2020-16127 is an input validation in Freedesktop accountsservice (CVSS 2.8, Low).

Public exploit available. Not confirmed exploited in the wild yet. Fixed versions are out.

Check it yourself

OpenVAS · 2 checks

e.g. OID 1.3.6.1.4.1.25623.1.0.844694

Run the check

Published Updated Sources: CVE.org, NVD

What to do

Find your product and version, then upgrade to the build on the right.

  • Freedesktop accountsserviceAffected: ≥ 0.6.35-0ubuntu7.3, < 0.6.35-0ubuntu7.3+esm2Upgrade to: 0.6.35-0ubuntu7.3+esm2Affected: ≥ 0.6.40-2ubuntu11, < 0.6.40-2ubuntu11.6Upgrade to: 0.6.40-2ubuntu11.6Affected: ≥ 0.6.45-1ubuntu1, < 0.6.45-1ubuntu1.3Upgrade to: 0.6.45-1ubuntu1.3Affected: ≥ 0.6.55-0ubuntu, < 0.6.55-0ubuntu12~20.04.4Upgrade to: 0.6.55-0ubuntu12~20.04.4 + 1 more branchStated by: CVE record

Versions as the sources state them. Full version matrix after sign-in

What it is

From the CVE record

An Ubuntu-specific modification to AccountsService in versions before 0.6.55-0ubuntu13.2, among other earlier versions, would perform unbounded read operations on user-controlled ~/.pam_environment files, allowing an infinite loop if /dev/zero is symlinked to this location.

In plain language

No plain-language summary for this CVE yet.

Exploitation

Where each signal puts this CVE on the scale from published to confirmed exploited.

EPSS36th
Public exploit
CISA KEV

Not in the catalog. CISA has not confirmed exploitation.

Public exploits

1 source with a proof of concept or module.

Exploit links, PoCs and Metasploit modules after sign-in
EPSS

0.4% chance of exploitation activity in the next 30 days, which ranks it in the 36th percentile of scored CVEs.

Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.

Lifecycle

6 events over 2052 days, from the signal feeds we watch.

  1. OpenVAS check added
  2. Public exploit / PoCsource: github-poc
  3. Record updated
  4. Publishedweakness classified, att&ck mapped

Affected products

And 1 more affected product. See all after sign-in

Technical detail

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

Scored 2.8 by NVD.

How it is reached

  • Attack Vector LocalRequires local access to the vulnerable system (e.g. local login, malicious file)
  • Attack Complexity LowNo special conditions — the attack can be reliably reproduced
  • Privileges Required LowRequires basic user-level privileges
  • User Interaction RequiredA user must click a link, open a file, or perform some action

Scope

  • Scope UnchangedImpact is limited to the vulnerable component itself

Impact if exploited

  • Confidentiality NoneNo confidentiality impact
  • Integrity NoneNo integrity impact
  • Availability LowReduced performance or intermittent disruption of service

Weaknesses

ATT&CK techniques

Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.

Sources

Questions about CVE-2020-16127

Is CVE-2020-16127 being exploited?
Not confirmed. Public exploit code exists (1 source), but CVE-2020-16127 is not in CISA KEV. EPSS puts the chance of exploitation in the next 30 days at 0.4%.
Which versions are affected by CVE-2020-16127?
Accountsservice: ≥ 0.6.35-0ubuntu7.3, < 0.6.35-0ubuntu7.3+esm2; ≥ 0.6.40-2ubuntu11, < 0.6.40-2ubuntu11.6; ≥ 0.6.45-1ubuntu1, < 0.6.45-1ubuntu1.3.
How do I fix or mitigate CVE-2020-16127?
Upgrade to a fixed build for your product branch: 0.6.35-0ubuntu7.3+esm2, 0.6.40-2ubuntu11.6, 0.6.45-1ubuntu1.3, 0.6.55-0ubuntu12~20.04.4.

Last updated

Watch the software you run.

My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.

We'll flag the next CVE, public exploit or patch for Accountsservice, not every advisory. This one: public exploit.