packeto buildpacks vulnerable to CVE-2025-22874 (ExtKeyUsageAny bypasses policy validation) due to go <1.24.4 #362
Replies: 2 comments
-
I agree, I don't see how that would impact buildpacks. The buildpack itself runs in an environment with your code and various dev tools, so there are much easier ways than a CVE to do something untoward. For example, if you run Given this, the area that we focus on the most for security is runtime. i.e. what gets installed into your actual application image. From a buildpack perspective, this is very little. There are some small helper/exec.d Go binaries that may be installed depending on the buildpacks you use. These run prior to your application, so they are important to watch. On occasion, scanners will flag these binaries. The scanners are almost always flagging them due to Go runtime CVEs. When we see these pop up, we do look at/investigate them. I've been doing this for a while now and I've never seen one that actually impacts our helper/exec.d binaries. The reason is that those binaries do very little. Most of them are just looking at env variables. There are a couple that do a little more, like ca-certificates buildpack has one that will look at some public key certs. Because they don't do a lot, there is a very small attack surface. If one of these were to be a legitimate issue with Paketo buildpacks, we'd strive to fix it within our usually 48 hour timeline. Since most don't, we follow the low impact path, which means we'd strive to fix these issues within two weeks. I say we "strive to" because ultimately this is an OSS project that runs on volunteers so it depends on volunteer availability.
We just released a whole bunch of buildpacks on Friday. I think that we just missed the fix in Go for this with that release. Since we just released a big batch of them, I can't say that we'll do the same this week, but it's feasible that we can do a release for the 27th. That's the best I can offer for a timeline, again being an OSS/volunteer run project. Let me know if you have any questions. |
Beta Was this translation helpful? Give feedback.
-
|
The buildpack releases last week resolved this issue. For example, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I noticed that many Paketo Buildpacks projects (ex,
paketobuildpacks/builder-noble-java-tiny:0.0.43) use go 1.24.3 which is susceptible to CVE-2025-22874: ExtKeyUsageAny bypasses policy validation. This raises two questions:I don't believe it's exploitable, but an statement/assessment from Paketo would be helpful.
Thank you!
Trivy can be used to see this vulnerability being reported:
Beta Was this translation helpful? Give feedback.
All reactions