CVE-2017-12982

Source
https://nvd.nist.gov/vuln/detail/CVE-2017-12982
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-12982.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2017-12982
Related
Published
2017-08-21T07:29:00Z
Modified
2024-08-01T07:50:42.927945Z
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

The bmpreadinfoheader function in bin/jp2/convertbmp.c in OpenJPEG 2.2.0 does not reject headers with a zero biBitCount, which allows remote attackers to cause a denial of service (memory allocation failure) in the opjimagecreate function in lib/openjp2/image.c, related to the opjalignedallocn function in opj_malloc.c.

References

Affected packages

Alpine:v3.10 / 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.2.0-r1

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

Alpine:v3.11 / 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.2.0-r1

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

Alpine:v3.12 / 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.2.0-r1

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

Alpine:v3.13 / 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.2.0-r1

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

Alpine:v3.14 / 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.2.0-r1

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

Alpine:v3.15 / 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.2.0-r1

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

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.2.0-r1

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

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.2.0-r1

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

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.2.0-r1

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

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.2.0-r1

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

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.2.0-r1

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

Alpine:v3.3 / 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.1.2-r2

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.2-r0
2.1.2-r1

Alpine:v3.4 / 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.1.2-r2

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.2-r0
2.1.2-r1

Alpine:v3.5 / 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.1.2-r2

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

Alpine:v3.6 / 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.1.2-r2

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

Alpine:v3.7 / 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.2.0-r1

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

Alpine:v3.8 / 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.2.0-r1

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

Alpine:v3.9 / 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.2.0-r1

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

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
Fixed
2.3.0-1

Ecosystem specific

{
    "urgency": "unimportant"
}

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.3.0-1

Ecosystem specific

{
    "urgency": "unimportant"
}

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.3.0-1

Ecosystem specific

{
    "urgency": "unimportant"
}

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
Fixed

Affected versions

v2.*

v2.2.0