CVE-2017-6507 Security feature bypass in n/a

Medium 5.9 Published Updated

Attackers can bypass AppArmor confinement for processes using non-standard profile locations, increasing the attack surface of intended confined applications.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-6507?

CVE-2017-6507 is a medium-severity vulnerability in n/a, published on 24 Mar 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-269

Which versions are affected by CVE-2017-6507?

It affects 3 products.

Linux distribution packages (9)
apparmor SUSE:Linux Enterprise Desktop 12 SP1All versions2.8.2-54.1
apparmor SUSE:Linux Enterprise Desktop 12 SP2All versions2.8.2-54.1
apparmor SUSE:Linux Enterprise Server 12 SP1All versions2.8.2-54.1
apparmor SUSE:Linux Enterprise Server 12 SP2All versions2.8.2-54.1
apparmor SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2All versions2.8.2-54.1
apparmor SUSE:Linux Enterprise Server for SAP Applications 12 SP1All versions2.8.2-54.1
apparmor SUSE:Linux Enterprise Server for SAP Applications 12 SP2All versions2.8.2-54.1
apparmor SUSE:Linux Enterprise Software Development Kit 12 SP1All versions2.8.2-54.1
apparmor SUSE:Linux Enterprise Software Development Kit 12 SP2All versions2.8.2-54.1

Products include Apparmor Apparmor, Canonical Ubuntu Core, Canonical Ubuntu Touch.

How do I fix CVE-2017-6507?

Upgrade to a fixed version.

Is CVE-2017-6507 being exploited?

There is no known exploitation of CVE-2017-6507 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2017-6507, GHSA-44p8-9hqx-3rqg, SUSE-SU-2017:1151-1, UBUNTU-CVE-2017-6507, USN-3247-1, openSUSE-SU-2024:10627-1.

Is CVE-2017-6507 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free