VDB
KO
MEDIUM 4.7

GHSA-63wh-p5fx-h4vc

BBOT's git_clone.py can expose users' GitHub API keys to an attacker-controlled webserver

Details

### Summary

Due to unsafe URL handling, bbot's `git_clone.py` can be made to leak a user's github.com API key to an attacker-controlled webserver.

### Impact

A user who has placed their github.com API key in the configuration for any of the following modules:

* `github_codesearch` * `github_workflows` * `gitlab` * `git_clone` * `github_usersearch` * `github_org`

may leak it to an untrustworthy server.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI / bbot
Introduced in: 0 Fixed in: 2.7.0
Fix pip install --upgrade 'bbot>=2.7.0'

References