GHSA-gcj7-j438-hjj2

Suggest an improvement
Source
https://github.com/advisories/GHSA-gcj7-j438-hjj2
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-gcj7-j438-hjj2/GHSA-gcj7-j438-hjj2.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-gcj7-j438-hjj2
Aliases
Related
Published
2022-04-07T22:10:22Z
Modified
2024-08-21T15:42:13.492845Z
Severity
  • 5.8 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N CVSS Calculator
Summary
Smokescreen SSRF via deny list bypass
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.

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

Database specific
{
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2022-04-07T22:10:22Z",
    "nvd_published_at": "2022-04-19T20:15:00Z",
    "cwe_ids": [
        "CWE-918"
    ]
}
References

Affected packages

Go / github.com/stripe/smokescreen

Package

Name
github.com/stripe/smokescreen
View open source insights on deps.dev
Purl
pkg:golang/github.com/stripe/smokescreen

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.0.3