CVE-2018-20330

Source
https://nvd.nist.gov/vuln/detail/CVE-2018-20330
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-20330.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-20330
Related
Published
2018-12-21T09:29:00Z
Modified
2024-12-05T15:10:43.133084Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

The tjLoadImage function in libjpeg-turbo 2.0.1 has an integer overflow with a resultant heap-based buffer overflow via a BMP image because multiplication of pitch and height is mishandled, as demonstrated by tjbench.

References

Affected packages

Alpine:v3.10 / libjpeg-turbo

Package

Name
libjpeg-turbo
Purl
pkg:apk/alpine/libjpeg-turbo?arch=source

Affected ranges

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

Affected versions

1.*

1.2.1-r0
1.2.1-r1
1.2.1-r2
1.2.1-r3
1.3.0-r0
1.3.0-r1
1.3.1-r0
1.4.0-r0
1.4.1-r0
1.4.2-r0
1.5.0-r0
1.5.1-r0
1.5.2-r0
1.5.3-r0
1.5.3-r1
1.5.3-r2
1.5.3-r3
1.5.3-r4

Alpine:v3.11 / libjpeg-turbo

Package

Name
libjpeg-turbo
Purl
pkg:apk/alpine/libjpeg-turbo?arch=source

Affected ranges

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

Affected versions

1.*

1.2.1-r0
1.2.1-r1
1.2.1-r2
1.2.1-r3
1.3.0-r0
1.3.0-r1
1.3.1-r0
1.4.0-r0
1.4.1-r0
1.4.2-r0
1.5.0-r0
1.5.1-r0
1.5.2-r0
1.5.3-r0
1.5.3-r1
1.5.3-r2
1.5.3-r3
1.5.3-r4

Alpine:v3.12 / libjpeg-turbo

Package

Name
libjpeg-turbo
Purl
pkg:apk/alpine/libjpeg-turbo?arch=source

Affected ranges

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

Affected versions

1.*

1.2.1-r0
1.2.1-r1
1.2.1-r2
1.2.1-r3
1.3.0-r0
1.3.0-r1
1.3.1-r0
1.4.0-r0
1.4.1-r0
1.4.2-r0
1.5.0-r0
1.5.1-r0
1.5.2-r0
1.5.3-r0
1.5.3-r1
1.5.3-r2
1.5.3-r3
1.5.3-r4

Alpine:v3.13 / libjpeg-turbo

Package

Name
libjpeg-turbo
Purl
pkg:apk/alpine/libjpeg-turbo?arch=source

Affected ranges

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

Affected versions

1.*

1.2.1-r0
1.2.1-r1
1.2.1-r2
1.2.1-r3
1.3.0-r0
1.3.0-r1
1.3.1-r0
1.4.0-r0
1.4.1-r0
1.4.2-r0
1.5.0-r0
1.5.1-r0
1.5.2-r0
1.5.3-r0
1.5.3-r1
1.5.3-r2
1.5.3-r3
1.5.3-r4

Alpine:v3.14 / libjpeg-turbo

Package

Name
libjpeg-turbo
Purl
pkg:apk/alpine/libjpeg-turbo?arch=source

Affected ranges

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

Affected versions

1.*

1.2.1-r0
1.2.1-r1
1.2.1-r2
1.2.1-r3
1.3.0-r0
1.3.0-r1
1.3.1-r0
1.4.0-r0
1.4.1-r0
1.4.2-r0
1.5.0-r0
1.5.1-r0
1.5.2-r0
1.5.3-r0
1.5.3-r1
1.5.3-r2
1.5.3-r3
1.5.3-r4

Alpine:v3.15 / libjpeg-turbo

Package

Name
libjpeg-turbo
Purl
pkg:apk/alpine/libjpeg-turbo?arch=source

Affected ranges

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

Affected versions

1.*

1.2.1-r0
1.2.1-r1
1.2.1-r2
1.2.1-r3
1.3.0-r0
1.3.0-r1
1.3.1-r0
1.4.0-r0
1.4.1-r0
1.4.2-r0
1.5.0-r0
1.5.1-r0
1.5.2-r0
1.5.3-r0
1.5.3-r1
1.5.3-r2
1.5.3-r3
1.5.3-r4

Alpine:v3.16 / libjpeg-turbo

Package

Name
libjpeg-turbo
Purl
pkg:apk/alpine/libjpeg-turbo?arch=source

Affected ranges

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

Affected versions

1.*

