Find, fix and prevent vulnerabilities in your code.
critical severity
- Vulnerable module: webp-converter
- Introduced through: webp-converter@2.3.3
Detailed paths
-
Introduced through: typescript-project@webbestmaster/typescript-project#a8c25429d648c36019f853f838d975a8508b637a › webp-converter@2.3.3
Overview
Affected versions of this package are vulnerable to Heap-based Buffer Overflow when the ReadHuffmanCodes() function is used. An attacker can craft a special WebP lossless file that triggers the ReadHuffmanCodes() function to allocate the HuffmanCode buffer with a size that comes from an array of precomputed sizes: kTableSize. The color_cache_bits value defines which size to use. The kTableSize array only takes into account sizes for 8-bit first-level table lookups but not second-level table lookups. libwebp allows codes that are up to 15-bit (MAX_ALLOWED_CODE_LENGTH). When BuildHuffmanTable() attempts to fill the second-level tables it may write data out-of-bounds. The OOB write to the undersized array happens in ReplicateValue.
Notes:
This is only exploitable if the color_cache_bits value defines which size to use.
This vulnerability was also published on libwebp CVE-2023-5129
Changelog:
2023-09-12: Initial advisory publication
2023-09-27: Advisory details updated, including CVSS, references
2023-09-27: CVE-2023-5129 rejected as a duplicate of CVE-2023-4863
2023-09-28: Research and addition of additional affected libraries
2024-01-28: Additional fix information
Remediation
There is no fixed version for webp-converter.
References
high severity
- Module: @ffprobe-installer/darwin-x64
- Introduced through: get-audio-duration@4.0.1
Detailed paths
-
Introduced through: typescript-project@webbestmaster/typescript-project#a8c25429d648c36019f853f838d975a8508b637a › get-audio-duration@4.0.1 › @ffprobe-installer/ffprobe@2.1.2 › @ffprobe-installer/darwin-x64@5.1.0
GPL-3.0 license
high severity
- Module: @ffprobe-installer/linux-arm
- Introduced through: get-audio-duration@4.0.1
Detailed paths
-
Introduced through: typescript-project@webbestmaster/typescript-project#a8c25429d648c36019f853f838d975a8508b637a › get-audio-duration@4.0.1 › @ffprobe-installer/ffprobe@2.1.2 › @ffprobe-installer/linux-arm@5.2.0
GPL-3.0 license
high severity
- Module: @ffprobe-installer/linux-arm64
- Introduced through: get-audio-duration@4.0.1
Detailed paths
-
Introduced through: typescript-project@webbestmaster/typescript-project#a8c25429d648c36019f853f838d975a8508b637a › get-audio-duration@4.0.1 › @ffprobe-installer/ffprobe@2.1.2 › @ffprobe-installer/linux-arm64@5.2.0
GPL-3.0 license
high severity
- Module: @ffprobe-installer/linux-ia32
- Introduced through: get-audio-duration@4.0.1
Detailed paths
-
Introduced through: typescript-project@webbestmaster/typescript-project#a8c25429d648c36019f853f838d975a8508b637a › get-audio-duration@4.0.1 › @ffprobe-installer/ffprobe@2.1.2 › @ffprobe-installer/linux-ia32@5.2.0
GPL-3.0 license
high severity
- Module: @ffprobe-installer/linux-x64
- Introduced through: get-audio-duration@4.0.1
Detailed paths
-
Introduced through: typescript-project@webbestmaster/typescript-project#a8c25429d648c36019f853f838d975a8508b637a › get-audio-duration@4.0.1 › @ffprobe-installer/ffprobe@2.1.2 › @ffprobe-installer/linux-x64@5.2.0
GPL-3.0 license
high severity
- Module: @ffprobe-installer/win32-ia32
- Introduced through: get-audio-duration@4.0.1
Detailed paths
-
Introduced through: typescript-project@webbestmaster/typescript-project#a8c25429d648c36019f853f838d975a8508b637a › get-audio-duration@4.0.1 › @ffprobe-installer/ffprobe@2.1.2 › @ffprobe-installer/win32-ia32@5.1.0
GPL-3.0 license
high severity
- Module: @ffprobe-installer/win32-x64
- Introduced through: get-audio-duration@4.0.1
Detailed paths
-
Introduced through: typescript-project@webbestmaster/typescript-project#a8c25429d648c36019f853f838d975a8508b637a › get-audio-duration@4.0.1 › @ffprobe-installer/ffprobe@2.1.2 › @ffprobe-installer/win32-x64@5.1.0
GPL-3.0 license
medium severity
- Module: @ffprobe-installer/darwin-arm64
- Introduced through: get-audio-duration@4.0.1
Detailed paths
-
Introduced through: typescript-project@webbestmaster/typescript-project#a8c25429d648c36019f853f838d975a8508b637a › get-audio-duration@4.0.1 › @ffprobe-installer/ffprobe@2.1.2 › @ffprobe-installer/darwin-arm64@5.0.1
LGPL-2.1 license
medium severity
- Module: @ffprobe-installer/ffprobe
- Introduced through: get-audio-duration@4.0.1
Detailed paths
-
Introduced through: typescript-project@webbestmaster/typescript-project#a8c25429d648c36019f853f838d975a8508b637a › get-audio-duration@4.0.1 › @ffprobe-installer/ffprobe@2.1.2
LGPL-2.1 license