AppArmor 2.13.7 was released 2022-11-21.

Introduction

AppArmor 2.13.7 is a maintenance release of the user space components of the AppArmor security project. The kernel portion of the project is maintained and pushed separately.

This version of the userspace should work with all kernel versions from 2.6.15 and later (some earlier version of the kernel if they have the apparmor patches applied). And supports features released in the 4.18 kernel and ubuntu 18.04 kernel with the apparmor 3 development patches.

Obtaining the Release

There are two ways to obtain this release either through gitlab or a tarball in launchpad. Important note: the gitlab release tarballs: Differ from the launchpad release tarballs. The launchpad release tarball has a couple processing steps already performed: - libapparmor autogen.sh is already done, meaning distros only need to use ./configure in their build setup - the docs for everything but libapparmor have already been built

gitlab release

Launchpad Tarball

Changes in this Release

These release notes cover all changes between 2.13.6 (c16fff8cb487cf150e3e5ad536b7ff2d4cb4f784) and 2.137 (b51a2d271d489763909cfbbb18d7f5826b16e11a) on the apparmor-2.13 branch.

Libapparmor

Policy Compiler (a.k.a apparmor_parser)

  • fix rlimit parsing (MR:803)
  • fix cache time stamp check to include dir time stamps (MR:760)
  • fix filter slashes for link targets (MR:723, AABUG:153)
  • fix rule downgrade for unix rules (MR:700, BOO:1180766)
  • fix –jobs so job scaling is applied correctly (MR:703)

Utils

  • Add ‘mctp’ network domain keyword (MR:911)
  • Support setuptools >= 61.2 (MR:910, HUBMR:3258/commits/1c23f5e1e4b18b50081cbabb2dea22bf345f5894)
  • Use string startswith() and endswith() methods (MR:931)
  • Set (instead of compare) exresult (MR:907)
  • support new versions of python (MR:795, Fixes: AABUG:193)
  • aa-remove-unknown
    • abort on parser failure (MR:859)

apparmor.vim

  • add support for abi rules (MR:690)

Policy

Abstractions

  • avahi
  • base
  • mesa
  • openssl:
    • allow /etc/ssl/{engdef,engines}.d/ (MR:818)
  • php
  • python
  • private-files-strict
    • add new deny path for kwallet (used in KDE 5) (MR:704)
  • snap_browsers
  • ubuntu-helpers
    • Fix: Opening links with Chrome (MR:830)
  • ubuntu-browsers.d/user-files
    • add new deny path for kwallet (used in KDE 5) (MR:704)
  • video
    • fix sys rule for video4linux (MR:791)
  • wutmp

Profiles

  • dhclient: allow setting task comm name (LP:1918410)
  • dhcpd
  • dnsmasq
  • dovecot
    • Allow use of all signals (MR:865)
    • allow Prometheus metrics end-point in dovecot/stats (MR:776)
  • firefox
    • Add support for widevine DRM (MR:684)
  • nscd
  • python
  • samba
  • syslog-ng
    • allow reading *.journal in flatter directory structure (MR:932)

Tests

Documentation