1.2.1-r0
1.2.1-r1
1.2.1-r2
1.2.1-r3
1.3.0-r0
1.3.0-r1
1.3.1-r0
1.4.0-r0
1.4.1-r0
1.4.2-r0
1.5.0-r0
1.5.1-r0
1.5.2-r0
1.5.3-r0
1.5.3-r1
1.5.3-r2
1.5.3-r3
1.5.3-r4

Alpine:v3.17 / libjpeg-turbo

Package

Name
libjpeg-turbo
Purl
pkg:apk/alpine/libjpeg-turbo?arch=source

Affected ranges

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

Affected versions

1.*

1.2.1-r0
1.2.1-r1
1.2.1-r2
1.2.1-r3
1.3.0-r0
1.3.0-r1
1.3.1-r0
1.4.0-r0
1.4.1-r0
1.4.2-r0
1.5.0-r0
1.5.1-r0
1.5.2-r0
1.5.3-r0
1.5.3-r1
1.5.3-r2
1.5.3-r3
1.5.3-r4

Alpine:v3.18 / libjpeg-turbo

Package

Name
libjpeg-turbo
Purl
pkg:apk/alpine/libjpeg-turbo?arch=source

Affected ranges

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

Affected versions

1.*

1.2.1-r0
1.2.1-r1
1.2.1-r2
1.2.1-r3
1.3.0-r0
1.3.0-r1
1.3.1-r0
1.4.0-r0
1.4.1-r0
1.4.2-r0
1.5.0-r0
1.5.1-r0
1.5.2-r0
1.5.3-r0
1.5.3-r1
1.5.3-r2
1.5.3-r3
1.5.3-r4

Alpine:v3.19 / libjpeg-turbo

Package

Name
libjpeg-turbo
Purl
pkg:apk/alpine/libjpeg-turbo?arch=source

Affected ranges

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

Affected versions

1.*

1.2.1-r0
1.2.1-r1
1.2.1-r2
1.2.1-r3
1.3.0-r0
1.3.0-r1
1.3.1-r0
1.4.0-r0
1.4.1-r0
1.4.2-r0
1.5.0-r0
1.5.1-r0
1.5.2-r0
1.5.3-r0
1.5.3-r1
1.5.3-r2
1.5.3-r3
1.5.3-r4

Alpine:v3.20 / libjpeg-turbo

Package

Name
libjpeg-turbo
Purl
pkg:apk/alpine/libjpeg-turbo?arch=source

Affected ranges

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

Affected versions

1.*

1.2.1-r0
1.2.1-r1
1.2.1-r2
1.2.1-r3
1.3.0-r0
1.3.0-r1
1.3.1-r0
1.4.0-r0
1.4.1-r0
1.4.2-r0
1.5.0-r0
1.5.1-r0
1.5.2-r0
1.5.3-r0
1.5.3-r1
1.5.3-r2
1.5.3-r3
1.5.3-r4

Alpine:v3.21 / libjpeg-turbo

Package

Name
libjpeg-turbo
Purl
pkg:apk/alpine/libjpeg-turbo?arch=source

Affected ranges

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

Affected versions

1.*

1.2.1-r0
1.2.1-r1
1.2.1-r2
1.2.1-r3
1.3.0-r0
1.3.0-r1
1.3.1-r0
1.4.0-r0
1.4.1-r0
1.4.2-r0
1.5.0-r0
1.5.1-r0
1.5.2-r0
1.5.3-r0
1.5.3-r1
1.5.3-r2
1.5.3-r3
1.5.3-r4

Git / github.com/libjpeg-turbo/libjpeg-turbo

Affected ranges

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

Affected versions

0.*

0.0.90
0.0.91
0.0.93

1.*

1.0.0
1.0.1
1.0.90
1.1.0
1.1.1
1.1.90
1.2.0
1.2.1
1.2.90
1.3.0
1.3.1
1.3.90
1.4.0
1.4.1
1.4.2
1.4.90
1.5.0
1.5.1
1.5.2
1.5.3
1.5.90

2.*

2.0.0
2.0.1

Other

jpeg-1
jpeg-2
jpeg-3
jpeg-4
jpeg-4a
jpeg-5
jpeg-5a
jpeg-5b
jpeg-6
jpeg-6a
jpeg-6b
jpeg-6bx
jpeg-7
jpeg-8
jpeg-8a
jpeg-8b
jpeg-8c
jpeg-8d
jpeg-9
jpeg-9a
jpeg-9b
jpeg-ari