Skip to content

[Aikido] Fix 12 security issues in net-imap, nokogiri, sqlite3 and 2 more#301

Open
aikido-autofix[bot] wants to merge 1 commit into
mainfrom
fix/AIK-14953-update-packages-48213551-jgno
Open

[Aikido] Fix 12 security issues in net-imap, nokogiri, sqlite3 and 2 more#301
aikido-autofix[bot] wants to merge 1 commit into
mainfrom
fix/AIK-14953-update-packages-48213551-jgno

Conversation

@aikido-autofix

Copy link
Copy Markdown

Upgrade net-imap, nokogiri, sqlite3, websocket-driver, and psych to fix CRLF injection, command injection, DoS, and signature validation bypass vulnerabilities.

✅ 12 CVEs resolved by this upgrade

This PR will resolve the following CVEs:

Issue Severity           Description
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.
GHSA-v2fc-qm4h-8hqv
LOW
[nokogiri] XSLT transform leaks small heap allocations when passed Ruby strings containing null bytes, potentially enabling denial of service attacks on long-running processes through sustained attacker-controlled input. Memory corruption and information disclosure do not occur.
GHSA-wx95-c6cv-8532
LOW
[nokogiri] Canonicalization failure in canonicalize methods returns empty string instead of raising an exception, allowing downstream libraries to accept invalid XML and bypass signature validation in SAML implementations.
GHSA-c4rq-3m3g-8wgx
LOW
[nokogiri] CSS selector tokenizer contains regular expressions vulnerable to ReDoS attacks on adversarial selectors, allowing attackers to cause exponential regex backtracking and denial of service through CSS parsing methods.
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-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