[GHSA-j346-h5wc-rw2m] Incorrect Authorization in Apache Solr #6398
+49
−3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Updates
Comments
The advisory currently implies that all versions < 7.7.0 are affected, which incorrectly includes 6.6.6, a version that contains the backported fix. Adding an explicit branch fix range resolves the inaccuracy and avoids misreporting in vulnerability scanners.
The vulnerability was also backported to the maintained 6.6.x branch, and was fixed in version 6.6.6, via the following Apache commit:
add003f217806afb4e1604f697cdb0a5a7115895
Source:
apache/lucene-solr@add003f
Therefore, the actual affected version ranges should be expressed as:
6.6.0 – 6.6.5 (fixed in 6.6.6)
All versions < 7.7.0 on the main development line (fixed in 7.7.0)
This means 6.6.6 should not be listed as affected, but it is currently included under the < 7.7.0 range.
Updating the affected version definitions improves accuracy and prevents false positives in automated security scanners.