CVE-2022-1122

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-1122
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-1122.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-1122
Related
Published
2022-03-29T18:15:07Z
Modified
2024-10-12T08:51:31.461553Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

A flaw was found in the opj2_decompress program in openjpeg2 2.4.0 in the way it handles an input directory with a large number of files. When it fails to allocate a buffer to store the filenames of the input directory, it calls free() on an uninitialized pointer, leading to a segmentation fault and a denial of service.

References

Affected packages

Alpine:v3.16 / openjpeg

Package

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

Affected ranges

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

Affected versions

1.*

1.3-r0
1.3-r1
1.5.0-r1
1.5.0-r2
1.5.1-r0
1.5.1-r1

2.*

2.1.0-r0
2.1.0-r1
2.1.1-r0
2.1.1-r1
2.1.2-r0
2.1.2-r1
2.2.0-r0
2.2.0-r1
2.2.0-r2
2.2.0-r3
2.3.0-r0
2.3.0-r1
2.3.0-r2
2.3.0-r3
2.3.1-r0
2.3.1-r1
2.3.1-r2
2.3.1-r3
2.3.1-r4
2.3.1-r5
2.3.1-r6
2.4.0-r0
2.4.0-r1
2.4.0-r2
2.4.0-r3
2.4.0-r4

Alpine:v3.17 / openjpeg

Package

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

Affected ranges

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

Affected versions

1.*

1.3-r0
1.3-r1
1.5.0-r1
1.5.0-r2
1.5.1-r0
1.5.1-r1

2.*

2.1.0-r0
2.1.0-r1
2.1.1-r0
2.1.1-r1
2.1.2-r0
2.1.2-r1
2.2.0-r0
2.2.0-r1
2.2.0-r2
2.2.0-r3
2.3.0-r0
2.3.0-r1
2.3.0-r2
2.3.0-r3
2.3.1-r0
2.3.1-r1
2.3.1-r2
2.3.1-r3
2.3.1-r4
2.3.1-r5
2.3.1-r6
2.4.0-r0
2.4.0-r1
2.4.0-r2
2.4.0-r3
2.4.0-r4

Alpine:v3.18 / openjpeg

Package

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

Affected ranges

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

Affected versions

1.*

1.3-r0
1.3-r1
1.5.0-r1
1.5.0-r2
1.5.1-r0
1.5.1-r1

2.*

2.1.0-r0
2.1.0-r1
2.1.1-r0
2.1.1-r1
2.1.2-r0
2.1.2-r1
2.2.0-r0
2.2.0-r1
2.2.0-r2
2.2.0-r3
2.3.0-r0
2.3.0-r1
2.3.0-r2
2.3.0-r3
2.3.1-r0
2.3.1-r1
2.3.1-r2
2.3.1-r3
2.3.1-r4
2.3.1-r5
2.3.1-r6
2.4.0-r0
2.4.0-r1
2.4.0-r2
2.4.0-r3
2.4.0-r4

Alpine:v3.19 / openjpeg

Package

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

Affected ranges

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

Affected versions

1.*

1.3-r0
1.3-r1
1.5.0-r1
1.5.0-r2
1.5.1-r0
1.5.1-r1

2.*

2.1.0-r0
2.1.0-r1
2.1.1-r0
2.1.1-r1
2.1.2-r0
2.1.2-r1
2.2.0-r0
2.2.0-r1
2.2.0-r2
2.2.0-r3
2.3.0-r0
2.3.0-r1
2.3.0-r2
2.3.0-r3
2.3.1-r0
2.3.1-r1
2.3.1-r2
2.3.1-r3
2.3.1-r4
2.3.1-r5
2.3.1-r6
2.4.0-r0
2.4.0-r1
2.4.0-r2
2.4.0-r3
2.4.0-r4

Alpine:v3.20 / openjpeg

Package

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

Affected ranges

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

Affected versions

1.*

1.3-r0
1.3-r1
1.5.0-r1
1.5.0-r2
1.5.1-r0
1.5.1-r1

2.*

2.1.0-r0
2.1.0-r1
2.1.1-r0
2.1.1-r1
2.1.2-r0
2.1.2-r1
2.2.0-r0
2.2.0-r1
2.2.0-r2
2.2.0-r3
2.3.0-r0
2.3.0-r1
2.3.0-r2
2.3.0-r3
2.3.1-r0
2.3.1-r1
2.3.1-r2
2.3.1-r3
2.3.1-r4
2.3.1-r5
2.3.1-r6
2.4.0-r0
2.4.0-r1
2.4.0-r2
2.4.0-r3
2.4.0-r4

Debian:11 / openjpeg2

Package

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

Affected ranges

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

Affected versions

2.*

2.4.0-3
2.4.0-4
2.4.0-5
2.4.0-6
2.5.0-1
2.5.0-2~hurd.1
2.5.0-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / openjpeg2

Package

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

Affected ranges

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

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / openjpeg2

Package

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

Affected ranges

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

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/uclouvain/openjpeg

Affected ranges

Type
GIT
Repo
https://github.com/uclouvain/openjpeg
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected

Affected versions

v2.*

v2.2.0
v2.3.0
v2.3.1
v2.4.0