CVE-2023-1999

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-1999
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-1999.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-1999
Related
Published
2023-06-20T12:15:09Z
Modified
2024-10-12T10:30:29.647429Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

There exists a use after free/double free in libwebp. An attacker can use the ApplyFiltersAndEncode() function and loop through to free best.bw and assign best = trial pointer. The second loop will then return 0 because of an Out of memory error in VP8 encoder, the pointer is still assigned to trial and the AddressSanitizer will attempt a double free. 

References

Affected packages

Alpine:v3.15 / libwebp

Package

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

Affected ranges

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

Affected versions

0.*

0.1.2-r0
0.1.2-r1
0.1.3-r0
0.1.99-r0
0.2.0-r0
0.2.1-r0
0.3.0-r0
0.3.1-r0
0.3.1-r1
0.4.0-r1
0.4.1-r0
0.4.2-r0
0.4.3-r0
0.4.4-r0
0.5.0-r0
0.5.1-r0
0.5.2-r0
0.6.0-r0
0.6.0-r1
0.6.1-r0

1.*

1.0.0-r0
1.0.1-r0
1.0.2-r0
1.0.3-r0
1.1.0-r0
1.2.0-r0
1.2.0-r1
1.2.0-r2
1.2.1-r0
1.2.2-r0

Alpine:v3.16 / libwebp

Package

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

Affected ranges

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

Affected versions

0.*

0.1.2-r0
0.1.2-r1
0.1.3-r0
0.1.99-r0
0.2.0-r0
0.2.1-r0
0.3.0-r0
0.3.1-r0
0.3.1-r1
0.4.0-r1
0.4.1-r0
0.4.2-r0
0.4.3-r0
0.4.4-r0
0.5.0-r0
0.5.1-r0
0.5.2-r0
0.6.0-r0
0.6.0-r1
0.6.1-r0

1.*

1.0.0-r0
1.0.1-r0
1.0.2-r0
1.0.3-r0
1.1.0-r0
1.2.0-r0
1.2.0-r1
1.2.0-r2
1.2.1-r0
1.2.2-r0
1.2.3-r0

Alpine:v3.17 / libwebp

Package

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

Affected ranges

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

Affected versions

0.*

0.1.2-r0
0.1.2-r1
0.1.3-r0
0.1.99-r0
0.2.0-r0
0.2.1-r0
0.3.0-r0
0.3.1-r0
0.3.1-r1
0.4.0-r1
0.4.1-r0
0.4.2-r0
0.4.3-r0
0.4.4-r0
0.5.0-r0
0.5.1-r0
0.5.2-r0
0.6.0-r0
0.6.0-r1
0.6.1-r0

1.*

1.0.0-r0
1.0.1-r0
1.0.2-r0
1.0.3-r0
1.1.0-r0
1.2.0-r0
1.2.0-r1
1.2.0-r2
1.2.1-r0
1.2.2-r0
1.2.3-r0
1.2.4-r0
1.2.4-r1

Alpine:v3.18 / libwebp

Package

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

Affected ranges

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

Affected versions

0.*

0.1.2-r0
0.1.2-r1
0.1.3-r0
0.1.99-r0
0.2.0-r0
0.2.1-r0
0.3.0-r0
0.3.1-r0
0.3.1-r1
0.4.0-r1
0.4.1-r0
0.4.2-r0
0.4.3-r0
0.4.4-r0
0.5.0-r0
0.5.1-r0
0.5.2-r0
0.6.0-r0
0.6.0-r1
0.6.1-r0

1.*

1.0.0-r0
1.0.1-r0
1.0.2-r0
1.0.3-r0
1.1.0-r0
1.2.0-r0
1.2.0-r1
1.2.0-r2
1.2.1-r0
1.2.2-r0
1.2.3-r0
1.2.4-r0
1.2.4-r1
1.3.0-r0
1.3.0-r1

Alpine:v3.19 / libwebp

Package

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

Affected ranges

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

Affected versions

0.*

0.1.2-r0
0.1.2-r1
0.1.3-r0
0.1.99-r0
0.2.0-r0
0.2.1-r0
0.3.0-r0
0.3.1-r0
0.3.1-r1
0.4.0-r1
0.4.1-r0
0.4.2-r0
0.4.3-r0
0.4.4-r0
0.5.0-r0
0.5.1-r0
0.5.2-r0
0.6.0-r0
0.6.0-r1
0.6.1-r0

1.*

