Name | CVE-2021-32142 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3433-1, DSA-5412-1, ELA-977-1 |
Debian Bugs | 1031790 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
libraw (PTS) | jessie, jessie (lts) | 0.16.0-9+deb8u6 | vulnerable |
stretch (security) | 0.17.2-6+deb9u2 | vulnerable | |
stretch (lts), stretch | 0.17.2-6+deb9u5 | fixed | |
buster (security), buster, buster (lts) | 0.19.2-2+deb10u4 | fixed | |
bullseye (security), bullseye | 0.20.2-1+deb11u1 | fixed | |
bookworm | 0.20.2-2.1 | fixed | |
trixie, sid | 0.21.3-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
libraw | source | experimental | 0.21.1-1 | |||
libraw | source | jessie | (unfixed) | end-of-life | ||
libraw | source | stretch | 0.17.2-6+deb9u5 | ELA-977-1 | ||
libraw | source | buster | 0.19.2-2+deb10u3 | DLA-3433-1 | ||
libraw | source | bullseye | 0.20.2-1+deb11u1 | DSA-5412-1 | ||
libraw | source | (unstable) | 0.20.2-2.1 | 1031790 |
https://github.com/LibRaw/LibRaw/issues/400
https://github.com/LibRaw/LibRaw/commit/bc3aaf4223fdb70d52d470dae65c5a7923ea2a49 (0.21-Beta1)