Skip to content

fix: When both unzip and 7zip are installed, .msi extraction fails. #4991

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

Open
captainreality opened this issue Mar 31, 2025 · 0 comments
Open
Labels
bug Something isn't working

Comments

@captainreality
Copy link
Contributor

captainreality commented Mar 31, 2025

Description

When both unzip and 7zip are installed, MSI extraction fails. When only 7zip is installed it succeeds.

To reproduce

Steps to reproduce the behaviour:

  1. scan using these flags/this config --log debug
  2. on this file https://s3.amazonaws.com/ddagent-windows-stable/datadog-agent-7-latest.amd64.msi
    a. Retrieve the file using curl -O -sS https://s3.amazonaws.com/ddagent-windows-stable/datadog-agent-7-latest.amd64.msi

Expected behaviour: Extracts and scans the MSI.
Actual behaviour: Fails to extract the MSI.

Version/platform info

Version of CVE-bin-tool( e.g. output of cve-bin-tool --version): 3.4
Installed from pypi or github? github
Operating system: Linux/Windows (other platforms are unsupported but feel free to report issues anyhow)
Linux: Linux kim-mason 5.15.0-1077-aws #84~20.04.1-Ubuntu SMP Mon Jan 20 22:14:54 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
Python version: 3.11.5
Running in any particular CI environment we should know about? (e.g. Github Actions)

Anything else?

Feel free to add any other context here.

I have created a PR to fix this at #4973.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant