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

[feature] CVE support on conandata.yml #8356

Closed
uilianries opened this issue Jan 18, 2021 · 1 comment
Closed

[feature] CVE support on conandata.yml #8356

uilianries opened this issue Jan 18, 2021 · 1 comment

Comments

@uilianries
Copy link
Member

Hi!

CVE is a list of records (each containing an identification number, a description, and at least one public reference) for publicly known cybersecurity vulnerabilities, which can point C/C++ libraries too (OpenSSL for instance).

As Conan Center Index supports multiple versions for a same package and customers are not forced to update their copies, it would be great warn them about security flaws on old versions as advice.

Conan is a package manager, not a security scanner, so we could add a section on conandata.yml which would print an warning about that flaw, instead of scanning errors.

For instance:

sources:  
  1.1.1h:
    sha256: 5c9ca8774bd7b03e5784f26ae9e9e6d749c9da2438545077e6b3d755a06595d9
    url: "https://www.openssl.org/source/openssl-1.1.1h.tar.gz",
cve:
  1.1.1h:
    - 2020-1971
    conan install openssl/1.1.1h@
    WARN: openssl/1.1.1h@ has security vulnerabilities: CVE-2020-1971

or

    conan install openssl/1.1.1h@
    WARN: openssl/1.1.1h@ has security vulnerabilities:
    - CVE-2020-1971: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-1971
    - ...

Related to #3263

@uilianries
Copy link
Member Author

Analyzing again, this feature is not functional.

  • First we would need add manually each CVE data, and manually
  • We would need to re-build each package, otherwise won't be possible to print that warning.

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

1 participant