Skip to content

Fix CVEs in Version v1.10.0 #733

Open

Description

@FrankAnk

Trivy detects CVEs in Version v1.10.0,
most of them can be fixed by upgrading stdlib from "1.26.0" to "1.26.1" and docker from "v28.5.2+incompatible" to "29.3.1"

Activity

  1. shueybubbles commented on Apr 13, 2026

    @shueybubbles
    Contributor

    some of those links give 404

  2. FrankAnk commented on Apr 13, 2026

    @FrankAnk
    Author

    Yes correct. Some seem to have been removed.
    I`ve corrected the list.

  3. dlevy-msft-sql commented on Apr 17, 2026

    @dlevy-msft-sql
    Contributor

    Thanks for the detailed report. Here's where things stand:

    We're tracking this for the next release. govulncheck is now part of our CI pipeline to catch these proactively going forward.

  4. esetnik commented on Jul 22, 2026

    @esetnik

    Adding the current CVE set scanners report against the v1.10.0 release binaries, for anyone tracking: Go stdlib go1.26.0 → CVE-2026-39822 (os.Root), CVE-2026-27145 (crypto/x509 hostname parsing), CVE-2026-42505 (crypto/tls ECH); golang.org/x/crypto v0.48.0 → CVE-2026-39835 (ssh CertChecker panic). All are fixed by a release built on Go >= 1.26.5 with current deps — same toolchain-bump ask as the original issue. Thanks!

  5. markusboehme commented on Jul 27, 2026

    @markusboehme

    We're tracking this for the next release. govulncheck is now part of our CI pipeline to catch these proactively going forward.

    David Levy (@dlevy-msft-sql) Is there a release roadmap or ETA for the next release that can be shared?

  6. scsaba commented on Aug 26, 2026

    @scsaba

    David Levy (@dlevy-msft-sql) could you please share any update on this issue?

    Spectra Assure reported the following vulnerabilities in sqlcmd.exe:

    id cvss-score purl product-name product-ver introduced-ver introduced-at resolved-ver resolved-at exploit-exists exploit-malware patch-mandate fixable ai-summary
    CVE-2026-25679 7.5 pkg:golang/net/[email protected]?goos=windows net/url 1.26.0 1.26.0-0 1.26.1 2026-03-06T00:26:39+00:00 FALSE FALSE FALSE TRUE url.Parse insufficiently validates the host/authority component, accepting some invalid URLs.
    CVE-2026-25680 6.5 pkg:golang/golang.org/x/[email protected]?goos=windows golang.org/x/net 0.51.0 0.55.0 FALSE FALSE FALSE TRUE Go Net HTML parser is vulnerable to denial of service due to excessive CPU time consumption when parsing arbitrary HTML.
    CVE-2026-25681 6.1 pkg:golang/golang.org/x/[email protected]?goos=windows golang.org/x/net 0.51.0 0.55.0 FALSE FALSE FALSE TRUE Parsing arbitrary HTML can result in an unexpected HTML tree, potentially leading to XSS attacks.
    CVE-2026-27136 6.1 pkg:golang/golang.org/x/[email protected]?goos=windows golang.org/x/net 0.51.0 0.55.0 FALSE FALSE FALSE TRUE Parsing arbitrary HTML can result in an unexpected HTML tree, potentially leading to XSS attacks.
    CVE-2026-27137 7.5 pkg:golang/crypto/[email protected]?goos=windows crypto/x509 1.26.0 1.26.0-0 1.26.1 2026-03-06T00:26:39+00:00 FALSE FALSE FALSE TRUE Certificate validation issue allows multiple email address constraints with common local portions but different domain portions to be improperly applied.
    CVE-2026-27138 5.9 pkg:golang/crypto/[email protected]?goos=windows crypto/x509 1.26.0 1.26.0-0 1.26.1 2026-03-06T00:26:39+00:00 FALSE FALSE FALSE TRUE Certificate verification can panic when a certificate in the chain has an empty DNS name and another certificate in the chain has excluded name constraints, potentially crashing programs using TLS.
    CVE-2026-27139 2.5 pkg:golang/[email protected]?goos=windows os 1.26.0 1.26.0-0 1.26.1 2026-03-06T00:26:39+00:00 FALSE FALSE FALSE TRUE File on Unix platforms allows reading metadata from arbitrary locations outside the root directory via File.ReadDir or File.Readdir.
    CVE-2026-27142 6.1 pkg:golang/html/[email protected]?goos=windows html/template 1.26.0 1.26.0-0 1.26.1 2026-03-06T00:26:39+00:00 FALSE FALSE FALSE TRUE HTML meta tags are not properly escaped, allowing XSS attacks if the meta tag has an http-equiv attribute with the value 'refresh'.
    CVE-2026-27145 6.5 pkg:golang/crypto/[email protected]?goos=windows crypto/x509 1.26.0 1.26.0-0 1.26.4 2026-06-02T18:57:22+00:00 FALSE FALSE FALSE TRUE x509.Certificate VerifyHostname has a quadratic scaling issue with large DNS Subject Alternative Name lists, leading to excessive looping.
    CVE-2026-32280 7.5 pkg:golang/crypto/[email protected]?goos=windows crypto/x509 1.26.0 1.26.0-0 1.26.2 2026-04-07T19:38:49+00:00 FALSE FALSE FALSE TRUE crypto/x509 and crypto/tls are vulnerable to a denial of service due to excessive work done during chain building with a large number of intermediate certificates.
    CVE-2026-32281 7.5 pkg:golang/crypto/[email protected]?goos=windows crypto/x509 1.26.0 1.26.0-0 1.26.2 2026-04-07T19:38:49+00:00 FALSE FALSE FALSE TRUE Certificate validation is unexpectedly inefficient when processing chains with a large number of policy mappings, potentially causing denial of service.
    CVE-2026-32283 7.5 pkg:golang/crypto/[email protected]?goos=windows crypto/tls 1.26.0 1.26.0-0 1.26.2 2026-04-07T19:38:49+00:00 FALSE FALSE FALSE TRUE TLS connection can deadlock due to multiple key update messages, leading to a denial of service.
    CVE-2026-32289 6.1 pkg:golang/html/[email protected]?goos=windows html/template 1.26.0 1.26.0-0 1.26.2 2026-04-07T19:38:49+00:00 FALSE FALSE FALSE TRUE JS template literals in unspecified product are vulnerable to XSS due to incorrect tracking of context and brace depth.
    CVE-2026-33810 8.2 pkg:golang/crypto/[email protected]?goos=windows crypto/x509 1.26.0 1.26.0-0 1.26.2 2026-04-07T19:38:49+00:00 FALSE FALSE FALSE TRUE Certificate validation issue allows excluded DNS constraints to be bypassed when using wildcard DNS SANs with different case than the constraint.
    CVE-2026-33811 7.5 pkg:golang/[email protected]?goos=windows net 1.26.0 1.26.0-0 1.26.3 2026-05-07T16:14:14+00:00 FALSE FALSE FALSE TRUE LookupCNAME with the cgo DNS resolver is vulnerable to a double-free of C memory, leading to a crash when handling very long CNAME responses.
    CVE-2026-33814 7.5 pkg:golang/golang.org/x/[email protected]?goos=windows golang.org/x/net 0.51.0 0.53.0 FALSE FALSE FALSE TRUE HTTP/2 transport enters an infinite loop when receiving a SETTINGS_MAX_FRAME_SIZE with a value of 0.
    CVE-2026-33814 7.5 pkg:golang/net/[email protected]?goos=windows net/http 1.26.0 0.53.0 FALSE FALSE FALSE TRUE HTTP/2 transport enters an infinite loop when receiving a SETTINGS_MAX_FRAME_SIZE with a value of 0.
    CVE-2026-33997 8.1 pkg:golang/github.com/docker/[email protected]%2Bincompatible?goos=windows github.com/docker/docker 28.5.2+incompatible 0.0.0-0.20170529135850-d192db0d9350 2017-05-29T13:58:50+00:00 FALSE FALSE FALSE FALSE Moby's plugin privilege validation is bypassed due to an error in the daemon's logic, allowing incorrect privilege sets to be accepted.
    CVE-2026-34040 7.8 pkg:golang/github.com/docker/[email protected]%2Bincompatible?goos=windows github.com/docker/docker 28.5.2+incompatible 0.0.0-0.20170529135850-d192db0d9350 2017-05-29T13:58:50+00:00 TRUE FALSE FALSE FALSE Moby allows attackers to bypass authorization plugins (AuthZ) due to a vulnerability in handling oversized request bodies.
    CVE-2026-39821 9.6 pkg:golang/golang.org/x/[email protected]?goos=windows golang.org/x/net 0.51.0 0.55.0 FALSE FALSE FALSE TRUE idna package incorrectly accepts Punycode-encoded labels, leading to potential privilege escalation.
    CVE-2026-39822 7.8 pkg:golang/[email protected]?goos=windows os 1.26.0 1.26.0-0 1.26.5 2026-07-07T19:29:04+00:00 FALSE FALSE FALSE TRUE os.Root improperly follows symlinks to locations outside of the Root on Unix systems.
    CVE-2026-39823 6.1 pkg:golang/html/[email protected]?goos=windows html/template 1.26.0 1.26.0-0 1.26.3 2026-05-07T16:14:14+00:00 FALSE FALSE FALSE TRUE A vulnerability in URL escaping inside a tag's attribute could lead to XSS.
    CVE-2026-39826 6.1 pkg:golang/html/[email protected]?goos=windows html/template 1.26.0 1.26.0-0 1.26.3 2026-05-07T16:14:14+00:00 FALSE FALSE FALSE TRUE Template execution incorrectly escapes data when 'type' attribute is empty or contains ASCII whitespace.
    CVE-2026-39836 7.5 pkg:golang/[email protected]?goos=windows net 1.26.0 1.26.0-0 1.26.3 2026-05-07T16:14:14+00:00 FALSE FALSE FALSE TRUE Dial and LookupPort functions in Go panic on Windows when provided with an input containing a NUL (0).
    CVE-2026-41567 7.2 pkg:golang/github.com/docker/[email protected]%2Bincompatible?goos=windows github.com/docker/docker 28.5.2+incompatible 0.0.0-0.20170529135850-d192db0d9350 2017-05-29T13:58:50+00:00 FALSE FALSE FALSE FALSE Docker is vulnerable to arbitrary code execution with full daemon privileges due to incorrect ordering of operations when resolving decompression binaries from a container's filesystem.
    CVE-2026-41568 6.1 pkg:golang/github.com/docker/[email protected]%2Bincompatible?goos=windows github.com/docker/docker 28.5.2+incompatible 0.0.0-0.20170529135850-d192db0d9350 2017-05-29T13:58:50+00:00 FALSE FALSE FALSE FALSE Docker is affected by a race condition in docker cp, allowing creation of arbitrary empty files on the host via symlink swap.
    CVE-2026-42306 7.2 pkg:golang/github.com/docker/[email protected]%2Bincompatible?goos=windows github.com/docker/docker 28.5.2+incompatible 0.0.0-0.20170529135850-d192db0d9350 2017-05-29T13:58:50+00:00 FALSE FALSE FALSE FALSE Docker is affected by a race condition during docker cp mount setup, allowing a malicious container to redirect a bind mount target to an arbitrary host path.
    CVE-2026-42502 6.1 pkg:golang/golang.org/x/[email protected]?goos=windows golang.org/x/net 0.51.0 0.55.0 FALSE FALSE FALSE TRUE Parsing arbitrary HTML can result in an unexpected HTML tree, potentially leading to XSS attacks.
    CVE-2026-42504 7.5 pkg:golang/[email protected]?goos=windows mime 1.26.0 1.26.0-0 1.26.4 2026-06-02T18:57:22+00:00 FALSE FALSE FALSE TRUE Decoding maliciously-crafted MIME headers can consume excessive CPU in unspecified products.
    CVE-2026-42505 5.3 pkg:golang/crypto/[email protected]?goos=windows crypto/tls 1.26.0 1.26.0-0 1.26.5 2026-07-07T19:29:04+00:00 FALSE FALSE FALSE TRUE Encrypted Client Hello handshakes can be de-anonymized by a passive network observer due to disclosure of pre-shared key identities.
    CVE-2026-42506 6.1 pkg:golang/golang.org/x/[email protected]?goos=windows golang.org/x/net 0.51.0 0.55.0 FALSE FALSE FALSE TRUE Render is vulnerable to cross-site scripting (XSS) attacks due to improper sanitization of user-controllable input.
    CVE-2026-42507 5.3 pkg:golang/net/[email protected]?goos=windows net/textproto 1.26.0 1.26.0-0 1.26.4 2026-06-02T18:57:22+00:00 FALSE FALSE FALSE TRUE Net/textproto functions may include user input in error messages, potentially allowing attackers to inject misleading content.
    CVE-2026-46600 7.5 pkg:golang/golang.org/x/[email protected]?goos=windows golang.org/x/net 0.51.0 0.56.0 FALSE FALSE FALSE TRUE Parsing an invalid SVCB or HTTPS RR can cause a panic due to buffer overflow.
  7. esetnik commented on Sep 12, 2026

    @esetnik

    [Written by Claude]

    Three additional published x/crypto advisories are relevant to the dependency refresh for the next release:

    The v1.10.0 tag pins x/crypto v0.48.0; main currently pins v0.54.0, so neither dependency version contains all three fixes. Please include x/crypto v0.56.0 or newer in the next official release and check the release binaries with govulncheck.

    These advisories concern SSH paths. This is a dependency-version report, not a claim that the affected SSH symbols are reachable through sqlcmd.

  8. SQLHorizons commented on Oct 5, 2026

    @SQLHorizons

    One data point for the release. Built from main at b359e41 for linux/arm64 with Go 1.26.8, Trivy 0.74.0 reports one HIGH (golang.org/x/crypto 0.54.0, CVE-2026-56854). With x/crypto at 0.57.0 it reports none at HIGH or CRITICAL, and the binary runs scripts against SQL Server 2022 as expected. The 1.10.0 release binary reports 40 the same way. Could 1.11.0 (#740) include the x/crypto bump, and is anything blocking it that users could help with?

  9. djkormo commented on Oct 25, 2026

    @djkormo

    My PR #820 is ready to review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions