Skip to content
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

syft shows (devel) version for git-lfs while git-lfs version command shows 3.6.0 #3588

Open
Bruceliu-rs opened this issue Jan 15, 2025 · 2 comments
Labels
bug Something isn't working needs-discussion

Comments

@Bruceliu-rs
Copy link

Bruceliu-rs commented Jan 15, 2025

What happened:
syft generated git-lfs library with 'devel' version number, which was reported in DT(Dependency Track) as vulnerability.

image

syft scan f96bcfd2281c --select-catalogers "go"

github.com/git-lfs/git-lfs/v3 (devel) go-module

What you expected to happen:
It should show 3.6.0 like the git lfs version command
git lfs version
git-lfs/3.6.0 (GitHub; linux amd64; go 1.23.3; git 6340befc)
Steps to reproduce the issue:
docker pull docker.io/jenkins/jenkins:2.493
syft scan jenkins/jenkins:2.493 --select-catalogers "go"

docker run -u root -it 03347633fbe6 /bin/bash

git lfs version

Anything else we need to know?:
The jenkins docker image is from Debian bookworm release.

Environment:

@Bruceliu-rs Bruceliu-rs added the bug Something isn't working label Jan 15, 2025
@spiffcs
Copy link
Contributor

spiffcs commented Jan 15, 2025

👋 thanks for the issue @Bruceliu-rs - I've added a comment from another issue that explains why this might be the case when syft fails to find the version.
#2980 (comment)

This issue is also related:
#3324

@Bruceliu-rs
Copy link
Author

Bruceliu-rs commented Jan 16, 2025

Hi @spiffcs , thanks for the confirmation, so I guess we need to wait for go 1.24 release, which is planned to release Feb 2025, two weeks later. I can wait. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-discussion
Projects
Status: No status
Development

No branches or pull requests

2 participants