Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSupply user-influenced map to app
-
DeliveryEmbed DynamoDB type-descriptor key (e.g. "N"/"B")
-
ExploitEncoder returns map verbatim, bypassing protocol
-
ExecutionAttacker-typed attribute stored in table
-
ImpactCorrupt data or crash readers on read-back
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V2 - Validation and Business Logic Specified type validation
|
| Exploitation Conditions | The required precondition is specific: the application must thread attacker-influenced map data - a decoded JSON body, a nested attribute, or an expression_attribute_values entry - into an ex_aws_dynamo write or query (e.g. put_item/query) so it reaches ExAws.Dynamo.Encoder.encode/2 in lib/ex_aws/dynamo/encoder.ex. The attacker's map must contain one of the DynamoDB type-descriptor keys ("S", "N", "B", "BOOL", "M", "L", "NS", "SS", "BS", "NULL"); the encoder then treats it as pre-encoded and returns it untouched. Affected versions are ex_aws_dynamo 2.0.0 up to but not including 4.3.0. Limiting factors: this is not a direct network attack on the library (CVSS AV:L, AT:P) - applications that only encode internally-constructed, validated data are not exposed, and the flaw is fully remediated only by upgrading to 4.3.0 as the vendor directs. |
| Impact | The vendor-supplied CVSS is 4.0 (base 5.9, Medium) with vector AV:L/AC:L/AT:P/PR:N/UI:N and impact VC:L/VI:H/VA:L - an integrity-dominant flaw, not a classic remote code execution. AV:L plus AT:P (a specific attack requirement) signals that exploitation is not a direct, standalone network hit against the library: it depends on the surrounding application actually threading attacker-influenced map data into a Dynamo write or query, so the real-world attack surface is gated by application data flow rather than by the library's mere presence. No EPSS score is provided in the input, there is no CISA KEV listing, and no public exploit or PoC reference is present - only vendor patch/advisory commits - so the only exploitation signal is theoretical. The vuln.today Decision label is 'this_month', consistent with a moderate, patch-on-a-normal-cycle priority rather than act_now/emergency. Net: this is a legitimately-real integrity and data-corruption issue (VI:H) with a secondary read-time denial-of-service, but it is a dependency-level correctness flaw whose severity for any given deployment hinges entirely on whether that application passes untrusted maps into ex_aws_dynamo - a high priority for apps that do, and low real risk for apps that only encode internally-constructed data. Note the input provides a CVSS 4.0 vector only (no 3.1) and no EPSS, so probabilistic exploitation ranking cannot be cross-checked. |
| Exploit ScenarioDerived | An Elixir application decodes a user-supplied JSON body (or a nested attribute, or an expression_attribute_values entry) into a map and threads it into an ex_aws_dynamo put_item or query. Because encode/2 returns any map that merely contains a DynamoDB type-descriptor key (e.g. %{"N" => ...}, %{"B" => ...}, %{"BOOL" => ...}) verbatim, the attacker - not the application - chooses the stored attribute's declared type, bytes and structure, enabling silent data corruption, injection of unsanctioned attributes, subversion of type-trusting authorization checks, or a decoder crash on read-back that denies that item to other users. No public exploit is identified at time of analysis; exploitation requires the application to route attacker-controlled maps into a Dynamo call. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 24, 2026
Type confusion in ex_aws_dynamo's ExAws.Dynamo.Encoder.encode/2 allows attacker-influenced map data to dictate the raw DynamoDB AttributeValue type, bytes, and structure in applications that pass such maps into DynamoDB writes or queries. Versions 2.0.0 through releases before 4.3.0 are affected, with primary impact on stored-data integrity, schema and authorization checks, and read-back availability for the affected item. The vendor has released a patch, and no public exploit was identified at time of analysis.
RemediationAI
Vendor-released patch: upgrade ex_aws_dynamo to 4.3.0 or later; the advisory is at https://github.com/ex-aws/ex_aws_dynamo/security/advisories/GHSA-9776-rh77-6wp6 and the patch commit is https://github.com/ex-aws/ex_aws_dynamo/commit/8d1f1d8da8ea36ca7119bbcc7e210762fe4a1413. The independent assessment states the flaw is fully remediated only by upgrading to 4.3.0, and applications whose encoder inputs are exclusively internally constructed and validated are not exposed; that data-flow boundary is not a substitute for the vendor patch. No complete workaround is identified in the supplied sources.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
ex_aws_dynamo is an Elixir client for AWS DynamoDB. Its encoder normally converts application data through the ExAws.Dynamo.Encodable protocol, but encode/2 in lib/ex_aws/dynamo/encoder.ex contains clauses for the DynamoDB type descriptors "S", "N", "B", "BOOL", "M", "L", "NS", "SS", "BS", and "NULL" that return any map containing the descriptor key verbatim. Because only key presence is checked, the value is not validated for the claimed type, extra keys survive, and nested content is not re-encoded. This is CWE-1287 improper validation of specified type of input: a map entering a put_item, query, or similar operation can become a raw DynamoDB AttributeValue under attacker control. The CPE entries cpe:2.3:a:ex-aws:ex_aws_dynamo:*:*:*:*:*:*:*:* are wildcard-version entries, while the advisory range pins affected releases to 2.0.0 before 4.3.0.
Know when Ex Aws gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N
AV:L/AC:H because exploitation depends on the application routing attacker-controlled maps into encode/2; PR:N as no DB/app privilege is needed; I:H for type confusion and data corruption, C:L and A:L for limited disclosure and read-back crash.
Primary rating from Vendor (EEF).
CVSS VectorVendor: EEF
DescriptionCVE.org
Improper Validation of Specified Type of Input in ExAws.Dynamo.Encoder.encode/2 in ex_aws_dynamo allows an attacker who controls map data passed into a DynamoDB call to choose the raw stored DynamoDB AttributeValue.
The encode/2 function in lib/ex_aws/dynamo/encoder.ex has one clause per DynamoDB type descriptor ("S", "N", "B", "BOOL", "M", "L", "NS", "SS", "BS", "NULL") that treats any map merely containing such a key as already encoded and returns it verbatim, bypassing the ExAws.Dynamo.Encodable protocol. The match is on the presence of the key alone, so no check is made that the value is well formed for the claimed type, and extra keys and arbitrary nested content survive untouched.
An application that threads user-influenced map data (a decoded JSON body, a nested attribute, or an expression_attribute_values entry) into a Dynamo write or query therefore lets the user, rather than the application, decide the stored attribute's declared type, its bytes, and its structure. This type confusion breaks round-trip integrity and enables silent persistent data corruption, injection of attributes and raw binaries the schema never sanctioned, subversion of application authorization checks that trust the decoded type of a value, and a decoder crash on read-back that denies reads of the affected item to other users of the same table.
This issue affects ex_aws_dynamo: from 2.0.0 before 4.3.0.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
ExAws, the Elixir AWS SDK, requests its IMDSv2 session token from the link-local metadata endpoint with redirect followi
Relative path traversal in the ex_aws Elixir S3 client (versions 2.1.7 up to, but not including, 2.8.0) allows an attack
XML injection in the ex_aws_s3 Elixir library (2.3.0 through 2.5.x) lets an attacker who controls any value that an appl
XML injection in ex_aws_s3 2.5.9 before 2.6.0 lets an attacker who can influence values passed to the bucket-configurati
Improper XML escaping in ExAws.S3's delete_multiple_objects/3 lets an attacker who controls an object version id injecte
Path injection in the ex_aws_ses Elixir library (2.3.0 through 2.4.x) lets attacker-influenced contact-list names steer
Server-side request forgery in the ex_aws Elixir AWS client can redirect signed S3 requests to an attacker-chosen host w
Presigned URL and presigned POST generation in the Elixir library ex_aws_s3 (2.0.0 through 2.5.x) can be redirected to a
S3 request tampering in the Elixir ex_aws library (2.1.2 up to but not including 2.8.0) allows attackers who control par
ACL grantee injection in the Elixir library ex_aws_s3 (2.0.0 up to but not including 2.6.0) allows an attacker who contr
XML injection in the Elixir library ex_aws_s3 (versions 2.0.2 up to but not including 2.6.0) allows forged S3 tag entrie
CRLF and header injection in the Elixir library ExAws.S3 lets an attacker-controlled S3 object key corrupt or split the
EUVD-2026-133906
GHSA-7fgj-xwfv-2vg2
NVD
CVE.org
EPSS
Exploit-DB