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

Security Fix for Arbitrary Code Execution - huntr.dev #98

Closed
wants to merge 2 commits into from

Conversation

huntr-helper
Copy link

https://huntr.dev/users/B3EF has fixed the Arbitrary Code Execution vulnerability 🔨. Think you could fix a vulnerability like this?

Get involved at https://huntr.dev/

Q | A
Version Affected | ALL
Bug Fix | YES
Original Pull Request | 418sec#1
Vulnerability README | https://github.com/418sec/huntr/blob/master/bounties/pip/caliban/1/README.md

User Comments:

📊 Metadata *

Arbitrary code execution fix

Bounty URL:https://www.huntr.dev/bounties/1-pip-caliban

⚙️ Description *

Caliban is a tool that helps researchers launch and tracks their numerical experiments in an isolated, reproducible computing environment. It was developed by machine learning researchers and engineers and makes it easy to go from a simple prototype running on a workstation to thousands of experimental jobs running on the Cloud.

💻 Technical Description *

This package was vulnerable to Arbitrary code execution due to the use of a known vulnerable load() with a vulnerable loader function in YAML. Changing that to SafeLoader will fix the issue.

🐛 Proof of Concept (PoC) *

Screenshot from 2021-01-06 23-24-57

🔥 Proof of Fix (PoF) *

unknown
Screenshot from 2021-01-06 23-29-07

👍 User Acceptance Testing (UAT)

I have just changed the load function to safe_load it ain't going to break anything.

@google-cla
Copy link

google-cla bot commented Jan 21, 2021

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

@codecov
Copy link

codecov bot commented Jan 21, 2021

Codecov Report

Merging #98 (7828a49) into master (56f96e7) will decrease coverage by 0.06%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #98      +/-   ##
==========================================
- Coverage   55.72%   55.66%   -0.07%     
==========================================
  Files          31       31              
  Lines        3180     3180              
==========================================
- Hits         1772     1770       -2     
- Misses       1408     1410       +2     
Impacted Files Coverage Δ
caliban/platform/gke/util.py 99.25% <100.00%> (-0.75%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 56f96e7...7828a49. Read the comment docs.

@sritchie sritchie closed this Jun 16, 2023
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.

None yet

4 participants