CVE-2019-3465: Robrichards/xmlseclibs Signature Validation Bypass Vulnerability
HIGHCVE-2019-3465 is a HIGH (CVSS 8.8) signature validation bypass vulnerability (CWE-347: Improper Verification of Cryptographic Signature) affecting Robrichards/xmlseclibs libraries in the Packagist ecosystem. The issue involves signature validation bypass in xmlseclibs. Remediation is available by upgrading affected packages to version 3.0.4, 2.1.1.
CVE-2019-3465 at a Glance
Security Impact
CVSS: 8.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2019-3465
To remediate this vulnerability, upgrade all affected Robrichards/xmlseclibs dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade robrichards/xmlseclibs to 3.0.4
Upgrade robrichards/xmlseclibs to 2.1.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for robrichards/xmlseclibs
How to Check if You Are Affected
To determine whether your application is affected by CVE-2019-3465, inspect your project dependencies for Robrichards/xmlseclibs:
inspect dependencies for robrichards/xmlseclibs
Analyze the terminal output to locate any version of Robrichards/xmlseclibs in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.0.4), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-347: Improper Verification of Cryptographic Signature, where the product does not verify, or incorrectly verifies, the cryptographic signature for data. In Robrichards/xmlseclibs, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2019-3465 Affected Robrichards/xmlseclibs Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
robrichards/xmlseclibs
|
Packagist |
≥ 3.0.0
< 3.0.4
|
3.0.4
|
|
robrichards/xmlseclibs
|
Packagist |
≥ 1.0.0
< 2.1.1
|
2.1.1
|
References
Frequently Asked Questions
What is CVE-2019-3465?
Which Robrichards/xmlseclibs versions are affected?
What version fixes CVE-2019-3465?
Is robrichards/xmlseclibs affected?
What is the CVSS score of CVE-2019-3465?
What CWE is associated with CVE-2019-3465?
How can I check Packagist dependencies for CVE-2019-3465?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-pqm6-cgwr-x6pf",
"modified" : "2021-08-18T22:14:37Z",
"published" : "2019-11-08T20:06:46Z",
"aliases" : [ "CVE-2019-3465" ],
"summary" : "Signature validation bypass in XmlSecLibs",
"details" : "Rob Richards XmlSecLibs, all versions prior to v3.0.3, as used for example by SimpleSAMLphp, performed incorrect validation of cryptographic signatures in XML messages, allowing an authenticated attacker to impersonate others or elevate privileges by creating a crafted XML message.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "robrichards/xmlseclibs"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0"
}, {
"fixed" : "3.0.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "robrichards/xmlseclibs"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0.0"
}, {
"fixed" : "2.1.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-3465"
}, {
"type" : "WEB",
"url" : "https://github.com/robrichards/xmlseclibs/commit/0a53d3c3aa87564910cae4ed01416441d3ae0db5"
}, {
"type" : "WEB",
"url" : "https://www.tenable.com/security/tns-2019-09"
}, {
"type" : "WEB",
"url" : "https://www.debian.org/security/2019/dsa-4560"
}, {
"type" : "WEB",
"url" : "https://simplesamlphp.org/security/201911-01"
}, {
"type" : "WEB",
"url" : "https://seclists.org/bugtraq/2019/Nov/8"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XBSSRV5Q7JFCYO46A3EN624UZ4KXFQ2M"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OCSR3V6LNWJAD37VQB6M2K7P4RQSCVFG"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MAWOVYLZKYDCQBLQEJCFAAD3KQTBPHXE"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HBE2SJSXG7J4XYLJ2H6HC2VPPOG2OMUN"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ESKJTWLE7QZBQ3EKMYXKMBQG3JDEJWM6"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BNFMY5RRLU63P25HEBVDO5KAVI7TX7JV"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BBKVDUZ7G5ZOUO4BFJWLNJ6VOKBQJX5U"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AB34ILMJ67CUROBOR6YPKB46VHXLOAJ4"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7KID7C4AZPYYIZQIPSLANP4R2RQR6YK3"
}, {
"type" : "WEB",
"url" : "https://lists.debian.org/debian-lts-announce/2019/11/msg00003.html"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/robrichards/xmlseclibs/CVE-2019-3465.yaml"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-347" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2019-11-08T17:45:46Z",
"nvd_published_at" : null
}
}