Skip to content

[Aikido] Fix 14 security issues in puma, json, net-imap and 4 more#302

Open
aikido-autofix[bot] wants to merge 1 commit into
mainfrom
fix/AIK-14955-update-packages-48213542-ts6e
Open

[Aikido] Fix 14 security issues in puma, json, net-imap and 4 more#302
aikido-autofix[bot] wants to merge 1 commit into
mainfrom
fix/AIK-14955-update-packages-48213542-ts6e

Conversation

@aikido-autofix

Copy link
Copy Markdown

Upgrade dependencies to fix DoS vulnerabilities in Puma (unbounded memory growth via PROXY protocol, source IP spoofing), JSON (buffer overflow, excessive nesting), and Net::IMAP (command injection).

✅ 14 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-11126
LOW
[sqlite3] A use-after-free vulnerability in aggregate function callbacks allows stepping prepared statements after database closure to trigger invalid memory reads and segmentation faults, causing denial of service in applications using custom aggregates.
AIKIDO-2026-11127
LOW
[sqlite3] User-defined SQLite functions with duplicate names and different argument counts can cause invalid memory reads and process crashes due to premature garbage collection of referenced Ruby blocks. This denial-of-service vulnerability affects applications using create_function or define_function.
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-11128
LOW
[websocket-driver] A malicious peer can send endless high-bit-set bytes to cause unbounded memory consumption through arbitrarily growing integer parsing in draft WebSocket protocol handlers, leading to denial of service.
AIKIDO-2026-11129
LOW
[websocket-driver] An attacker can send unlimited HTTP headers during WebSocket handshakes, causing unbounded memory consumption and leading to denial of service. The vulnerability affects TCP-based server and client integrations by exhausting process memory through a never-ending header list.
AIKIDO-2026-11130
LOW
[websocket-driver] A vulnerability allows attackers to bypass message size limits by sending compressed frames that exceed the configured maximum after decompression, potentially causing excessive memory consumption. The fix validates message size after extension processing rather than before decompression.
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 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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