1.0.0-r0
1.0.1-r0
1.0.2-r0
1.0.3-r0
1.1.0-r0
1.2.0-r0
1.2.0-r1
1.2.0-r2
1.2.1-r0
1.2.2-r0
1.2.3-r0
1.2.4-r0
1.2.4-r1
1.3.0-r0
1.3.0-r1
1.3.0-r2

Alpine:v3.20 / libwebp

Package

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

Affected ranges

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

Affected versions

0.*

0.1.2-r0
0.1.2-r1
0.1.3-r0
0.1.99-r0
0.2.0-r0
0.2.1-r0
0.3.0-r0
0.3.1-r0
0.3.1-r1
0.4.0-r1
0.4.1-r0
0.4.2-r0
0.4.3-r0
0.4.4-r0
0.5.0-r0
0.5.1-r0
0.5.2-r0
0.6.0-r0
0.6.0-r1
0.6.1-r0

1.*

1.0.0-r0
1.0.1-r0
1.0.2-r0
1.0.3-r0
1.1.0-r0
1.2.0-r0
1.2.0-r1
1.2.0-r2
1.2.1-r0
1.2.2-r0
1.2.3-r0
1.2.4-r0
1.2.4-r1
1.3.0-r0
1.3.0-r1
1.3.0-r2

Debian:11 / firefox-esr

Package

Name
firefox-esr
Purl
pkg:deb/debian/firefox-esr?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
102.10.0esr-1~deb11u1

Affected versions

78.*

78.12.0esr-1
78.13.0esr-1~deb9u1
78.13.0esr-1~deb10u1
78.13.0esr-1~deb11u1
78.13.0esr-1
78.14.0esr-1~deb9u1
78.14.0esr-1~deb10u1
78.14.0esr-1~deb11u1
78.14.0esr-1
78.15.0esr-1~deb9u1
78.15.0esr-1~deb10u1
78.15.0esr-1~deb11u1

91.*

91.0esr-1
91.0.1esr-1
91.1.0esr-1
91.2.0esr-1
91.3.0esr-1
91.3.0esr-2
91.4.0esr-1
91.4.1esr-1~deb9u1
91.4.1esr-1~deb11u1
91.5.0esr-1~deb9u1
91.5.0esr-1~deb10u1
91.5.0esr-1~deb11u1
91.5.0esr-1
91.5.1esr-1
91.6.0esr-1~deb9u1
91.6.0esr-1~deb10u1
91.6.0esr-1~deb11u1
91.6.0esr-1
91.6.1esr-1~deb9u1
91.6.1esr-1~deb10u1
91.6.1esr-1~deb11u1
91.6.1esr-1
91.7.0esr-1~deb9u1
91.7.0esr-1~deb10u1
91.7.0esr-1~deb11u1
91.7.0esr-1
91.8.0esr-1~deb9u1
91.8.0esr-1~deb10u1
91.8.0esr-1~deb11u1
91.8.0esr-1
91.9.0esr-1~deb9u1
91.9.0esr-1~deb10u1
91.9.0esr-1~deb11u1
91.9.0esr-1
91.9.1esr-1~deb9u1
91.9.1esr-1~deb10u1
91.9.1esr-1~deb11u1
91.9.1esr-1
91.10.0esr-1~deb9u1
91.10.0esr-1~deb10u1
91.10.0esr-1~deb11u1
91.10.0esr-1
91.11.0esr-1~deb9u1
91.11.0esr-1~deb10u1
91.11.0esr-1~deb11u1
91.11.0esr-1
91.12.0esr-1~deb10u1
91.12.0esr-1~deb11u1
91.12.0esr-1
91.13.0esr-1~deb10u1
91.13.0esr-1~deb11u1

102.*

102.1.0esr-1
102.1.0esr-2
102.2.0esr-1
102.3.0esr-1~deb10u1
102.3.0esr-1~deb10u2
102.3.0esr-1~deb11u1
102.3.0esr-1
102.4.0esr-1~deb10u1
102.4.0esr-1~deb11u1
102.4.0esr-1
102.5.0esr-1~deb10u1
102.5.0esr-1~deb11u1
102.5.0esr-1
102.6.0esr-1~deb10u1
102.6.0esr-1~deb11u1
102.6.0esr-1
102.7.0esr-1~deb10u1
102.7.0esr-1~deb11u1
102.7.0esr-1
102.8.0esr-1~deb10u1
102.8.0esr-1~deb11u1
102.8.0esr-1
102.9.0esr-1~deb10u1
102.9.0esr-1~deb11u1
102.9.0esr-1
102.9.0esr-2
102.10.0esr-1~deb10u1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / firefox-esr

Package

