feast-dev / feast-dev/feast

Synk vulnerabilities on Feast pip

Open
#6,810 3 comments 1 reaction 0 assignees View on GitHub
kind/bug priority/p2
Dominant language
Python
Stars
7.3k
Forks
1.4k
Avg merge
3d 16h
Merged PRs (30d)
15

Description

4 vulnerabilities are detected in Synk vulnerability database. Please help to fix all these in the upcoming release.
https://security.snyk.io/package/pip/feast

https://security.snyk.io/vuln/SNYK-PYTHON-FEAST-9510933
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.

https://security.snyk.io/vuln/SNYK-PYTHON-FEAST-18612609
Affected versions of this package are vulnerable to Deserialization of Untrusted Data through the registry’s user-defined function handling in the registry server and feature server components. An attacker can execute arbitrary code by storing a malicious serialized UDF in the registry and causing it to be deserialized. In default deployments, this leads to unauthenticated code execution on the feature server, and an authenticated attacker can also execute code on the registry server by abusing the deserialization path, enabling cross-tenant data access and lateral movement.

https://security.snyk.io/vuln/SNYK-PYTHON-FEAST-18612610
Affected versions of this package are vulnerable to Incorrect Behavior Order: Early Amplification in the /materialize and /materialize-incremental endpoints. An attacker can trigger a full re-materialization of all feature views, causing denial of service, by sending a specially crafted request that omits the feature_views field. This bypasses the intended permission checks for those endpoints and can be exercised by an unauthenticated remote attacker or any authenticated user. The result is significant resource consumption and data corruption that disrupts service for all tenants.

https://security.snyk.io/vuln/SNYK-PYTHON-FEAST-18612620
Affected versions of this package are vulnerable to Missing Authentication for Critical Function through the feature-server, registry-server, and offline-server endpoints when the default no_auth configuration leaves no security manager installed. An attacker can gain unauthorized access, execute arbitrary code, and trigger denial of service by sending requests to these exposed endpoints, including storing a malicious User-Defined Function on the feature-server or forcing re-materialization of all tenant features. This exposes cross-tenant feature data and can disrupt service for affected users and tenants.

Impact
These are vulnerabilities reported in Synk vulnerability database with high - medium severity.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the four linked Snyk reports and the registry-server, feature-server, and offline-server endpoints, including /materialize and /materialize-incremental. Trace the user-defined-function deserialization, CORS, permission, and default no_auth paths. Done means all four reported vulnerabilities are addressed and covered for the upcoming Feast release.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend-api-design, security
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.