GHSA-5cf7-cxrf-mq73

Suggest an improvement
Source
https://github.com/advisories/GHSA-5cf7-cxrf-mq73
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/08/GHSA-5cf7-cxrf-mq73/GHSA-5cf7-cxrf-mq73.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-5cf7-cxrf-mq73
Aliases
Published
2024-08-02T01:20:13Z
Modified
2024-08-02T16:02:10Z
Severity
  • 4.6 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L CVSS Calculator
  • 5.1 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N CVSS Calculator
Summary
Bostr Improper Authorization vulnerability
Details

Even with authorized_keys is filled with allowed pubkeys, If noscraper is enabled, It will allow anyone to use bouncer even it's pubkey is not in authorized_keys.

Impact

  • Private bouncer

Patches

Available on version 3.0.10

Workarounds

Disable noscraper if you have authorized_keys being set in config

References

This line of code is the cause.

Database specific
{
    "nvd_published_at": "2024-08-01T17:16:09Z",
    "cwe_ids": [
        "CWE-285"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2024-08-02T01:20:13Z"
}
References

Affected packages

npm / bostr

Package

Affected ranges

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