Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/clidey/whodb/core
  4. ›
  5. CVE-2025-24787

CVE-2025-24787: WhoDB allows parameter injection in DB connection URIs leading to local file inclusion

February 6, 2025 (updated February 7, 2025)

The application is vulnerable to parameter injection in database connection strings, which allows an attacker to read local files on the machine the application is running on.

References

  • github.com/advisories/GHSA-c7w4-9wv8-7x7c
  • github.com/clidey/whodb
  • github.com/clidey/whodb/commit/8d67b767e00552e5eba2b1537179b74bfa662ee1
  • github.com/clidey/whodb/security/advisories/GHSA-c7w4-9wv8-7x7c
  • github.com/go-sql-driver/mysql/blob/7403860363ca112af503b4612568c3096fecb466/infile.go
  • nvd.nist.gov/vuln/detail/CVE-2025-24787

Code Behaviors & Features

Detect and mitigate CVE-2025-24787 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.0.0-20250127202645-8d67b767e005

Fixed versions

  • 0.0.0-20250127202645-8d67b767e005

Solution

Upgrade to version 0.0.0-20250127202645-8d67b767e005 or above.

Impact 8.6 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-943: Improper Neutralization of Special Elements in Data Query Logic

Source file

go/github.com/clidey/whodb/core/CVE-2025-24787.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:40 +0000.