SecurityContext

CVE-2022-21669: PuddingBot - Hardcoded Credentials

  • Cve: CVE-2022-21669
  • Name: PuddingBot - Hardcoded Credentials
  • Description: PuddingBot is a group management bot. In version 0.0.6-b933652 and prior, the bot token is publicly exposed in main.py, making it accessible to malicious actors. The bot token has been revoked and new version is already running on the server. As of time of publication, the maintainers are planning to update code to reflect this change at a later date.
  • Impact: Malicious actors can take control of the bot, potentially leading to unauthorized actions or data access.
  • Remediation: Update to the latest version with the token removed or stored securely, and revoke the exposed token.
  • Vulnerability type: hardcoded_credentials
  • Vulnerability impact: information_disclosure, remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.01066
  • Epss percentile: 0.65609
  • Assignee: [email protected]
  • Published at: 2022-01-11T15:15:08Z
  • Age in days: 1778
  • Modified at: 2026-06-17T04:26:43Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-21669
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-798Use of Hard-coded Credentials

References

UrlSourceTags
https://github.com/PuddingBot/pudding-bot/commit/a5b15fb0a5be5fdbacba8ff7b2c8759d5e3ba20fnvdPatch
https://github.com/PuddingBot/pudding-bot/security/advisories/GHSA-cxgr-xpmj-9qjmnvdThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
puddingbot_project:puddingbot<= 0.0.6-b933652nonvd/v1/products/puddingbot_project/puddingbot

Projects

RepositoryLink kindsIndexedUrl
PuddingBot/pudding-botcommit, security_advisoryyes/v1/repositories/PuddingBot/pudding-bot

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts