GHSA-2g98-f9jv-w8c5 robrichards/xmlseclibs XPath injection
Not scored
Published
Check this codebase for GHSA-2g98-f9jv-w8c5 and fix it if it is affected.
What it is: GHSA-2g98-f9jv-w8c5 is a vulnerability in robrichards/xmlseclibs, published on 20 May 2024. It can be exploited over the network.
Exploitation: There is no known exploitation of GHSA-2g98-f9jv-w8c5 in the wild and no public exploit code.
Affected packages and fixed versions:
- robrichards/xmlseclibs (Packagist): affected from 1.0.0; fixed in 3.0.2
- robrichards/xmlseclibs (Packagist): affected from 1.0.0; fixed in 3.0.2
Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.
Reference: https://insights.sbomify.com/GHSA-2g98-f9jv-w8c5/ (Markdown: https://insights.sbomify.com/GHSA-2g98-f9jv-w8c5/index.md)
An attacker can inject malicious XPath expressions into the xmlseclibs library due to insufficient input filtering, potentially accessing unauthorized data.
- Exploited in the wild
- Not known
- Login needed
- Not stated
- Attackable
- Over the internet
- Victim action needed
- Not stated
- Fix
- Available
What is GHSA-2g98-f9jv-w8c5?
GHSA-2g98-f9jv-w8c5 is a vulnerability in robrichards/xmlseclibs, published on 20 May 2024. It can be exploited over the network.
Official description
A vulnerability has been identified in the robrichards/xmlseclibs library, specifically related to XPath injection. The issue arises from inadequate filtering of user input before it is incorporated into XPath expressions.
Which versions are affected by GHSA-2g98-f9jv-w8c5?
2 open source packages ship an affected version, including robrichards/xmlseclibs.
| Package | Affected | Fixed in |
|---|---|---|
robrichards/xmlseclibs Packagist | From 1.0.0 | 3.0.2 |
robrichards/xmlseclibs Packagist | From 1.0.0 | 3.0.2 |
How do I fix GHSA-2g98-f9jv-w8c5?
Upgrade robrichards/xmlseclibs to 3.0.2 or later.
Is GHSA-2g98-f9jv-w8c5 being exploited?
There is no known exploitation of GHSA-2g98-f9jv-w8c5 in the wild and no public exploit code.