Search criteria

1 vulnerability by ex-aws

CVE-2026-47074 (GCVE-0-2026-47074)

Vulnerability from cvelistv5 – Published: 2026-05-28 09:05 – Updated: 2026-05-29 04:40
VLAI
Title
ex_aws_sns SigningCertURL not validated in verify_message/1
Summary
Improper Certificate Validation vulnerability in ex-aws ex_aws_sns (ExAws.SNS, ExAws.SNS.PublicKeyCache modules) allows Signature Spoofing by Improper Validation. This vulnerability is associated with program files lib/ex_aws/sns.ex, lib/ex_aws/sns/public_key_cache.ex and program routines 'Elixir.ExAws.SNS':verify_message/1, 'Elixir.ExAws.SNS.PublicKeyCache':get/1. 'Elixir.ExAws.SNS':verify_message/1 fetches the signing certificate from the SigningCertURL field of the incoming SNS message without validating that the URL uses HTTPS or that the host matches an AWS-owned SNS certificate domain. An unauthenticated attacker who can POST to an endpoint that calls verify_message/1 can supply an attacker-controlled SigningCertURL, sign a forged SNS message with their own key, and cause the function to return :ok, completely bypassing SNS signature verification. This issue affects ex_aws_sns: from 2.0.1 before 2.3.5.
CWE
  • CWE-295 - Improper Certificate Validation
Assigner
EEF
Impacted products
Vendor Product Version
ex-aws ex_aws_sns Affected: 2.0.1 , < 2.3.5 (semver)
    cpe:2.3:a:ex_aws_sns_project:ex_aws_sns:*:*:*:*:*:*:*:*
Create a notification for this product.
ex-aws ex_aws_sns Affected: a7ec21880943f4dac1d59bda557db0ffcd2b61fa , < 1853d280b152d10384a1e21a22cf22152a60be48 (git)
    cpe:2.3:a:ex_aws_sns_project:ex_aws_sns:*:*:*:*:*:*:*:*
