Skip to content

GHSA SYNC: 4 deleted advisories; 1 brand new advisory #874

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

Closed
Closed
Show file tree
Hide file tree
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
67 changes: 0 additions & 67 deletions gems/camaleon_cms/GHSA-3hp8-6j24-m5gm.yml

This file was deleted.

48 changes: 48 additions & 0 deletions gems/ejson2env/CVE-2025-48069.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
gem: ejson2env
cve: 2025-48069
ghsa: 2c47-m757-32g6
url: https://github.com/Shopify/ejson2env/security/advisories/GHSA-2c47-m757-32g6
title: Insufficient input sanitization in ejson2env
date: 2025-05-21
description: |
### Summary
The `ejson2env` tool has a vulnerability related to how it writes to
`stdout`. Specifically, the tool is intended to write an export
statement for environment variables and their values. However, due
to inadequate output sanitization, there is a potential risk where
variable names or values may include malicious content, resulting
in additional unintended commands being output to `stdout`. If this
output is improperly utilized in further command execution, it could
lead to command injection vulnerabilities, allowing an attacker to
execute arbitrary commands on the host system.

### Details
The vulnerability exists because environment variables are not
properly sanitized during the decryption phase, which enables
malicious keys or encrypted values to inject commands.

### Impact
An attacker with control over `.ejson` files can inject commands
in the environment where `source $(ejson2env)` or `eval ejson2env`
are executed.

### Mitigation
- Update to a version of `ejson2env` that sanitizes the output
during decryption or
- Do not use `ejson2env` to decrypt untrusted user secrets or
- Do not evaluate or execute the direct output from `ejson2env`
without removing nonprintable characters.

### Credit
Thanks to security researcher [Demonia](https://hackerone.com/demonia?type=user)
for reporting this issue.
cvss_v3: 6.6
patched_versions:
- ">= 2.0.8"
related:
url:
- https://nvd.nist.gov/vuln/detail/CVE-2025-48069
- https://github.com/Shopify/ejson2env/security/advisories/GHSA-2c47-m757-32g6
- https://github.com/Shopify/ejson2env/commit/592b3ceea967fee8b064e70983e8cec087b6d840
- https://github.com/advisories/GHSA-2c47-m757-32g6
54 changes: 0 additions & 54 deletions gems/nokogiri/GHSA-vcc3-rw6f-jv97.yml

This file was deleted.

31 changes: 0 additions & 31 deletions gems/omniauth-saml/GHSA-hw46-3hmr-x9xv.yml

This file was deleted.

24 changes: 0 additions & 24 deletions gems/user_agent_parser/GHSA-pcqq-5962-hvcw.yml

This file was deleted.