CVE-2010-1646
What it is
The secure path feature in env.c in sudo 1.3.1 through 1.6.9p22 and 1.7.0 through 1.7.2p6 does not properly handle an environment that contains multiple PATH variables, which might allow local users to gain privileges via a crafted value of the last PATH variable.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 0.5% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- 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: 0.5% in the next 30 days (EPSS).
- Severity: 6.2 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.5% · EPSS, next 30 days
- Weakness
- CWE-264
- Record status
- Modified
Affected
- Todd Miller Sudo 1.3.1
- Todd Miller Sudo 1.6
- Todd Miller Sudo 1.6.1
- Todd Miller Sudo 1.6.2
- Todd Miller Sudo 1.6.2p1
- Todd Miller Sudo 1.6.2p2
- Todd Miller Sudo 1.6.2p3
- Todd Miller Sudo 1.6.3
Attack profile CVSS 2.0 · 6.2
- Attack vector
- Local
- Complexity
- High
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
Raw vector
AV:L/AC:H/Au:N/C:C/I:C/A:C
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-2010-1646.md and follow it. Check whether this project is affected by CVE-2010-1646. 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
- http://secunia.com/advisories/40002
- http://www.sudo.ws/repos/sudo/rev/3057fde43cf0
- http://www.sudo.ws/repos/sudo/rev/a09c6812eaec
- http://www.sudo.ws/sudo/alerts/secure_path.html
- http://secunia.com/advisories/40002
- http://www.sudo.ws/repos/sudo/rev/3057fde43cf0
- http://www.sudo.ws/repos/sudo/rev/a09c6812eaec
- http://www.sudo.ws/sudo/alerts/secure_path.html
References
- http://lists.fedoraproject.org/pipermail/package-announce/2010-June/042838.html
- http://lists.fedoraproject.org/pipermail/package-announce/2010-June/043012.html
- http://lists.fedoraproject.org/pipermail/package-announce/2010-June/043026.html
- http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00006.html
- http://secunia.com/advisories/40002
- http://secunia.com/advisories/40188
- http://secunia.com/advisories/40215
- http://secunia.com/advisories/40508
- http://secunia.com/advisories/43068
- http://security.gentoo.org/glsa/glsa-201009-03.xml
- http://wiki.rpath.com/Advisories:rPSA-2010-0075
- http://www.debian.org/security/2010/dsa-2062
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:118
- http://www.osvdb.org/65083
- http://www.redhat.com/support/errata/RHSA-2010-0475.html
- http://www.securityfocus.com/archive/1/514489/100/0/threaded
- http://www.securityfocus.com/bid/40538
- http://www.securitytracker.com/id?1024101
- http://www.sudo.ws/repos/sudo/rev/3057fde43cf0
- http://www.sudo.ws/repos/sudo/rev/a09c6812eaec
- http://www.sudo.ws/sudo/alerts/secure_path.html
- http://www.vupen.com/english/advisories/2010/1452
- http://www.vupen.com/english/advisories/2010/1478
- http://www.vupen.com/english/advisories/2010/1518
- http://www.vupen.com/english/advisories/2010/1519