Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2024-40465

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

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-40465
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 13:23 UTC · Revision 1

Source evidence

CVE-2024-40465

core-osv · Original source

Published 31 Jul 2024, 00:00 UTC

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

osv:CVE-2024-40465
Complete source record
{
  "id": "84c16d7152f8ee5d4cb0e9eadfe627c0b37745d4a464dde4974812a64979998e",
  "url": "https://osv.dev/vulnerability/CVE-2024-40465",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2024-40465",
    "summary": "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",
    "evidence": "osv:CVE-2024-40465",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-40465",
      "aliases": [
        "CVE-2024-40465",
        "GHSA-wr3p-r5fj-wf97"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/beego/beego",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "8f89e12e6cafb106d5c201dbc3b2a338bfde74e2"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:beego:beego:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.2.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.2.0",
            "v2.1.6",
            "v2.1.5",
            "v2.1.4",
            "v2.1.3",
            "v2.1.2",
            "v2.1.1",
            "v2.1.0",
            "v2.0.7",
            "v2.0.6",
            "v2.0.5",
            "v2.0.4",
            "v2.0.3",
            "v2.0.2",
            "v2.0.2-beta.1",
            "v2.0.1",
            "v1.12.2",
            "v1.12.0",
            "v1.11.1",
            "v1.11.0",
            "v1.10.1",
            "v1.10.0",
            "v1.9.2",
            "v1.9.0",
            "v1.8.3",
            "v1.7.2",
            "v1.8.2",
            "v1.8.1",
            "v1.8.0",
            "v1.7.1",
            "v1.7.0",
            "v1.6.1",
            "v1.6.0",
            "v1.5.0",
            "v1.4.3",
            "v1.4.2",
            "v1.4.1",
            "v1.4.0",
            "v1.3.0",
            "v1.2.0",
            "v1.0.1",
            "v0.9.0",
            "v0.8.0",
            "v0.7.0",
            "v0.6.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-40465.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:28.858596628Z",
      "provider": "osv",
      "references": [
        "https://gist.github.com/nyxfqq/a5a2fc5147a1b34538e1ac05a3e56910",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40465.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-40465"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40465.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-40465",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 495835,
  "published_at": "2024-07-31T00:00:00+00:00"
}