Skip to content

x/vulndb: potential Go vuln in github.com/beego/beego/v2: GHSA-9j3m-fr7q-jxfw #3331

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
GoVulnBot opened this issue Dec 12, 2024 · 1 comment

Comments

@GoVulnBot
Copy link

Advisory GHSA-9j3m-fr7q-jxfw references a vulnerability in the following Go modules:

Module
github.com/beego/beego
github.com/beego/beego/v2

Description:
In the context of using MD5 to generate filenames for cache keys, there are significant collision hazards that need to be considered. MD5, or Message Digest Algorithm 5, is a widely known cryptographic hash function that produces a 128-bit hash value. However, MD5 is no longer considered secure against well-funded opponents due to its vulnerability to collision attacks.

Understanding Collisions

A collision in hashing occurs when two different inputs produce the same hash output. For MD5, this means that it is theoretically possible, and even practical, to find two distinct cache keys that...

References:

Cross references:

See doc/quickstart.md for instructions on how to triage this report.

id: GO-ID-PENDING
modules:
    - module: github.com/beego/beego
      vulnerable_at: 1.12.14
    - module: github.com/beego/beego/v2
      versions:
        - fixed: 2.3.4
      vulnerable_at: 2.3.3
summary: Beego has Collision Hazards of MD5 in Cache Key Filenames in github.com/beego/beego
cves:
    - CVE-2024-55885
ghsas:
    - GHSA-9j3m-fr7q-jxfw
references:
    - advisory: https://github.com/advisories/GHSA-9j3m-fr7q-jxfw
    - advisory: https://github.com/beego/beego/security/advisories/GHSA-9j3m-fr7q-jxfw
    - fix: https://github.com/beego/beego/commit/e7fa4835f71f47ab1d13afd638cebf661800d5a4
source:
    id: GHSA-9j3m-fr7q-jxfw
    created: 2024-12-12T20:01:19.81495967Z
review_status: UNREVIEWED

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants