Buffer Overflow vulnerability in LibRaw linux/unix v0.20.0 allows attacker to escalate privileges via the LibRawbufferdatastream::gets(char*, int) in /src/libraw/src/libraw_datastream.cpp.
[
{
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "LibRaw_file_datastream::gets",
"file": "src/libraw_datastream.cpp"
},
"digest": {
"function_hash": "81537286543682610447369285951027231239",
"length": 199.0
},
"source": "https://github.com/libraw/libraw/commit/bc3aaf4223fdb70d52d470dae65c5a7923ea2a49",
"signature_type": "Function",
"id": "CVE-2021-32142-31df3fd3"
},
{
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "LibRaw_buffer_datastream::gets",
"file": "src/libraw_datastream.cpp"
},
"digest": {
"function_hash": "286491763390684630258264132505426074568",
"length": 559.0
},
"source": "https://github.com/libraw/libraw/commit/bc3aaf4223fdb70d52d470dae65c5a7923ea2a49",
"signature_type": "Function",
"id": "CVE-2021-32142-85652960"
},
{
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "LibRaw_bigfile_datastream::gets",
"file": "src/libraw_datastream.cpp"
},
"digest": {
"function_hash": "125079287825345516398437667214404768579",
"length": 132.0
},
"source": "https://github.com/libraw/libraw/commit/bc3aaf4223fdb70d52d470dae65c5a7923ea2a49",
"signature_type": "Function",
"id": "CVE-2021-32142-d895dd03"
},
{
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "src/libraw_datastream.cpp"
},
"digest": {
"line_hashes": [
"86824672576354342994279395504079416009",
"208285136829749272023630488284903698110",
"246686468344042786203772885753692717520",
"156655833131235789381585821138325741479",
"299496342817353293845719362196388617536",
"97267469384921867083102630172811268428",
"114025178590675028232523899343171257429",
"153514794021984729152833380180636400734",
"277607046158668096422371046479095655182",
"236492368691662327124583659124535641868",
"245719843120764539298744244989077674417",
"284374123599808139061660728445240826041"
],
"threshold": 0.9
},
"source": "https://github.com/libraw/libraw/commit/bc3aaf4223fdb70d52d470dae65c5a7923ea2a49",
"signature_type": "Line",
"id": "CVE-2021-32142-e63d56e3"
}
]