Improper Privilege Management Affecting apparmor package, versions <2.7.102-0ubuntu3.11


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.19% (57th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Privilege Management vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU1204-APPARMOR-277335
  • published24 Mar 2017
  • disclosed24 Mar 2017

Introduced: 24 Mar 2017

CVE-2017-6507  (opens in a new tab)
CWE-269  (opens in a new tab)

How to fix?

Upgrade Ubuntu:12.04 apparmor to version 2.7.102-0ubuntu3.11 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream apparmor package and not the apparmor package as distributed by Ubuntu. See How to fix? for Ubuntu:12.04 relevant fixed versions and status.

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.