GHSA-whr2-9x5f-5c79

Suggest an improvement
Source
https://github.com/advisories/GHSA-whr2-9x5f-5c79
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/08/GHSA-whr2-9x5f-5c79/GHSA-whr2-9x5f-5c79.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-whr2-9x5f-5c79
Aliases
Published
2024-08-05T21:18:58Z
Modified
2024-08-05T21:57:16.980565Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N CVSS Calculator
  • 5.3 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
Alpine allows Authentication Filter bypass
Details

Alpine is a scaffolding library in Java. Alpine prior to version 1.10.4 allows Authentication Filter bypass. The AuthenticationFilter relies on the request URI to evaluate if the user is accessing the swagger endpoint. By accessing a URL with a path such as /api/foo;%2fapi%2fswagger the contains condition will hold and will return from the authentication filter without aborting the request. Note that the principal object will not be assigned and therefore the issue wont allow user impersonation. This issue has been fixed in version 1.10.4. There are no known workarounds.

Database specific
{
    "nvd_published_at": "2022-12-28T19:15:09Z",
    "cwe_ids": [
        "CWE-287",
        "CWE-697"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2024-08-05T21:18:58Z"
}
References

Affected packages

Maven / us.springett:alpine

Package

Name
us.springett:alpine
View open source insights on deps.dev
Purl
pkg:maven/us.springett/alpine

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.10.4

Affected versions

1.*

1.0.0
1.1.0
1.1.1
1.1.2
1.2.0
1.3.0
1.4.0
1.4.1
1.4.2
1.4.3
1.5.0
1.6.0
1.6.1
1.6.2
1.6.3
1.7.0
1.7.1
1.7.2
1.8.0
1.9.0
1.9.1
1.9.2
1.10.0
1.10.1
1.10.2
1.10.3