GHSA-GCJ7-J438-HJJ2
Vulnerability from github – Published: 2022-04-07 22:10 – Updated: 2022-04-07 22:10The primary use case for Smokescreen is to prevent server-side request forgery (SSRF) attacks in which external attackers leverage the behavior of applications to connect to or scan internal infrastructure.
Smokescreen also offers an option to deny access to additional (e.g., external) URLs by way of a deny list. There was an issue in Smokescreen that made it possible to bypass the deny list feature by appending a dot to the end of user-supplied URLs, or by providing input in a different letter case.
Recommendation
Upgrade Smokescreen to version 0.0.3 or later.
Acknowledgements
Thanks to Grzegorz Niedziela for reporting the issue.
For more information
Email us at security@stripe.com
{
"affected": [
{
"package": {
"ecosystem": "Go",
"name": "github.com/stripe/smokescreen"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.0.3"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2022-24825"
],
"database_specific": {
"cwe_ids": [
"CWE-918"
],
"github_reviewed": true,
"github_reviewed_at": "2022-04-07T22:10:22Z",
"nvd_published_at": "2022-04-19T20:15:00Z",
"severity": "MODERATE"
},
"details": "The primary use case for Smokescreen is to prevent server-side request forgery (SSRF) attacks in which external attackers leverage the behavior of applications to connect to or scan internal infrastructure.\n\nSmokescreen also offers an option to deny access to additional (e.g., external) URLs by way of a deny list. There was an issue in Smokescreen that made it possible to bypass the deny list feature by appending a dot to the end of user-supplied URLs, or by providing input in a different letter case.\n\n### Recommendation\nUpgrade Smokescreen to version 0.0.3 or later.\n\n### Acknowledgements\nThanks to [Grzegorz Niedziela](https://twitter.com/gregxsunday) for reporting the issue.\n\n### For more information\nEmail us at security@stripe.com",
"id": "GHSA-gcj7-j438-hjj2",
"modified": "2022-04-07T22:10:22Z",
"published": "2022-04-07T22:10:22Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/stripe/smokescreen/security/advisories/GHSA-gcj7-j438-hjj2"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-24825"
},
{
"type": "WEB",
"url": "https://github.com/stripe/smokescreen/commit/fafb6ae48c6c40aa011d87b61306abc48db8797b"
},
{
"type": "PACKAGE",
"url": "github.com/stripe/smokescreen"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N",
"type": "CVSS_V3"
}
],
"summary": "Smokescreen SSRF via deny list bypass"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.