Security
Headlines
HeadlinesLatestCVEs

Headline

CVE-2021-32142: check for input buffer size on datastream::gets · LibRaw/LibRaw@bc3aaf4

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
#vulnerability#linux#buffer_overflow

@@ -287,6 +287,7 @@ INT64 LibRaw_file_datastream::tell()

char *LibRaw_file_datastream::gets(char *str, int sz)

{

if(sz<1) return NULL;

LR_STREAM_CHK();

std::istream is(f.get());

is.getline(str, sz);

@@ -421,6 +422,7 @@ INT64 LibRaw_buffer_datastream::tell()

char *LibRaw_buffer_datastream::gets(char *s, int sz)

{

if(sz<1) return NULL;

unsigned char *psrc, *pdest, *str;

str = (unsigned char *)s;

psrc = buf + streampos;

@@ -618,6 +620,7 @@ INT64 LibRaw_bigfile_datastream::tell()

char *LibRaw_bigfile_datastream::gets(char *str, int sz)

{

if(sz<1) return NULL;

LR_BF_CHK();

return fgets(str, sz, f);

}

Related news

Red Hat Security Advisory 2024-0343-03

Red Hat Security Advisory 2024-0343-03 - An update for LibRaw is now available for Red Hat Enterprise Linux 7. Issues addressed include a buffer overflow vulnerability.

Ubuntu Security Notice USN-6137-1

Ubuntu Security Notice 6137-1 - It was discovered that LibRaw incorrectly handled photo files. If a user or automated system were tricked into processing a specially crafted photo file, a remote attacker could cause applications linked against LibRaw to crash, resulting in a denial of service, or possibly execute arbitrary code.

Debian Security Advisory 5412-1

Debian Linux Security Advisory 5412-1 - Several vulnerabilities were discovered in libraw, a library for reading RAW files obtained from digital photo cameras, which may result in denial of service or the execution of arbitrary code if specially crafted files are processed.

CVE: Latest News

CVE-2023-50976: Transactions API Authorization by oleiman · Pull Request #14969 · redpanda-data/redpanda
CVE-2023-6905
CVE-2023-6903
CVE-2023-6904
CVE-2023-3907