CVE-2022-1586

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-1586
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-1586.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-1586
Related
Published
2022-05-16T21:15:07Z
Modified
2024-12-05T15:33:16.562721Z
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

Alpine:v3.13 / pcre2

Package

Name
pcre2
Purl
pkg:apk/alpine/pcre2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
10.36-r1

Affected versions

10.*

10.21-r0
10.22-r0
10.23-r0
10.23-r1
10.30-r0
10.31-r0
10.32-r0
10.32-r1
10.32-r2
10.33-r0
10.34-r0
10.34-r1
10.35-r0
10.35-r1
10.36-r0

Alpine:v3.14 / pcre2

Package

Name
pcre2
Purl
pkg:apk/alpine/pcre2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
10.36-r1

Affected versions

10.*

10.21-r0
10.22-r0
10.23-r0
10.23-r1
10.30-r0
10.31-r0
10.32-r0
10.32-r1
10.32-r2
10.33-r0
10.34-r0
10.34-r1
10.35-r0
10.35-r1
10.36-r0

Alpine:v3.15 / pcre2

Package

Name
pcre2
Purl
pkg:apk/alpine/pcre2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
10.40-r0

Affected versions

10.*

10.21-r0
10.22-r0
10.23-r0
10.23-r1
10.30-r0
10.31-r0
10.32-r0
10.32-r1
10.32-r2
10.33-r0
10.34-r0
10.34-r1
10.35-r0
10.35-r1
10.36-r0
10.37-r0
10.38-r0
10.38-r1
10.39-r0

Alpine:v3.16 / pcre2

Package

Name
pcre2
Purl
pkg:apk/alpine/pcre2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
10.40-r0

Affected versions

10.*

10.21-r0
10.22-r0
10.23-r0
10.23-r1
10.30-r0
10.31-r0
10.32-r0
10.32-r1
10.32-r2
10.33-r0
10.34-r0
10.34-r1
10.35-r0
10.35-r1
10.36-r0
10.37-r0
10.38-r0
10.38-r1
10.39-r0

Alpine:v3.17 / pcre2

Package

Name
pcre2
Purl
pkg:apk/alpine/pcre2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
10.40-r0

Affected versions

10.*

10.21-r0
10.22-r0
10.23-r0
10.23-r1
10.30-r0
10.31-r0
10.32-r0
10.32-r1
10.32-r2
10.33-r0
10.34-r0
10.34-r1
10.35-r0
10.35-r1
10.36-r0
10.37-r0
10.38-r0
10.38-r1
10.39-r0

Alpine:v3.18 / pcre2

Package

Name
pcre2
Purl
pkg:apk/alpine/pcre2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
10.40-r0

Affected versions

10.*

10.21-r0
10.22-r0
10.23-r0
10.23-r1
10.30-r0
10.31-r0
10.32-r0
10.32-r1
10.32-r2
10.33-r0
10.34-r0
10.34-r1
10.35-r0
10.35-r1
10.36-r0
10.37-r0
10.38-r0
10.38-r1
10.39-r0

Alpine:v3.19 / pcre2

Package

Name
pcre2
Purl
pkg:apk/alpine/pcre2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
10.40-r0

Affected versions

10.*

10.21-r0
10.22-r0
10.23-r0
10.23-r1
10.30-r0
10.31-r0
10.32-r0
10.32-r1
10.32-r2
10.33-r0
10.34-r0
10.34-r1
10.35-r0
10.35-r1
10.36-r0
10.37-r0
10.38-r0
10.38-r1
10.39-r0

Alpine:v3.20 / pcre2

Package

Name
pcre2
Purl
pkg:apk/alpine/pcre2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
10.40-r0

Affected versions

10.*

10.21-r0
10.22-r0
10.23-r0
10.23-r1
10.30-r0
10.31-r0
10.32-r0
10.32-r1
10.32-r2
10.33-r0
10.34-r0
10.34-r1
10.35-r0
10.35-r1
10.36-r0
10.37-r0
10.38-r0
10.38-r1
10.39-r0

Alpine:v3.21 / pcre2

Package

Name
pcre2
Purl
pkg:apk/alpine/pcre2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
10.40-r0

Affected versions

10.*

10.21-r0
10.22-r0
10.23-r0
10.23-r1
10.30-r0
10.31-r0
10.32-r0
10.32-r1
10.32-r2
10.33-r0
10.34-r0
10.34-r1
10.35-r0
10.35-r1
10.36-r0
10.37-r0
10.38-r0
10.38-r1
10.39-r0

Debian:11 / pcre2

Package

Name
pcre2
Purl
pkg:deb/debian/pcre2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
10.36-2+deb11u1

Affected versions

10.*

10.36-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / pcre2

Package

Name
pcre2
Purl
pkg:deb/debian/pcre2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
10.40-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / pcre2

Package

Name
pcre2
Purl
pkg:deb/debian/pcre2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
10.40-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/pcre2project/pcre2

Affected ranges

Type
GIT
Repo
https://github.com/pcre2project/pcre2
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

pcre2-10.*

pcre2-10.38
pcre2-10.38-RC1
pcre2-10.39