CVE-2023-23928

Source
https://cve.org/CVERecord?id=CVE-2023-23928
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-23928.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-23928
Aliases
  • GHSA-7jj9-6qwv-wpm7
Published
2023-02-01T00:59:38.475Z
Modified
2026-07-08T06:36:17.863080669Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N CVSS Calculator
Summary
reason-jose ignores signature checks
Details

reason-jose is a JOSE implementation in ReasonML and OCaml.Jose.Jws.validate does not check HS256 signatures. This allows tampering of JWS header and payload data if the service does not perform additional checks. Such tampering could expose applications using reason-jose to authorization bypass. Applications relying on JWS claims assertion to enforce security boundaries may be vulnerable to privilege escalation. This issue has been patched in version 0.8.2.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/23xxx/CVE-2023-23928.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-347"
    ]
}
References

Affected packages

Git / github.com/ulrikstrid/ocaml-jose

Affected ranges

Type
GIT
Repo
https://github.com/ulrikstrid/ocaml-jose
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
{
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ],
    "cpe": "cpe:2.3:a:reason-jose_project:reason-jose:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "0.8.2"
        }
    ]
}

Affected versions

v0.*
v0.1.0
v0.2.0
v0.3.1
v0.4.0
v0.5.0
v0.5.1
v0.7.0
v0.8.0
v0.8.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-23928.json"