Vulnerabilities in pkg:golang/github.com/moov-io/signedxml

PACKAGE
Advisory Identifier: GHSA-jqvr-j2vg-gjrv
Advisory Summary

CVE-2023-34205 is a CRITICAL (CVSS 9.1) signature validation bypass vulnerability (CWE-347: Improper Verification of Cryptographic Signature) affecting Github.com/moov io/signedxml libraries in the Go ecosystem. The issue involves signature validation bypass in github.com/moov-io/signedxml. Remediation is available by upgrading affected packages to version 1.1.0.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/moov-io/signedxml

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/github.com/moov-io/signedxml. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-jqvr-j2vg-gjrv CVE-2023-34205 CRITICAL Signature validation bypass in github.com/moov-io/signedxml

CVE-2023-34205 at a Glance

CVE Identifier CVE-2023-34205
GHSA Identifier GHSA-jqvr-j2vg-gjrv
Severity CRITICAL
CVSS v3.1 Base Score 9.1
CWE Classification CWE-347: Improper Verification of Cryptographic Signature
Affected Product Github.com/moov io/signedxml
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 9.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2023-34205

To remediate this vulnerability, upgrade all affected Github.com/moov io/signedxml dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/moov-io/signedxml fixed: 1.1.0
Upgrade github.com/moov-io/signedxml to 1.1.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/moov-io/signedxml

How to Check if You Are Affected

To determine whether your application is affected by CVE-2023-34205, inspect your project dependencies for Github.com/moov io/signedxml:

inspect dependencies for github.com/moov-io/signedxml

Analyze the terminal output to locate any version of Github.com/moov io/signedxml in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.1.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-347: Improper Verification of Cryptographic Signature, where the product does not verify, or incorrectly verifies, the cryptographic signature for data. In Github.com/moov io/signedxml, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

In Moov signedxml through 1.0.0, parsing the raw XML (as received) can result in different output than parsing the canonicalized XML. Thus, signature validation can be bypassed via a Signature Wrapping attack (aka XSW).

CVE-2023-34205 Affected Github.com/moov io/signedxml Versions

1 component(s)
Fixed Versions:
1.1.0
Product / Package Ecosystem Affected Versions Fixed Version
github.com/moov-io/signedxml
Go
< 1.1.0
1.1.0

References

Frequently Asked Questions

What is CVE-2023-34205?
CVE-2023-34205 is a security vulnerability in Github.com/moov io/signedxml involving Signature validation bypass in github.com/moov-io/signedxml under CWE-347: Improper Verification of Cryptographic Signature.
Which Github.com/moov io/signedxml versions are affected?
Affected versions include releases prior to 1.1.0 across affected packages: github.com/moov-io/signedxml.
What version fixes CVE-2023-34205?
Upgrading to 1.1.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/moov-io/signedxml affected?
Yes, github.com/moov-io/signedxml is affected in releases prior to 1.1.0. Upgrade your dependency to 1.1.0 or later.
What is the CVSS score of CVE-2023-34205?
CVE-2023-34205 has a CVSS v3.1 base score of 9.1 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N.
What CWE is associated with CVE-2023-34205?
CVE-2023-34205 is classified under CWE-347: Improper Verification of Cryptographic Signature (The product does not verify, or incorrectly verifies, the cryptographic signature for data.).
How can I check Go dependencies for CVE-2023-34205?
Run the dependency tree command: 'inspect dependencies for github.com/moov-io/signedxml'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-jqvr-j2vg-gjrv",
  "modified" : "2025-01-13T15:41:52Z",
  "published" : "2023-05-30T06:30:25Z",
  "aliases" : [ "CVE-2023-34205" ],
  "summary" : "Signature validation bypass in github.com/moov-io/signedxml",
  "details" : "In Moov signedxml through 1.0.0, parsing the raw XML (as received) can result in different output than parsing the canonicalized XML. Thus, signature validation can be bypassed via a Signature Wrapping attack (aka XSW).",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/moov-io/signedxml"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.1.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-34205"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/moov-io/signedxml/issues/23"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/moov-io/signedxml/pull/25"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/moov-io/signedxml"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/moov-io/signedxml/releases/tag/v1.1.0"
  }, {
    "type" : "WEB",
    "url" : "https://pkg.go.dev/vuln/GO-2023-1826"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-347" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-06-06T01:39:24Z",
    "nvd_published_at" : "2023-05-30T04:15:10Z"
  }
}