CVE-2022-48554

NameCVE-2022-48554
DescriptionFile before 5.43 has an stack-based buffer over-read in file_copystr in funcs.c. NOTE: "File" is the name of an Open Source project.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-5489-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
file (PTS)jessie, jessie (lts)1:5.22+15-2+deb8u7fixed
stretch (security), stretch (lts), stretch1:5.30-1+deb9u3fixed
buster1:5.35-4+deb10u2fixed
buster (security), buster (lts)1:5.35-4+deb10u1fixed
bullseye (security), bullseye1:5.39-3+deb11u1fixed
bookworm1:5.44-3fixed
sid, trixie1:5.45-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
filesourcejessie(not affected)
filesourcestretch(not affected)
filesourcebuster(not affected)
filesourcebullseye1:5.39-3+deb11u1DSA-5489-1
filesource(unstable)1:5.44-1

Notes

[buster] - file <not-affected> (vulnerable code introduced later)
https://bugs.astron.com/view.php?id=310
Fixed by: https://github.com/file/file/commit/497aabb29cd08d2a5aeb63e45798d65fcbe03502 (FILE5_42)
[stretch] - file <not-affected> (The vulnerable code was introduced later)
[jessie] - file <not-affected> (The vulnerable code was introduced later)

Search for package or bug name: Reporting problems