| 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, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-3433-1, DSA-5412-1 |
| Debian Bugs | 1031790 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| libraw (PTS) | bullseye | 0.20.2-1+deb11u1 | fixed |
| bullseye (security) | 0.20.2-1+deb11u2 | fixed | |
| bookworm | 0.20.2-2.1+deb12u1 | fixed | |
| forky, sid, trixie | 0.21.4-2 | 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 | 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)