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

MegaLinter still uses vulnerable git version in docker images #2286

Closed
vroad opened this issue Jan 23, 2023 · 6 comments
Closed

MegaLinter still uses vulnerable git version in docker images #2286

vroad opened this issue Jan 23, 2023 · 6 comments

Comments

@vroad
Copy link

vroad commented Jan 23, 2023

❯ docker run --rm --entrypoint='' oxsecurity/megalinter-terraform:v6 git --version
git version 2.36.3

MegaLinter should update git client to 2.39.1 to fix CVE-2022-41903

@nvuillam
Copy link
Member

nvuillam commented Feb 6, 2023

Fixed by #2312 :)
New version: 2.38.3

@nvuillam nvuillam closed this as completed Feb 6, 2023
@vroad
Copy link
Author

vroad commented Feb 7, 2023

@nvuillam
First version that fixes RCE vulnerabilities is 2.39.1, not 2.38.3.

I just pulled v6 images from Docker Hub, they still uses vulnerable version.

❯ docker run --rm --entrypoint '' oxsecurity/megalinter:v6 git --version
git version 2.36.4
❯ docker run --rm --entrypoint='' oxsecurity/megalinter-terraform:v6 git --version
git version 2.36.4

@nvuillam
Copy link
Member

nvuillam commented Feb 7, 2023

You'll see the update in beta version, and in the next v6.x release

https://pkgs.alpinelinux.org/packages?name=git&branch=v3.17&repo=&arch=&maintainer=

2.38.3 is the latest version on alpine 3.17

@vroad
Copy link
Author

vroad commented Feb 7, 2023

Thanks, I misunderstood which version fixed the issue. 2.38.3 also fixes RCE vulnerabilities.

@nvuillam
Copy link
Member

nvuillam commented Feb 7, 2023

All good so :)

Thanks for reporting :)

1 similar comment
@nvuillam
Copy link
Member

nvuillam commented Feb 7, 2023

All good so :)

Thanks for reporting :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants