p PatchFirst

CVE-2023-28642

CVE-2023-28642 · AppArmor bypass with symlinked /proc in runc

This page contains facts from public vulnerability sources. Check the original advisory before updating.

runc is a CLI tool for spawning and running containers according to the OCI specification. It was found that AppArmor can be bypassed when `/proc` inside the container is symlinked with a specific mount configuration. This issue has been fixed in runc version 1.1.5, by prohibiting symlinked `/proc`. See PR #3785 for details. users are advised to upgrade. Users unable to upgrade should avoid using an untrusted container image.

CVSS 6.1 · Medium · EPSS 0.3% · Fix available

Published
Updated

Stack: system · containers

Affected products and versions

  • runc

    Versions
    • < 1.1.5: Affected

    No fix published

  • runc Debian:12

    Affected ranges
    • ECOSYSTEM: < 1.1.5+ds1-1

    Update to 1.1.5+ds1-1

  • runc Debian:13

    Affected ranges
    • ECOSYSTEM: < 1.1.5+ds1-1

    Update to 1.1.5+ds1-1

  • runc Debian:14

    Affected ranges
    • ECOSYSTEM: < 1.1.5+ds1-1

    Update to 1.1.5+ds1-1

  • runc Ubuntu:Pro:16.04:LTS

    Versions
    • 0.0.8+dfsg-2
    • 0.1.1-0ubuntu5~16.04
    • 1.0.0~rc1-0ubuntu1~16.04
    • 1.0.0~rc1-0ubuntu2~16.04.1
    • 1.0.0~rc1-0ubuntu2~16.04.1.1
    • 1.0.0~rc2-0ubuntu2~16.04.1
    • 1.0.0~rc2+docker1.12.6-0ubuntu1~16.04.1
    • 1.0.0~rc2+docker1.13.1-0ubuntu1~16.04.1
    • 1.0.0~rc2+docker1.13.1-0ubuntu1~16.04.2
    • 1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.3
    • 1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.4
    • 1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.4+esm1
    • 1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.4+esm2
    Affected ranges
    • ECOSYSTEM: < 1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.4+esm4

    Update to 1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.4+esm4

  • runc Ubuntu:18.04:LTS

    Versions
    • 1.0.0~rc2+docker1.13.1-0ubuntu1
    • 1.0.0~rc4+dfsg1-2
    • 1.0.0~rc4+dfsg1-6
    • 1.0.0~rc4+dfsg1-6ubuntu0.18.04.1
    • 1.0.0~rc7+git20190403.029124da-0ubuntu1~18.04.1
    • 1.0.0~rc7+git20190403.029124da-0ubuntu1~18.04.2
    • 1.0.0~rc10-0ubuntu1~18.04.1
    • 1.0.0~rc10-0ubuntu1~18.04.2
    • 1.0.0~rc93-0ubuntu1~18.04.1
    • 1.0.0~rc93-0ubuntu1~18.04.2
    • 1.0.0~rc95-0ubuntu1~18.04.1
    • 1.0.0~rc95-0ubuntu1~18.04.2
    • 1.0.1-0ubuntu2~18.04.1
    • 1.1.0-0ubuntu1~18.04.1
    • 1.1.4-0ubuntu1~18.04.1
    Affected ranges
    • ECOSYSTEM: < 1.1.4-0ubuntu1~18.04.2

    Update to 1.1.4-0ubuntu1~18.04.2

  • runc Ubuntu:20.04:LTS

    Versions
    • 1.0.0~rc8+git20190923.3e425f80-0ubuntu1
    • 1.0.0~rc10-0ubuntu1
    • 1.0.0~rc93-0ubuntu1~20.04.1
    • 1.0.0~rc93-0ubuntu1~20.04.2
    • 1.0.0~rc95-0ubuntu1~20.04.1
    • 1.0.0~rc95-0ubuntu1~20.04.2
    • 1.0.1-0ubuntu2~20.04.1
    • 1.1.0-0ubuntu1~20.04.1
    • 1.1.0-0ubuntu1~20.04.2
    • 1.1.4-0ubuntu1~20.04.1
    • 1.1.4-0ubuntu1~20.04.2
    Affected ranges
    • ECOSYSTEM: < 1.1.4-0ubuntu1~20.04.3

    Update to 1.1.4-0ubuntu1~20.04.3

  • runc Ubuntu:22.04:LTS

    Versions
    • 1.0.1-0ubuntu2
    • 1.0.1-0ubuntu3
    • 1.0.3-0ubuntu1
    • 1.1.0-0ubuntu1
    • 1.1.0-0ubuntu1.1
    • 1.1.4-0ubuntu1~22.04.1
    • 1.1.4-0ubuntu1~22.04.2
    Affected ranges
    • ECOSYSTEM: < 1.1.4-0ubuntu1~22.04.3

    Update to 1.1.4-0ubuntu1~22.04.3

Original sources

Check your server →