{"id":"CVE-2024-40465","published":"2024-07-31T00:00:00Z","modified":"2024-08-02T18:17:18Z","title":"An issue in beego v.2.2.0 and before allows a remote attacker to escalate privileges via the getCacheFileName function…","vendor":null,"product":null,"tier":"tail","description":{"text":"An issue in beego v.2.2.0 and before allows a remote attacker to escalate privileges via the getCacheFileName function in file.go file","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00431,"percentile":0.38224,"provenance":"source"},"cwes":[{"id":"CWE-327","name":"Use of a Broken or Risky Cryptographic Algorithm"},{"id":"CWE-328","name":"Use of Weak Hash"}],"references":[{"url":"https://gist.github.com/nyxfqq/a5a2fc5147a1b34538e1ac05a3e56910","tags":[]}],"priority":{"score":13.8,"factors":[{"name":"EPSS percentile","points":7.64},{"name":"CVSS severity","points":6.16}]},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-08-02T15:52:44.293380Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/beego/beego/v2","vulnerableRanges":["<2.2.1"],"patched":["2.2.1"],"from":["GHSA-wr3p-r5fj-wf97"],"provenance":"source"}],"summary":{"text":"The flaw lies in the getCacheFileName function in file.go of the beego web framework, versions 2.2.0 and earlier, and it involves the use of a broken or risky cryptographic algorithm and a weak hash. A remote attacker with low privileges and no user interaction can escalate privileges through this function.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:36:21Z"},"euvd":{"id":"EUVD-2024-2441","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-31259","published":"2022-05-21","fixed":"2.0.3","kev":false},{"cve":"CVE-2022-31836","published":"2022-07-05","fixed":"2.0.4","kev":false},{"cve":"CVE-2024-40464","published":"2024-07-31","fixed":"2.2.1","kev":false},{"cve":"CVE-2024-40465","published":"2024-07-31","fixed":"2.2.1","kev":false},{"cve":"CVE-2024-55885","published":"2024-12-12","fixed":"2.3.4","kev":false,"link":{"from":"CVE-2024-40465","to":"CVE-2024-55885","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/beego/beego/v2","fromFixed":"2.2.1","toFixed":"2.3.4","daysApart":134}]}},{"cve":"CVE-2025-30223","published":"2025-03-31","fixed":"2.3.6","kev":false}],"package":"Go:github.com/beego/beego/v2"}}