CVE-2024-38275

Source
https://cve.org/CVERecord?id=CVE-2024-38275
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-38275.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-38275
Aliases
Downstream
Published
2024-06-18T19:49:26.986Z
Modified
2026-07-08T08:05:31.264862015Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
moodle: HTTP authorization header is preserved between "emulated redirects"
Details

The cURL wrapper in Moodle retained the original request headers when following redirects, so HTTP authorization header information could be unintentionally sent in requests to redirect URLs.

Database specific
{
    "unresolved_ranges": [
        {
            "source": "AFFECTED_FIELD",
            "extracted_events": [
                {
                    "introduced": "4.4"
                },
                {
                    "last_affected": "4.4"
                },
                {
                    "introduced": "4.3"
                },
                {
                    "last_affected": "4.3.4"
                },
                {
                    "introduced": "4.2"
                },
                {
                    "last_affected": "4.2.7"
                },
                {
                    "introduced": "4.1"
                },
                {
                    "last_affected": "4.1.10"
                }
            ]
        }
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38275.json",
    "cna_assigner": "fedora",
    "cwe_ids": [
        "CWE-226"
    ]
}
References

Affected packages

Git / github.com/moodle/moodle

Affected ranges

Type
GIT
Repo
https://github.com/moodle/moodle
Events
Database specific
{
    "source": [
        "CPE_RANGE",
        "CPE_STRING"
    ],
    "cpe": [
        "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*",
        "cpe:2.3:a:moodle:moodle:4.4.0:*:*:*:*:*:*:*"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "4.1.11"
        },
        {
            "introduced": "4.2.0"
        },
        {
            "fixed": "4.2.8"
        },
        {
            "introduced": "4.3.0"
        },
        {
            "fixed": "4.3.5"
        },
        {
            "introduced": "4.4.0"
        },
        {
            "last_affected": "4.4.0"
        }
    ]
}

Affected versions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