JLSEC-2025-238

Source
https://github.com/JuliaLang/SecurityAdvisories.jl/blob/main/advisories/published/2025/JLSEC-2025-238.md
Import Source
https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2025/JLSEC-2025-238.json
JSON Data
https://api.test.osv.dev/v1/vulns/JLSEC-2025-238
Upstream
Published
2025-11-25T22:03:17.636Z
Modified
2025-11-25T22:33:20.543402Z
Summary
Libarchive through 3.6.2 can cause directories to have world-writable permissions
Details

Libarchive through 3.6.2 can cause directories to have world-writable permissions. The umask() call inside archivewritedisk_posix.c changes the umask of the whole process for a very short period of time; a race condition with another thread can lead to a permanent umask 0 setting. Such a race condition could lead to implicit directory creation with permissions 0777 (without the sticky bit), which means that any low-privileged local user can delete and rename files inside those directories.

Database specific
{
    "sources": [
        {
            "modified": "2025-01-14T17:15:11.673Z",
            "imported": "2025-11-25T21:58:26.864Z",
            "url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2023-30571",
            "published": "2023-05-29T20:15:09.513Z",
            "html_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-30571",
            "id": "CVE-2023-30571"
        }
    ],
    "license": "CC-BY-4.0"
}
References

Affected packages

Julia / LibArchive_jll

Package

Name
LibArchive_jll
Purl
pkg:julia/LibArchive_jll?uuid=1e303b3e-d4db-56ce-88c4-91e52606a1a8

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.7.4+0