-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
fix(rce): security fix regarding open PATH environment #118
Conversation
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## master #118 +/- ##
=======================================
Coverage 82.02% 82.02%
=======================================
Files 34 34
Lines 1463 1463
Branches 90 90
=======================================
Hits 1200 1200
Misses 231 231
Partials 32 32
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
brought changes from #117
still don't understand why the build rce pipeline returns a non zero exit code. might revisit this later. |
Everything is green. Hoping to cause minimum damage. |
From a conversation between me and @ii64
Reinaldy, [01/06/2023 11:35]
@lolioverflow btw i need to borrow your brain. kalo gw punya ruby or any executables di /opt/ruby/3.2/bin/ruby, dan gw set $PATH ke /opt/ruby/3.2/bin doang, tanpa set additional kayak PATH=/opt/ruby/3.2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin, gw udah coba sih ruby nya bisa gw exec. tapi bakal ada problem soal integrate ke some C libraries ga sih?
Reinaldy, [01/06/2023 11:36]
atau gw harus set LD_LIBRARY_PATH, CC dan CXX sendiri?
Maple Syrup, [01/06/2023 11:37]
Seharusnya masih bisa, ld lookup nya tetep managed by OS
Reinaldy, [01/06/2023 11:38]
hooo okay, artinya LD lookup ga depends on what's on PATH kan? tapi harusnya depends on env LD_* if any?
Maple Syrup, [01/06/2023 11:38]
Yep, higher precedence
Reinaldy, [01/06/2023 11:38]
ok nice