Skip to content

Conversation

matt-glover
Copy link
Contributor

Related to #245 but this is for the 4.1 line.

The old version constraint considered version 4.1.15 vulnerable to security issues patched in 4.1.14.1 or 4.1.14.2. Changed it to treat everything newer than 4.1.14 in the 4.1 line as patched.

Prior version constraint considered version 4.1.15 vulnerable to
security issues patched in 4.1.14.1 or 4.1.14.2. Changed to treat
everything newer than 4.1.14 in the 4.1 line as patched.
- "~> 5.0.0.beta1.1"
- "~> 4.2.5.1"
- "~> 4.1.14.1"
- "~> 4.1.14, >= 4.1.14.1"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am assuming this is the correct syntax for a two-part constraint based on previous use here. A test run of bundler-audit seemed happy with the syntax.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@matt-glover yep! bundler-audit splits by ,.

reedloden added a commit that referenced this pull request Mar 9, 2016
Allow Rails 4.1.15+ for 4.1.14.1 and 4.1.14.2 CVEs
@reedloden reedloden merged commit 00a43d0 into rubysec:master Mar 9, 2016
@matt-glover matt-glover deleted the version-constraints-4-1-line branch March 9, 2016 23:15
dcarral pushed a commit to dcarral/ruby-advisory-db that referenced this pull request Mar 10, 2016
Fix rubysec#244 using the two-part constraint syntax applied in rubysec#248
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

Successfully merging this pull request may close these issues.

3 participants