Create a notification for this product.
Credits
Peter Ullrich Bernard Duggan Jonatan Männchen / EEF Jonatan Männchen / EEF
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-47074",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-05-28T10:29:45.193313Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-05-28T10:31:15.111Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://hex.pm",
          "cpes": [
            "cpe:2.3:a:ex_aws_sns_project:ex_aws_sns:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "\u0027Elixir.ExAws.SNS\u0027",
            "\u0027Elixir.ExAws.SNS.PublicKeyCache\u0027"
          ],
          "packageName": "ex_aws_sns",
          "packageURL": "pkg:hex/ex_aws_sns",
          "product": "ex_aws_sns",
          "programFiles": [
            "lib/ex_aws/sns.ex",
            "lib/ex_aws/sns/public_key_cache.ex"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.ExAws.SNS\u0027:verify_message/1"
            },
            {
              "name": "\u0027Elixir.ExAws.SNS.PublicKeyCache\u0027:get/1"
            }
          ],
          "repo": "https://github.com/ex-aws/ex_aws_sns",
          "vendor": "ex-aws",
          "versions": [
            {
              "lessThan": "2.3.5",
              "status": "affected",
              "version": "2.0.1",
              "versionType": "semver"
            }
          ]
        },
        {
          "collectionURL": "https://github.com",
          "cpes": [
            "cpe:2.3:a:ex_aws_sns_project:ex_aws_sns:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "\u0027Elixir.ExAws.SNS\u0027",
            "\u0027Elixir.ExAws.SNS.PublicKeyCache\u0027"
          ],
          "packageName": "ex-aws/ex_aws_sns",
          "packageURL": "pkg:github/ex-aws/ex_aws_sns",
          "product": "ex_aws_sns",
          "programFiles": [
            "lib/ex_aws/sns.ex",
            "lib/ex_aws/sns/public_key_cache.ex"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.ExAws.SNS\u0027:verify_message/1"
            },
            {
              "name": "\u0027Elixir.ExAws.SNS.PublicKeyCache\u0027:get/1"
            }
          ],
          "repo": "https://github.com/ex-aws/ex_aws_sns",
          "vendor": "ex-aws",
          "versions": [
            {
              "lessThan": "1853d280b152d10384a1e21a22cf22152a60be48",
              "status": "affected",
              "version": "a7ec21880943f4dac1d59bda557db0ffcd2b61fa",
              "versionType": "git"
            }
          ]
        }
      ],
      "configurations": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eThe application must expose an HTTP endpoint that calls \u003ctt\u003e\u0027Elixir.ExAws.SNS\u0027:verify_message/1\u003c/tt\u003e on incoming request bodies.\u003c/p\u003e"
            }
          ],
          "value": "The application must expose an HTTP endpoint that calls \u0027Elixir.ExAws.SNS\u0027:verify_message/1 on incoming request bodies."
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:ex_aws_sns_project:ex_aws_sns:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "2.3.5",
                  "versionStartIncluding": "2.0.1",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "AND"
            }
          ],
          "operator": "OR"
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Peter Ullrich"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Bernard Duggan"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Jonatan M\u00e4nnchen / EEF"
        },
        {
          "lang": "en",
          "type": "analyst",
          "value": "Jonatan M\u00e4nnchen / EEF"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "Improper Certificate Validation vulnerability in ex-aws ex_aws_sns (\u003ctt\u003eExAws.SNS\u003c/tt\u003e, \u003ctt\u003eExAws.SNS.PublicKeyCache\u003c/tt\u003e modules) allows Signature Spoofing by Improper Validation.\u003cp\u003eThis vulnerability is associated with program files \u003ctt\u003elib/ex_aws/sns.ex\u003c/tt\u003e, \u003ctt\u003elib/ex_aws/sns/public_key_cache.ex\u003c/tt\u003e and program routines \u003ctt\u003e\u0027Elixir.ExAws.SNS\u0027:verify_message/1\u003c/tt\u003e, \u003ctt\u003e\u0027Elixir.ExAws.SNS.PublicKeyCache\u0027:get/1\u003c/tt\u003e.\u003c/p\u003e\u003cp\u003e\u003ctt\u003e\u0027Elixir.ExAws.SNS\u0027:verify_message/1\u003c/tt\u003e fetches the signing certificate from the \u003ctt\u003eSigningCertURL\u003c/tt\u003e field of the incoming SNS message without validating that the URL uses HTTPS or that the host matches an AWS-owned SNS certificate domain. An unauthenticated attacker who can POST to an endpoint that calls \u003ctt\u003everify_message/1\u003c/tt\u003e can supply an attacker-controlled \u003ctt\u003eSigningCertURL\u003c/tt\u003e, sign a forged SNS message with their own key, and cause the function to return \u003ctt\u003e:ok\u003c/tt\u003e, completely bypassing SNS signature verification.\u003c/p\u003e\u003cp\u003eThis issue affects ex_aws_sns: from 2.0.1 before 2.3.5.\u003c/p\u003e"
            }
          ],
          "value": "Improper Certificate Validation vulnerability in ex-aws ex_aws_sns (ExAws.SNS, ExAws.SNS.PublicKeyCache modules) allows Signature Spoofing by Improper Validation.\n\nThis vulnerability is associated with program files lib/ex_aws/sns.ex, lib/ex_aws/sns/public_key_cache.ex and program routines \u0027Elixir.ExAws.SNS\u0027:verify_message/1, \u0027Elixir.ExAws.SNS.PublicKeyCache\u0027:get/1.\n\n\u0027Elixir.ExAws.SNS\u0027:verify_message/1 fetches the signing certificate from the SigningCertURL field of the incoming SNS message without validating that the URL uses HTTPS or that the host matches an AWS-owned SNS certificate domain. An unauthenticated attacker who can POST to an endpoint that calls verify_message/1 can supply an attacker-controlled SigningCertURL, sign a forged SNS message with their own key, and cause the function to return :ok, completely bypassing SNS signature verification.\n\nThis issue affects ex_aws_sns: from 2.0.1 before 2.3.5."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-473",
          "descriptions": [
            {
              "lang": "en",
              "value": "CAPEC-473 Signature Spoofing by Improper Validation"
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "attackComplexity": "LOW",
            "attackRequirements": "NONE",
            "attackVector": "NETWORK",
            "baseScore": 8.7,
            "baseSeverity": "HIGH",
            "privilegesRequired": "NONE",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "NONE",
            "subIntegrityImpact": "NONE",
            "userInteraction": "NONE",
            "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N",
            "version": "4.0",
            "vulnAvailabilityImpact": "NONE",
            "vulnConfidentialityImpact": "NONE",
            "vulnIntegrityImpact": "HIGH"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-295",
              "description": "CWE-295 Improper Certificate Validation",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-29T04:40:43.232Z",
        "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "shortName": "EEF"
      },
      "references": [
        {
          "tags": [
            "vendor-advisory",
            "related"
          ],
          "url": "https://github.com/ex-aws/ex_aws_sns/security/advisories/GHSA-8jgf-23q5-x7xx"
        },
        {
          "tags": [
            "related"
          ],
          "url": "https://cna.erlef.org/cves/CVE-2026-47074.html"
        },
        {
          "tags": [
            "related"
          ],
          "url": "https://osv.dev/vulnerability/EEF-CVE-2026-47074"
        },
        {
          "tags": [
            "patch"
          ],
          "url": "https://github.com/ex-aws/ex_aws_sns/commit/1853d280b152d10384a1e21a22cf22152a60be48"
        }
      ],
      "source": {
        "discovery": "EXTERNAL"
      },
      "title": "ex_aws_sns SigningCertURL not validated in verify_message/1",
      "x_generator": {
        "engine": "cvelib 1.8.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
    "assignerShortName": "EEF",
    "cveId": "CVE-2026-47074",
    "datePublished": "2026-05-28T09:05:54.815Z",
    "dateReserved": "2026-05-18T17:28:08.322Z",
    "dateUpdated": "2026-05-29T04:40:43.232Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}