UBUNTU-CVE-2022-1586

Source
https://ubuntu.com/security/CVE-2022-1586
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1586.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2022-1586
Related
Published
2022-05-16T21:15:00Z
Modified
2024-10-15T14:09:37Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
Summary
[none]
Details

An out-of-bounds read vulnerability was discovered in the PCRE2 library in the compilexclassmatchingpath() function of the pcre2jitcompile.c file. This involves a unicode property matching issue in JIT-compiled regular expressions. The issue occurs because the character was not fully read in case-less matching within JIT.

References

Affected packages

Ubuntu:Pro:16.04:LTS / pcre2

Package

Name
pcre2
Purl
pkg:deb/ubuntu/pcre2?arch=src?distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

10.*

10.20-1
10.20-2
10.20-3
10.21-1

Ecosystem specific

{
    "ubuntu_priority": "low"
}

Ubuntu:Pro:18.04:LTS / pcre2

Package

Name
pcre2
Purl
pkg:deb/ubuntu/pcre2?arch=src?distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
10.31-2ubuntu0.1~esm1

Affected versions

10.*

10.22-3
10.22-4
10.22-5
10.22-6
10.31-2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "10.31-2ubuntu0.1~esm1",
            "binary_name": "libpcre2-16-0"
        },
        {
            "binary_version": "10.31-2ubuntu0.1~esm1",
            "binary_name": "libpcre2-32-0"
        },
        {
            "binary_version": "10.31-2ubuntu0.1~esm1",
            "binary_name": "libpcre2-8-0"
        },
        {
            "binary_version": "10.31-2ubuntu0.1~esm1",
            "binary_name": "libpcre2-8-0-udeb"
        },
        {
            "binary_version": "10.31-2ubuntu0.1~esm1",
            "binary_name": "libpcre2-dbg"
        },
        {
            "binary_version": "10.31-2ubuntu0.1~esm1",
            "binary_name": "libpcre2-dev"
        },
        {
            "binary_version": "10.31-2ubuntu0.1~esm1",
            "binary_name": "libpcre2-posix0"
        },
        {
            "binary_version": "10.31-2ubuntu0.1~esm1",
            "binary_name": "pcre2-utils"
        }
    ]
}

Ubuntu:20.04:LTS / pcre2

Package

Name
pcre2
Purl
pkg:deb/ubuntu/pcre2?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
10.34-7ubuntu0.1

Affected versions

10.*

10.32-5
10.34-7

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "10.34-7ubuntu0.1",
            "binary_name": "libpcre2-16-0"
        },
        {
            "binary_version": "10.34-7ubuntu0.1",
            "binary_name": "libpcre2-16-0-dbgsym"
        },
        {
            "binary_version": "10.34-7ubuntu0.1",
            "binary_name": "libpcre2-32-0"
        },
        {
            "binary_version": "10.34-7ubuntu0.1",
            "binary_name": "libpcre2-32-0-dbgsym"
        },
        {
            "binary_version": "10.34-7ubuntu0.1",
            "binary_name": "libpcre2-8-0"
        },
        {
            "binary_version": "10.34-7ubuntu0.1",
            "binary_name": "libpcre2-8-0-dbgsym"
        },
        {
            "binary_version": "10.34-7ubuntu0.1",
            "binary_name": "libpcre2-8-0-udeb"
        },
        {
            "binary_version": "10.34-7ubuntu0.1",
            "binary_name": "libpcre2-dev"
        },
        {
            "binary_version": "10.34-7ubuntu0.1",
            "binary_name": "libpcre2-posix2"
        },
        {
            "binary_version": "10.34-7ubuntu0.1",
            "binary_name": "libpcre2-posix2-dbgsym"
        },
        {
            "binary_version": "10.34-7ubuntu0.1",
            "binary_name": "pcre2-utils"
        },
        {
            "binary_version": "10.34-7ubuntu0.1",
            "binary_name": "pcre2-utils-dbgsym"
        }
    ]
}

Ubuntu:22.04:LTS / pcre2

Package

Name
pcre2
Purl
pkg:deb/ubuntu/pcre2?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
10.39-3ubuntu0.1

Affected versions

10.*

10.37-0ubuntu2
10.39-3
10.39-3build1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "10.39-3ubuntu0.1",
            "binary_name": "libpcre2-16-0"
        },
        {
            "binary_version": "10.39-3ubuntu0.1",
            "binary_name": "libpcre2-16-0-dbgsym"
        },
        {
            "binary_version": "10.39-3ubuntu0.1",
            "binary_name": "libpcre2-32-0"
        },
        {
            "binary_version": "10.39-3ubuntu0.1",
            "binary_name": "libpcre2-32-0-dbgsym"
        },
        {
            "binary_version": "10.39-3ubuntu0.1",
            "binary_name": "libpcre2-8-0"
        },
        {
            "binary_version": "10.39-3ubuntu0.1",
            "binary_name": "libpcre2-8-0-dbgsym"
        },
        {
            "binary_version": "10.39-3ubuntu0.1",
            "binary_name": "libpcre2-dev"
        },
        {
            "binary_version": "10.39-3ubuntu0.1",
            "binary_name": "libpcre2-posix3"
        },
        {
            "binary_version": "10.39-3ubuntu0.1",
            "binary_name": "libpcre2-posix3-dbgsym"
        },
        {
            "binary_version": "10.39-3ubuntu0.1",
            "binary_name": "pcre2-utils"
        },
        {
            "binary_version": "10.39-3ubuntu0.1",
            "binary_name": "pcre2-utils-dbgsym"
        }
    ]
}