Skip to content

[Aikido] Fix 9 security issues in puma, json, net-imap and 2 more#300

Closed
aikido-autofix[bot] wants to merge 1 commit into
mainfrom
fix/AIK-14881-update-packages-47624849-s38f
Closed

[Aikido] Fix 9 security issues in puma, json, net-imap and 2 more#300
aikido-autofix[bot] wants to merge 1 commit into
mainfrom
fix/AIK-14881-update-packages-47624849-s38f

Conversation

@aikido-autofix

Copy link
Copy Markdown

Upgrade Puma, JSON, Net-IMAP, Msgpack, and Psych to fix DoS, memory exhaustion, heap corruption, source IP spoofing, and command injection vulnerabilities.

✅ 9 CVEs resolved by this upgrade

This PR will resolve the following CVEs:

Issue Severity           Description
CVE-2026-47736
LOW
[puma] PROXY protocol v1 support allows attackers to send continuous bytes without CRLF terminators, causing unbounded memory growth and CPU consumption that can lead to process OOM or denial of service through a single unauthenticated TCP connection.
CVE-2026-47737
LOW
[puma] Source IP spoofing vulnerability when PROXY protocol v1 is enabled with persistent connections; attackers can inject malicious PROXY headers between keep-alive requests to spoof REMOTE_ADDR, potentially bypassing security controls like rate limiting or access lists.
AIKIDO-2026-10977
LOW
[json] A heap buffer overflow vulnerability exists in the native generator when computing output buffer capacity for repeated indent/spacing strings, potentially causing memory corruption. Additionally, an unchecked depth option can cause denial of service through excessive nesting work.
AIKIDO-2026-10978
LOW
[json] A use-after-free vulnerability in JSON parsing allows concurrent mutation of the source string during parsing through Ruby-level hooks, potentially causing memory corruption and parsed value divergence. The patch freezes or copies the source buffer to prevent modification during parsing.
CVE-2026-47240
LOW
[net-imap] IMAP command injection vulnerability where non-synchronizing literals in raw data arguments can be interpreted as new commands on servers lacking LITERAL+/LITERAL-/IMAP4rev2 support, enabling arbitrary IMAP command execution. Affects search, sort, thread, and fetch commands when processing unvalidated user input.
CVE-2026-47242
LOW
[net-imap] The #id and #enable commands fail to validate arguments, allowing attackers to inject arbitrary IMAP commands via CRLF sequences. This could enable command injection attacks when untrusted input is passed to these methods, potentially leading to unauthorized mailbox operations.
CVE-2026-47241
LOW
[net-imap] A regex validation bypass in IMAP commands allows attackers to inject literal-continuation markers (e.g., {0}) that cause command absorption and connection hangs, resulting in denial of service. The vulnerability affects search, sort, thread, and fetch commands when processing user-controlled input.
AIKIDO-2026-11117
LOW
[msgpack] A use-after-free vulnerability in the Buffer clear method fails to reset cursor pointers, allowing freed memory pages to be reused and causing data corruption or information disclosure between buffers in the same process.
AIKIDO-2026-11069
LOW
[psych] A heap out-of-bounds write vulnerability exists in the YAML parser's IO reader callback, which fails to validate the length of data returned by IO#read operations. This allows attackers to trigger a buffer overflow and achieve remote code execution through Psych.load, Psych.safe_load, or Psych.parse.
🔗 Related Tasks

@codecov

codecov Bot commented Jun 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@aikido-autofix

Copy link
Copy Markdown
Author

Closed by Aikido: a new AutoFix has been created → #302

@aikido-autofix aikido-autofix Bot closed this Jun 11, 2026
@aikido-autofix aikido-autofix Bot deleted the fix/AIK-14881-update-packages-47624849-s38f branch June 11, 2026 22:57
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.

0 participants