buildpacks / lifecycle

Reference implementation of the Cloud Native Buildpacks lifecycle
https://buildpacks.io
Apache License 2.0
186 stars 104 forks source link

CVE(s) found in v0.19.7 #1377

Closed github-actions[bot] closed 3 weeks ago

github-actions[bot] commented 1 month ago

Latest lifecycle release v0.19.7 triggered CVE(s) from Grype. For further details, see: https://github.com/buildpacks/lifecycle/actions/runs/9884377332 json: { "id": "CVE-2024-24791", "severity": "High", "description": "The net/http HTTP/1.1 client mishandled the case where a server responds to a request with an \"Expect: 100-continue\" header with a non-informational (200 or higher) status. This mishandling could leave a client connection in an invalid state, where the next request sent on the connection will fail. An attacker sending a request to a net/http/httputil.ReverseProxy proxy can exploit this mishandling to cause a denial of service by sending \"Expect: 100-continue\" requests which elicit a non-informational response from the backend. Each such request leaves the proxy with an invalid connection, and causes one subsequent request using that connection to fail." } { "id": "CVE-2024-24791", "severity": "High", "description": "The net/http HTTP/1.1 client mishandled the case where a server responds to a request with an \"Expect: 100-continue\" header with a non-informational (200 or higher) status. This mishandling could leave a client connection in an invalid state, where the next request sent on the connection will fail. An attacker sending a request to a net/http/httputil.ReverseProxy proxy can exploit this mishandling to cause a denial of service by sending \"Expect: 100-continue\" requests which elicit a non-informational response from the backend. Each such request leaves the proxy with an invalid connection, and causes one subsequent request using that connection to fail." }

natalieparellano commented 1 month ago

Worth noting, CVE-2024-24791 is not impactful as the lifecycle isn't an HTTP server. But, this will be silenced in 0.20.0 with a go version update.

natalieparellano commented 3 weeks ago

Closed in lifecycle 0.20.0