Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-62270

published medium CVSS 4.0 · 5.9

Type confusion via structural idempotency guard in ExAws.Dynamo.Encoder.encode/2

Published
24 Nov 2026, 12:59:00 UTC
Updated
01 Dec 2026, 19:38:26 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
ex-aws — ex_aws_dynamo2.0.0 to < 4.3.0 · Other versions: unaffected Affected Not stated EEF
ex-aws — ex-aws/ex_aws_dynamoex_aws_dynamo · a760463986f056937e61f5cd1c14e068c259d336 to < 8d1f1d8da8ea36ca7119bbcc7e210762fe4a1413 · Other versions: unaffected Affected Not stated EEF

Description

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.

en · EEF · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
5.9 / 10
Severity
medium
Provider
EEF · cna
Vector string
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
Scenarios
en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
ex-aws ex_aws_dynamo 2.0.0 to < 4.3.0 (affected · semver)Default: unaffected EEF · cna
ex-aws ex_aws_dynamo a760463986f056937e61f5cd1c14e068c259d336 to < 8d1f1d8da8ea36ca7119bbcc7e210762fe4a1413 (affected · git)Default: unaffected EEF · cna

Weaknesses

1
  • CWE-1287 CWE-1287 Improper Validation of Specified Type of Input (EEF · cna)

References

5

Provider assertions

2

EEF · cna

Type confusion via structural idempotency guard in ExAws.Dynamo.Encoder.encode/2

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
2da05831f54a8cd20ccab213bf0f420b75bf6f8501253a48628351f04a8e0cff
Ingested
01 Dec 2026, 19:45:58 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected