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

Incorrect vulnerable versions for passenger vuln #151

Closed
mveytsman opened this issue Jun 13, 2015 · 3 comments
Closed

Incorrect vulnerable versions for passenger vuln #151

mveytsman opened this issue Jun 13, 2015 · 3 comments

Comments

@mveytsman
Copy link
Member

This vulnerability
https://github.com/rubysec/ruby-advisory-db/blob/master/gems/passenger/OSVDB-90738.yml
affects versions 4.0.0.beta1 and 4.0.0.beta2 ( see http://old.blog.phusion.nl/2013/03/05/phusion-passenger-4-0-beta-1-and-2-arbitrary-file-deletion-vulnerability/)

The current patched_versions and unaffected_versions don't cover that.

Is it possible to write the conditions that will capture this vuln using only patched_versions and unaffected_versions, or do we need to add a vulnerable_versions field?

(cc @postmodern I ran some test cases with bundler_audit and it fails as well).

@postmodern
Copy link
Member

Testing with rubygems, < 4.0.0 will include 4.0.0.beta.

dep = Gem::Requirement.new('< 4.0.0')
dep.satisfied_by?(Gem::Version.new('4.0.0.beta1'))
# => true

@postmodern
Copy link
Member

From #rubygems:

<imperator> < 4.0.0.beta

Confirmed that < 4.0.0.beta excludes 4.0.0, 4.0.0.beta, 4.0.0.rc, 4.0.0.beta.

@jasnow
Copy link
Contributor

jasnow commented Mar 21, 2023

This issue was "fixed" under the OSVDB renaming PR:
https://github.com/rubysec/ruby-advisory-db/blob/master/gems/passenger/CVE-2012-6135.yml]

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

3 participants