Name
firefox-esr
Purl
pkg:deb/debian/firefox-esr?arch=source

Affected ranges

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

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / firefox-esr

Package

Name
firefox-esr
Purl
pkg:deb/debian/firefox-esr?arch=source

Affected ranges

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

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:11 / libwebp

Package

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

Affected ranges

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

Affected versions

0.*

0.6.1-2.1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / libwebp

Package

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

Affected ranges

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

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / libwebp

Package

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

Affected ranges

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

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:11 / thunderbird

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:102.10.0-1~deb11u1

Affected versions

1:78.*

1:78.12.0-1
1:78.13.0-1~deb9u1
1:78.13.0-1~deb10u1
1:78.13.0-1~deb11u1
1:78.13.0-1
1:78.14.0-1~deb9u1
1:78.14.0-1~deb10u1
1:78.14.0-1~deb11u1
1:78.14.0-1

1:84.*

1:84.0~b3-1

1:85.*

1:85.0~b3-1

1:86.*

1:86.0~b3-1

1:88.*

1:88.0~b2-1

1:89.*

1:89.0~b2-1

1:90.*

1:90.0~b2-1

1:91.*

1:91.0~b1-1
1:91.0~b3-1
1:91.0~b5-1
1:91.0-1
1:91.0.2-1
1:91.1.0-1
1:91.1.1-1
1:91.2.0-1
1:91.2.1-1
1:91.3.0-1
1:91.3.2-1
1:91.4.0-1
1:91.4.1-1~deb9u1
1:91.4.1-1~deb10u1
1:91.4.1-1~deb11u1
1:91.4.1-1
1:91.5.0-1~deb9u1
1:91.5.0-1
1:91.5.0-2~deb10u1
1:91.5.0-2~deb11u1
1:91.5.0-2
1:91.5.1-1
1:91.6.0-1~deb9u1
1:91.6.0-1~deb10u1
1:91.6.0-1~deb11u1
1:91.6.0-1
1:91.6.1-1~deb9u1
1:91.6.1-1~deb10u1
1:91.6.1-1~deb11u1
1:91.6.1-1
1:91.6.2-1~deb9u1
1:91.6.2-1~deb10u1
1:91.6.2-1~deb11u1
1:91.6.2-1
1:91.7.0-1
1:91.7.0-2~deb9u1
1:91.7.0-2~deb10u1
1:91.7.0-2~deb11u1
1:91.7.0-2
1:91.8.0-1~deb9u1
1:91.8.0-1~deb10u1
1:91.8.0-1~deb11u1
1:91.8.0-1
1:91.8.1-1
1:91.9.0-1~deb9u1
1:91.9.0-1~deb10u1
1:91.9.0-1~deb11u1
1:91.9.0-1
1:91.10.0-1~deb9u1
1:91.10.0-1~deb10u1
1:91.10.0-1~deb11u1
1:91.10.0-1
1:91.11.0-1~deb10u1
1:91.11.0-1~deb11u1
1:91.11.0-1
1:91.12.0-1~deb10u1
1:91.12.0-1~deb11u1
1:91.13.0-1~deb10u1
1:91.13.0-1~deb11u1

1:102.*

1:102.0~b4-1
1:102.0~b7-1
1:102.0.1-1
1:102.0.2-1
1:102.1.0-1
1:102.1.1-1
1:102.1.2-1
1:102.2.0-1
1:102.2.1-1
1:102.2.2-1
1:102.3.0-1~deb10u1
1:102.3.0-1~deb11u1
1:102.3.0-1
1:102.3.1-1
1:102.3.2-1
1:102.3.3-1
1:102.4.0-1~deb10u1
1:102.4.0-1~deb11u1
1:102.4.0-1
1:102.4.1-1
1:102.5.0-1~deb10u1
1:102.5.0-1~deb11u1
1:102.5.0-1
1:102.5.1-1
1:102.6.0-1~deb10u1
1:102.6.0-1~deb11u1
1:102.6.0-1
1:102.7.1-1
1:102.7.1+1-1
1:102.7.2-1
1:102.8.0-1~deb10u1
1:102.8.0-1~deb11u1
1:102.8.0-1
1:102.9.0-1~deb10u1
1:102.9.0-1~deb11u1
1:102.9.0-1
1:102.9.1-1
1:102.10.0-1~deb10u1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / thunderbird

Package

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

Affected ranges

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

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / thunderbird

Package

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

Affected ranges

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

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/webmproject/libwebp

Affected ranges

Type
GIT
Repo
https://github.com/webmproject/libwebp
Events