SB2022032803 - Multiple vulnerabilities in Libsndfile
Published: March 28, 2022 Updated: May 11, 2022
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 13 secuirty vulnerabilities.
1) Memory leak (CVE-ID: N/A)
The vulnerability allows a remote attacker to perform DoS attack on the target system.
The vulnerability exists due memory leak in caf_read_header(). A remote attacker can force the application to leak memory and perform denial of service attack.
2) Stack-based buffer overflow (CVE-ID: N/A)
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in guess_file_type(). A remote unauthenticated attacker can trigger stack-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
3) Infinite loop (CVE-ID: N/A)
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to infinite loop in svx_read_header(). A remote attacker can consume all available system resources and cause denial of service conditions.
4) Integer overflow (CVE-ID: N/A)
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to integer overflow in nms_adpcm_update(). A remote attacker can pass specially crafted data to the application, trigger integer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
5) Integer overflow (CVE-ID: N/A)
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to integer overflow in psf_log_printf(). A remote attacker can pass specially crafted data to the application, trigger integer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
6) Integer overflow (CVE-ID: N/A)
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to integer overflow with empty stacktrace. A remote attacker can pass specially crafted data to the application, trigger integer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
7) Heap-based buffer overflow (CVE-ID: N/A)
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in wavlike_ima_decode_block(). A remote attacker can pass specially crafted data to the application, trigger heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
8) Heap-based buffer overflow (CVE-ID: N/A)
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in psf_binheader_readf(). A remote attacker can pass specially crafted data to the application, trigger heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
9) Buffer overflow (CVE-ID: N/A)
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in psf_nms_adpcm_decode_block(). A remote attacker can trigger memory corruption and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
10) Heap-based buffer overflow (CVE-ID: N/A)
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in flac_buffer_copy(). A remote attacker can pass specially crafted data to the application, trigger heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
11) Heap-based buffer overflow (CVE-ID: N/A)
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in copyPredictorTo24(). A remote attacker can pass specially crafted data to the application, trigger heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
12) Use of Uninitialized Variable (CVE-ID: N/A)
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to use of uninitialized memory in psf_binheader_readf(). A remote attacker can perform a denial of service (DoS) attack.
13) Out-of-bounds read (CVE-ID: CVE-2021-4156)
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a boundary condition within the flac_read_loop() function in flac.c. A remote attacker can pass specially crafted data to the application, trigger an out-of-bounds read error and perform a denial of service (DoS) attack.
Remediation
Install update from vendor's website.
References
- https://github.com/libsndfile/libsndfile/releases/tag/1.1.0
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=30375
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=29339
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=25442
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=25522
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28441
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=25624
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=25530
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=26026
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=25561
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=27503
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=25364
- https://bugzilla.redhat.com/show_bug.cgi?id=2027690
- https://github.com/libsndfile/libsndfile/pull/732/commits/4c30646abf7834e406f7e2429c70bc254e18beab
- https://github.com/libsndfile/libsndfile/issues/731