-
Notifications
You must be signed in to change notification settings - Fork 579
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to scan OCI images with syft v0.105.1 #2678
Comments
Thanks for the heads up on this @sophiewigmore! Let me try and reproduce this and come back with an answer as to the cause. I'll also try and get a fix filed asap after determining the failure is for the generic OCI case. Update: I did the most basic oci image I could think of: FROM alpine:latest
It looks like syft still does pass for the generic I'm going to pull down https://github.com/paketo-buildpacks/jammy-full-stack specifically to try and find the error. The change for this in syft came from: It looks like the unarchiver is being told that a potential escape is possible via the |
PR filed in stereoscope - anchore/stereoscope#225 |
Fix pulled in here: #2683 |
Confirmed fix by pulling the affect build-pack from
|
@sophiewigmore this closed because the PR fixing the issue went in (gh issues with fix keyword close on PR resolve not release 😢 ) Expect to see this in the next syft release - we JUST got out v1.0.0 so I'll coordinate with the team for when v1.0.1 goes out. If you need this in the immediate term feel free to tag me and I can work with you guys to get a version built from main. |
@spiffcs thank you for the quick fix!! you are the best :) |
@spiffcs the new release looks like its working! Thanks again |
What happened:
Hey there,
We recently bumped to v0.105.1, and scanning OCI archives is no longer working. It was previously working with v0.105.0.
syft scan build/run.oci --output cyclonedx-json=syft-output.json
Any ideas if we're doing something wrong, or if this is just a bug? I didn't see anything concerning in the CHANGELOG for v0.105.1, except potentially #2664
What you expected to happen:
Scanning succeeds as usual
Steps to reproduce the issue:
syft scan <OCI archive> --output cyclonedx-json=syft-output.json
Anything else we need to know?:
Environment:
syft version
:The text was updated successfully, but these errors were encountered: