Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

Beego Vulnerable to Collision Hazards of MD5 in Cache Key Filenames

CVSS 4.0 6.9 MEDIUMEUVD CVSS 4.0 6.9 CVSS 4.0 · [email protected] · Secondary 6.9 MEDIUMCVSS 3.1 · [email protected] · Primary 7.5 HIGHCVSS_V4 Publisher rating MODERATEFixed by github.com/beego/beego/v2 2.3.4osv · severity unknownFixed by github.com/beego/beego/v2 2.3.4KEV status unknown

cve-program · CVE-2024-55885

Published

beego is an open-source web framework for the Go programming language. Versions of beego prior to 2.3.4 use MD5 as a hashing algorithm. MD5 is no longer considered secure against well-funded opponents due to its vulnerability to collision attacks. Version 2.3.4 replaces MD5 with SHA256.

Read the publisher's advisory

euvd · EUVD-2024-3454

Published

beego is an open-source web framework for the Go programming language. Versions of beego prior to 2.3.4 use MD5 as a hashing algorithm. MD5 is no longer considered secure against well-funded opponents due to its vulnerability to collision attacks. Version 2.3.4 replaces MD5 with SHA256.

Read the publisher's advisory

nvd · CVE-2024-55885

Published

beego is an open-source web framework for the Go programming language. Versions of beego prior to 2.3.4 use MD5 as a hashing algorithm. MD5 is no longer considered secure against well-funded opponents due to its vulnerability to collision attacks. Version 2.3.4 replaces MD5 with SHA256.

Read the publisher's advisory

osv · GHSA-9j3m-fr7q-jxfw

Published

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 result in the same MD5 hash. This vulnerability has been well-documented and exploited in various security contexts. ### Implications for Cache Systems In a cache system where filenames are derived from the MD5 hash of cache keys, a collision could lead to several critical issues: Data Integrity Risks: If two different keys collide, they will map to the same filename. This could result in data being overwritten incorrectly, leading to data loss or corruption. Security Vulnerabilities: An attacker could potentially exploit collisions to manipulate cache data. For instance, by crafting a key that collides with another key, an attacker might gain unauthorized access to sensitive cached information or inject malicious data. Unpredictable Behavior: Collisions can cause the cache system to behave unpredictably, as it may retrieve or store data in unintended files, leading to system instability or incorrect behavior. ### Mitigation Strategies To mitigate these risks, consider the following strategies: Use a More Secure Hash Function: Replace MD5 with a more secure hash function like SHA-256, which has a significantly lower probability of collisions and is resistant to known attack vectors. code at:https://github.com/beego/beego/blob/bb72dc27ac3970e51d38ee52fc3dc1465ae25b9d/client/cache/file.go#L126

Read the publisher's advisory

osv · GO-2024-3331

Published

Beego has Collision Hazards of MD5 in Cache Key Filenames in github.com/beego/beego

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2024-55885

Published

beego

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "vendor": "beego",
                    "product": "beego",
                    "versions": [
                        {
                            "version": "< 2.3.4",
                            "status": "affected"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

euvd · EUVD-2024-3454

Published

EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.

Original publisher date fields

datePublished: Dec 12, 2024, 7:23:14 PM

dateUpdated: Dec 13, 2024, 3:46:22 PM

1 related source bulletins · separate from aliases

openSUSE-SU-2024:14603-1: govulncheck-vulndb-0.0.20241218T202206-1.1 on GA media

CVE-2024-12289 · CVE-2024-28053 · CVE-2024-45338 · CVE-2024-48872 · CVE-2024-54083 · CVE-2024-54682 · CVE-2024-55885 · CVE-2024-55949

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

nvd · CVE-2024-55885

Published

NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.

Source analysis status: Analyzed

Weakness classifications: CWE-327 · CWE-328

Original publisher date fields

published: 2024-12-12T20:15:21.760

lastModified: 2026-06-17T08:11:24.350

1 source CPE criteria · context only
  • cpe:2.3:a:beego:beego:*:*:*:*:*:*:*:*

The original JSON retains the logical configuration operators, exclusions and version bounds.

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

osv · GHSA-9j3m-fr7q-jxfw

Published

github.com/beego/beego

Go

SEMVER · introduced 0 → last_affected 1.12.14

github.com/beego/beego/v2

Go

SEMVER · introduced 0 → fixed 2.3.4

Original source record · Cite this exact observation · Complete original publisher JSON

osv · GO-2024-3331

Published

github.com/beego/beego

Go

SEMVER · introduced 0

github.com/beego/beego/v2

Go

SEMVER · introduced 0 → fixed 2.3.4

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 15 Nov 12:11 UTC · 256 of 275 readable · 252 fully read · documentation 469/469 current