GitHub Advisory Database
GHSA-p3v4-c93g-cmhw
BBOT's gitlab.py exposes globally configured "gitlab" API key
Details
Summary
bbot's gitlab.py sends the user's "gitlab" API key to on-premise GitLab instances.
If a user has configured a gitlab.com API key using this mechanism, it may be leaked to an attacker-controlled server.
Impact
A user with a "gitlab" API key configured who uses bbot to scan a malicious webserver may leak their gitlab.com API key to an untrustworthy server.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | bbot | All versions before 2.7.2 (fixed in 2.7.2) |
| PyPI | bbot | From 2.7.0.6919rc0 before 2.7.2 (fixed in 2.7.2) |