JLSEC-2025-184

Source
https://github.com/JuliaLang/SecurityAdvisories.jl/blob/main/advisories/published/2025/JLSEC-2025-184.md
Import Source
https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2025/JLSEC-2025-184.json
JSON Data
https://api.osv.dev/v1/vulns/JLSEC-2025-184
Upstream
Published
2025-10-21T19:17:09.363Z
Modified
2025-11-06T23:03:15.118170Z
Summary
libgit2 is a cross-platform, linkable library implementation of Git
Details

libgit2 is a cross-platform, linkable library implementation of Git. When using an SSH remote with the optional libssh2 backend, libgit2 does not perform certificate checking by default. Prior versions of libgit2 require the caller to set the certificate_check field of libgit2's git_remote_callbacks structure - if a certificate check callback is not set, libgit2 does not perform any certificate checking. This means that by default - without configuring a certificate check callback, clients will not perform validation on the server SSH keys and may be subject to a man-in-the-middle attack. Users are encouraged to upgrade to v1.4.5 or v1.5.1. Users unable to upgrade should ensure that all relevant certificates are manually checked.

Database specific
{
    "license": "CC-BY-4.0",
    "sources": [
        {
            "url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2023-22742",
            "published": "2023-01-20T23:15:10.307Z",
            "modified": "2024-11-21T07:45:20.250Z",
            "html_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-22742",
            "imported": "2025-10-21T17:12:53.560Z",
            "id": "CVE-2023-22742"
        }
    ]
}
References

Affected packages

Julia / LibGit2_jll

Package

Name
LibGit2_jll
Purl
pkg:julia/LibGit2_jll?uuid=e37daf67-58a4-590a-8e99-b0245dd2ffc5

Affected ranges

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