p PatchFirst

CVE-2022-36227

CVE-2022-36227

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

In libarchive before 3.6.2, the software does not check for an error after calling calloc function that can return with a NULL pointer if the function fails, which leads to a resultant NULL pointer dereference. NOTE: the discoverer cites this CWE-476 remark but third parties dispute the code-execution impact: "In rare circumstances, when NULL is equivalent to the 0x0 memory address and privileged code can access it, then writing or reading memory is possible, which may lead to code execution."

CVSS 9.8 · Critical · EPSS 2.4% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • n/a

    Versions
    • n/a: Affected

    No fix published

  • libarchive Debian:12

    Affected ranges
    • ECOSYSTEM: < 3.6.2-1

    Update to 3.6.2-1

  • libarchive Debian:13

    Affected ranges
    • ECOSYSTEM: < 3.6.2-1

    Update to 3.6.2-1

  • libarchive Debian:14

    Affected ranges
    • ECOSYSTEM: < 3.6.2-1

    Update to 3.6.2-1

  • libarchive Ubuntu:Pro:14.04:LTS

    Versions
    • 3.1.2-5ubuntu1
    • 3.1.2-7ubuntu1
    • 3.1.2-7ubuntu2
    • 3.1.2-7ubuntu2.1
    • 3.1.2-7ubuntu2.2
    • 3.1.2-7ubuntu2.3
    • 3.1.2-7ubuntu2.4
    • 3.1.2-7ubuntu2.6
    • 3.1.2-7ubuntu2.7
    • 3.1.2-7ubuntu2.8
    • 3.1.2-7ubuntu2.8+esm1
    Affected ranges
    • ECOSYSTEM: < 3.1.2-7ubuntu2.8+esm3

    Update to 3.1.2-7ubuntu2.8+esm3

  • libarchive Ubuntu:Pro:16.04:LTS

    Versions
    • 3.1.2-11build1
    • 3.1.2-11ubuntu0.16.04.1
    • 3.1.2-11ubuntu0.16.04.2
    • 3.1.2-11ubuntu0.16.04.3
    • 3.1.2-11ubuntu0.16.04.4
    • 3.1.2-11ubuntu0.16.04.5
    • 3.1.2-11ubuntu0.16.04.6
    • 3.1.2-11ubuntu0.16.04.7
    • 3.1.2-11ubuntu0.16.04.8
    Affected ranges
    • ECOSYSTEM: < 3.1.2-11ubuntu0.16.04.8+esm1

    Update to 3.1.2-11ubuntu0.16.04.8+esm1

  • libarchive Ubuntu:Pro:18.04:LTS

    Versions
    • 3.2.2-3.1
    • 3.2.2-3.1ubuntu0.1
    • 3.2.2-3.1ubuntu0.2
    • 3.2.2-3.1ubuntu0.3
    • 3.2.2-3.1ubuntu0.4
    • 3.2.2-3.1ubuntu0.5
    • 3.2.2-3.1ubuntu0.6
    • 3.2.2-3.1ubuntu0.7
    Affected ranges
    • ECOSYSTEM: < 3.2.2-3.1ubuntu0.7+esm1

    Update to 3.2.2-3.1ubuntu0.7+esm1

  • libarchive Ubuntu:20.04:LTS

    Versions
    • 3.4.0-1
    • 3.4.0-1build1
    • 3.4.0-1ubuntu2
    • 3.4.0-2ubuntu1
    • 3.4.0-2ubuntu1.1
    • 3.4.0-2ubuntu1.2
    Affected ranges
    • ECOSYSTEM: < 3.4.0-2ubuntu1.3

    Update to 3.4.0-2ubuntu1.3

  • libarchive Ubuntu:22.04:LTS

    Versions
    • 3.4.3-2
    • 3.4.3-2build1
    • 3.5.2-1
    • 3.5.2-1ubuntu1
    • 3.6.0-1ubuntu1
    • 3.6.0-1ubuntu1.1
    Affected ranges
    • ECOSYSTEM: < 3.6.0-1ubuntu1.2

    Update to 3.6.0-1ubuntu1.2

Original sources

Check your server →