CVE-2024-47832: Github.com/ssoready/ssoready SSOReady Has An XML Signature Vulnerability
CRITICALCVE-2024-47832 is a CRITICAL (CVSS 9.8) ssoready has an xml signature vulnerability (CWE-347: Improper Verification of Cryptographic Signature) affecting Github.com/ssoready/ssoready libraries in the Go ecosystem. The issue involves ssoready has an xml signature bypass via differential xml parsing. Remediation is available by upgrading affected packages to version 0.0.0-20241009153838-7f92a0630439.
CVE-2024-47832 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2024-47832
To remediate this vulnerability, upgrade all affected Github.com/ssoready/ssoready 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 github.com/ssoready/ssoready to 0.0.0-20241009153838-7f92a0630439
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/ssoready/ssoready
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-47832, inspect your project dependencies for Github.com/ssoready/ssoready:
inspect dependencies for github.com/ssoready/ssoready
Analyze the terminal output to locate any version of Github.com/ssoready/ssoready in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.0-20241009153838-7f92a0630439), 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 Github.com/ssoready/ssoready, 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-2024-47832 Affected Github.com/ssoready/ssoready Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/ssoready/ssoready
|
Go |
< 0.0.0-20241009153838-7f92a0630439
|
0.0.0-20241009153838-7f92a0630439
|
References
Frequently Asked Questions
What is CVE-2024-47832?
Which Github.com/ssoready/ssoready versions are affected?
What version fixes CVE-2024-47832?
Is github.com/ssoready/ssoready affected?
What is the CVSS score of CVE-2024-47832?
What CWE is associated with CVE-2024-47832?
How can I check Go dependencies for CVE-2024-47832?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-j2hr-q93x-gxvh",
"modified" : "2024-10-11T16:58:37Z",
"published" : "2024-10-11T16:58:36Z",
"aliases" : [ "CVE-2024-47832" ],
"summary" : "SSOReady has an XML Signature Bypass via differential XML parsing",
"details" : "Affected versions are vulnerable to XML signature bypass attacks. An attacker can carry out signature bypass if you have access to certain IDP-signed messages. The underlying mechanism exploits differential behavior between XML parsers.\n\nUsers of https://ssoready.com, the public hosted instance of SSOReady, are unaffected. We advise folks who self-host SSOReady to upgrade to 7f92a06 or later. Do so by updating your SSOReady Docker images from `sha-...` to `sha-7f92a06`. The documentation for self-hosting SSOReady is available [here](https://ssoready.com/docs/self-hosting/self-hosting-sso-ready).\n\nVulnerability was discovered by @ahacker1-securesaml. It's likely the precise mechanism of attack affects other SAML implementations, so the reporter and I (@ucarion) have agreed to not disclose it in detail publicly at this time.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/ssoready/ssoready"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.0.0-20241009153838-7f92a0630439"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/ssoready/ssoready/security/advisories/GHSA-j2hr-q93x-gxvh"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-47832"
}, {
"type" : "WEB",
"url" : "https://github.com/ssoready/ssoready/commit/7f92a0630439972fcbefa8c7eafe8c144bd89915"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/ssoready/ssoready"
}, {
"type" : "WEB",
"url" : "https://pkg.go.dev/vuln/GO-2024-3185"
}, {
"type" : "WEB",
"url" : "https://ssoready.com/docs/self-hosting/self-hosting-sso-ready"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-347" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2024-10-11T16:58:36Z",
"nvd_published_at" : "2024-10-09T19:15:14Z"
}
}