CVE-2018-5785

Source
https://nvd.nist.gov/vuln/detail/CVE-2018-5785
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-5785.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-5785
Related
Published
2018-01-19T08:29:00Z
Modified
2024-12-05T15:12:54.329043Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

In OpenJPEG 2.3.0, there is an integer overflow caused by an out-of-bounds left shift in the opjj2ksetup_encoder function (openjp2/j2k.c). Remote attackers could leverage this vulnerability to cause a denial of service via a crafted bmp file.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Alpine:v3.21 / 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.3.0-r3

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

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.3.0-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
2.1.2-r2
2.2.0-r0
2.3.0-r0
2.3.0-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.3.0-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
2.2.0-r0
2.2.0-r1
2.2.0-r2
2.2.0-r3
2.3.0-r0
2.3.0-r1

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.3.0-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
2.2.0-r0
2.2.0-r1
2.2.0-r2
2.2.0-r3
2.3.0-r0
2.3.0-r1

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

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

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-2

Ecosystem specific

{
    "urgency": "low"
}

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-2

Ecosystem specific

{
    "urgency": "low"
}

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-2

Ecosystem specific

{
    "urgency": "low"
}

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