CVE-2023-49087

Source
https://cve.org/CVERecord?id=CVE-2023-49087
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-49087.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-49087
Aliases
Published
2023-11-30T05:20:28.298Z
Modified
2026-07-08T07:25:01.845672284Z
Severity
  • 6.8 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N CVSS Calculator
Summary
Validation of SignedInfo
Details

xml-security is a library that implements XML signatures and encryption. Validation of an XML signature requires verification that the hash value of the related XML-document matches a specific DigestValue-value, but also that the cryptographic signature on the SignedInfo-tree (the one that contains the DigestValue) verifies and matches a trusted public key. If an attacker somehow (i.e. by exploiting a bug in PHP's canonicalization function) manages to manipulate the canonicalized version's DigestValue, it would be possible to forge the signature. This issue has been patched in version 1.6.12 and 5.0.0-alpha.13.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/49xxx/CVE-2023-49087.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-345"
    ],
    "unresolved_ranges": [
        {
            "source": "AFFECTED_FIELD",
            "extracted_events": [
                {
                    "introduced": "= 5.0.0-alpha.12"
                },
                {
                    "last_affected": "= 5.0.0-alpha.12"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/simplesamlphp/xml-security

Affected ranges

Type
GIT
Repo
https://github.com/simplesamlphp/xml-security
Events
Database specific
{
    "cpe": "cpe:2.3:a:simplesamlphp:xml-security:1.6.11:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "1.6.11"
        },
        {
            "last_affected": "1.6.11"
        }
    ],
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

1.*
1.6.11
= 1.*
= 1.6.11
v1.*
v1.6.11

Database specific

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