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

CVE-2021-35940.json lists apr-1.6.3 and apr-1.6.5 as vulnerable, but they are not #942

Closed
ddkilzer opened this issue Jan 2, 2023 · 4 comments
Labels
autoclosed Closed by automation stale The issue or PR is stale and pending automated closure

Comments

@ddkilzer
Copy link

ddkilzer commented Jan 2, 2023

The osv.dev advisory for CVE-2021-35940.json lists apr-1.6.3 and apr-1.6.5 as vulnerable, but they are not vulnerable because they were fixed by CVE-2017-12613.

Explanation

Based on information from this patch: https://dist.apache.org/repos/dist/release/apr/patches/apr-1.7.0-CVE-2021-35940.patch

CVE-2021-35940 is actually the same issue as CVE-2017-12613. However, because this issue regressed in apr-1.7.0, a new CVE-ID was assigned.

However, the above patch mentions that CVE-2017-12613 was fixed in apr-1.6.3 and later, which means that apr-1.6.3 and apr-1.6.5 are not vulnerable.

I'm not sure what the solution to this is, but maybe it's adding a fixed attribute for 1.6.3 and an alias of CVE-2017-12613, depending on how the logic computes vulnerable versions.

@ddkilzer ddkilzer changed the title CVE-2021-35940.json lists apr-1.6.3 and apr-1.6.5 as vulnerable CVE-2021-35940.json lists apr-1.6.3 and apr-1.6.5 as vulnerable, but they are not Jan 2, 2023
@oliverchang
Copy link
Collaborator

Thanks for filing this!

This is based on Alpine's secfixes data, where often the exact "introduced" version is not available. These versions are also only relevant to Alpine's package manager, so they should not be relied on yet as general versions for the upstream package. This will change after #783.

@another-rex All of our version expansion for all the Alpine versions on https://osv.dev/vulnerability/CVE-2021-35940 expands back to "1.3.3". Do all of these Alpine versions actually go back that far?

@oliverchang oliverchang transferred this issue from google/oss-fuzz-vulns Jan 4, 2023
@another-rex
Copy link
Contributor

It does not, the current alpine enumeration logic does not find/stop at the release commit, though I believe that can be fixed relatively easily. I'll create an issue for this.

Copy link

This issue has not had any activity for 60 days and will be automatically closed in two weeks

@github-actions github-actions bot added the stale The issue or PR is stale and pending automated closure label Jul 26, 2024
Copy link

github-actions bot commented Aug 9, 2024

Automatically closing stale issue

@github-actions github-actions bot added the autoclosed Closed by automation label Aug 9, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autoclosed Closed by automation stale The issue or PR is stale and pending automated closure
Projects
None yet
Development

No branches or pull requests

3 participants