CVE-2019-14287
What it is
In Sudo before 1.8.28, an attacker with access to a Runas ALL sudoer account can bypass certain policy blacklists and session PAM modules, and can cause incorrect logging, by invoking sudo with a crafted user ID. For example, this allows bypass of !root configuration, and USER= logging, for a "sudo -u \#$((0xffffffff))" command.
At a glance
- Exploitability
- Can be exploited over the network with a low-privilege account. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 63.8% chance of exploitation in the next 30 days (EPSS). Higher than most.
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- ReservedThe CVE id was reserved by its CNA
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 63.8% in the next 30 days (EPSS).
- Severity: 8.8 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 63.8% · EPSS, next 30 days
- Weakness
- CWE-755
- Record status
- Modified
Affected
- Sudo Project Sudo < 1.8.28
- Fedoraproject Fedora 29
- Fedoraproject Fedora 30
- Fedoraproject Fedora 31
- Debian Linux 8.0
- Debian Linux 9.0
- Debian Linux 10.0
- Opensuse Leap 15.0
Attack profile CVSS 3.1 · 8.8
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2019-14287.md and follow it. Check whether this project is affected by CVE-2019-14287. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://www.openwall.com/lists/oss-security/2019/10/15/2
- https://www.sudo.ws/alerts/minus_1_uid.html
- https://www.openwall.com/lists/oss-security/2019/10/15/2
- https://www.sudo.ws/alerts/minus_1_uid.html
References
- http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00042.html
- http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00047.html
- http://packetstormsecurity.com/files/154853/Slackware-Security-Advisory-sudo-Updates.html
- http://www.openwall.com/lists/oss-security/2019/10/14/1
- http://www.openwall.com/lists/oss-security/2019/10/24/1
- http://www.openwall.com/lists/oss-security/2019/10/29/3
- http://www.openwall.com/lists/oss-security/2021/09/14/2
- https://access.redhat.com/errata/RHBA-2019:3248
- https://access.redhat.com/errata/RHSA-2019:3197
- https://access.redhat.com/errata/RHSA-2019:3204
- https://access.redhat.com/errata/RHSA-2019:3205
- https://access.redhat.com/errata/RHSA-2019:3209
- https://access.redhat.com/errata/RHSA-2019:3219
- https://access.redhat.com/errata/RHSA-2019:3278
- https://access.redhat.com/errata/RHSA-2019:3694
- https://access.redhat.com/errata/RHSA-2019:3754
- https://access.redhat.com/errata/RHSA-2019:3755
- https://access.redhat.com/errata/RHSA-2019:3895
- https://access.redhat.com/errata/RHSA-2019:3916
- https://access.redhat.com/errata/RHSA-2019:3941
- https://access.redhat.com/errata/RHSA-2019:4191
- https://access.redhat.com/errata/RHSA-2020:0388
- https://lists.debian.org/debian-lts-announce/2019/10/msg00022.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IP7SIOAVLSKJGMTIULX52VQUPTVSC43U/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NPLAM57TPJQGKQMNG6RHFBLACD6K356N/