Skip to content
OpenAdvisories
Medium ALAS2-2023-2256 5 CVEs

Moderate: LibRaw security update (Amazon Linux 2)

Published Sep 13, 2023 · Updated Sep 20, 2023

Summary

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2021-32142: Buffer Overflow vulnerability in LibRaw linux/unix v0.20.0 allows attacker to escalate privileges via the LibRaw_buffer_datastream::gets(char*, int) in /src/libraw/src/libraw_datastream.cpp. CVE-2020-35532: In LibRaw, an out-of-bounds read vulnerability exists within the "simple_decode_row()" function (libraw\src\x3f\x3f_utils_patched.cpp) which can be triggered via an image with a large row_stride field. CVE-2020-35531: In LibRaw, an out-of-bounds read vulnerability exists within the get_huffman_diff() function (libraw\src\x3f\x3f_utils_patched.cpp) when reading data from an image file. CVE-2020-35530: In LibRaw, there is an out-of-bounds write vulnerability within the "new_node()" function (libraw\src\x3f\x3f_utils_patched.cpp) that can be triggered via a crafted X3F file. CVE-2020-22628: Buffer Overflow vulnerability in LibRaw::stretch() function in libraw\src\postprocessing\aspect_ratio.cpp.

Fixed packages 4

ReleasePackageFixed in
Amazon Linux · 2 LibRaw 0:0.19.4-1.amzn2.0.2
Amazon Linux · 2 LibRaw-debuginfo 0:0.19.4-1.amzn2.0.2
Amazon Linux · 2 LibRaw-devel 0:0.19.4-1.amzn2.0.2
Amazon Linux · 2 LibRaw-static 0:0.19.4-1.amzn2.0.2

Vulnerabilities 5

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2020-22628.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2020-35530.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2020-35531.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2020-35532.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2021-32142.html