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

Add patched version for CVE-2013-1656 #702

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions gems/spree/CVE-2013-1656.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
title: Spree controller Parameter Arbitrary Ruby Object Instantiation Command Execution
date: 2013-02-21
description: |
Spree Commerce 1.0.x through 1.3.2 allows remote authenticated
Spree Commerce 1.0.x before 2.0.0.rc1 allows remote authenticated
administrators to instantiate arbitrary Ruby objects and executd
arbitrary commands via the
(1) payment_method parameter to core/app/controllers/spree/admin/
Expand All @@ -18,7 +18,8 @@
of the constantize function.
cvss_v2: 4.3
patched_versions:
- ">= 2.0.0"
- ">= 2.0.0.rc1"
related:
url:
- https://spreecommerce.com/blog/multiple-security-vulnerabilities-fixed
- https://github.com/spree/spree/commit/70092eb55b8be8fe5d21a7658b62da658612fba7

Check failure on line 25 in gems/spree/CVE-2013-1656.yml

View workflow job for this annotation

GitHub Actions / Linter

25:85 [new-line-at-end-of-file] no new line character at the end of file
Copy link
Member

Choose a reason for hiding this comment

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

Extra newline.

Copy link
Author

Choose a reason for hiding this comment

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

Suggested change
- https://github.com/spree/spree/commit/70092eb55b8be8fe5d21a7658b62da658612fba7
- https://github.com/spree/spree/commit/70092eb55b8be8fe5d21a7658b62da658612fba7

Copy link
Member

Choose a reason for hiding this comment

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

I think your editor is automatically adding the newline.

Copy link
Member

Choose a reason for hiding this comment

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

@v0lck3r GitHub isn't allowing me to use the Suggested change. GitHub is claiming there is no difference between them, even though it's supposed to remove the last newline.

Copy link
Author

Choose a reason for hiding this comment

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

@postmodern yeah I have no idea why is that !

Copy link
Author

@v0lck3r v0lck3r Aug 30, 2023

Choose a reason for hiding this comment

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

@postmodern tbh I see no extra line. the file is still 25 lines total after adding the new reference, compared to the 24 lines in the original file .
Can you double check please !

Loading