CVE-2024-58392
PhysicsFS through 3.2.0 contains an out-of-bounds read …
PhysicsFS through 3.2.0 contains an out-of-bounds read vulnerability in __PHYSFS_utf8codepoint() that allows attackers to read past name buffers via an off-by-one cursor advance on six-octet UTF-8 sequences. Attackers can supply a crafted archive with entry names ending in six-octet sequences, causing PHYSFS_utf8stricmp() and hashing to over-read and crash the application.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/icculus/physfs/blob/release-3.2.0/src/physfs_unicode.c#L165-L187
- github.com/icculus/physfs/commit/8a90802778f14dea9c086fb5436839181a3222d5
- github.com/icculus/physfs/issues/79
- hackmd.io/@haind-pwn/physfs-utf8-decoder-overread
- www.vulncheck.com/advisories/physicsfs-through-3.2.0-out-of-bounds-read-via-physfs-utf8cod
- nvd.nist.gov/vuln/detail/CVE-2024-58392
- cve.org/CVERecord?id=CVE-2024-58392
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.