Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crypto/internal/fips140: CVE-2022-29526 reported in golang.org/x/sys #71936

Open
CameronGo opened this issue Feb 24, 2025 · 2 comments
Open

crypto/internal/fips140: CVE-2022-29526 reported in golang.org/x/sys #71936

CameronGo opened this issue Feb 24, 2025 · 2 comments
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. vulncheck or vulndb Issues for the x/vuln or x/vulndb repo

Comments

@CameronGo
Copy link

I believe CVE-2022-29526 is already fixed in the current go version, however, when you download and extract the current Go v1.24.0, this CVE is reported due to the version of golang.org/x/sys reported in /usr/local/go/src/crypto/internal/fips140/bigmod/_asm/go.mod and /usr/local/go/src/crypto/internal/fips140/edwards25519/field/_asm/go.mod, which appears as follows:

go 1.19

require github.com/mmcloughlin/avo v0.4.0

require (
        golang.org/x/mod v0.4.2 // indirect
        golang.org/x/sys v0.0.0-20211030160813-b3129d9d1021 // indirect
        golang.org/x/tools v0.1.7 // indirect
        golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
)

It looks as though someone tried to submit a PR to fix some time ago, but nothing happened with it. #62452

@ianlancetaylor
Copy link
Member

In case it's not clear, there is no actual vulnerability here. The code you are describing is only used to generate other files in the standard library, it is not itself part of the standard library.

CC @golang/security @golang/release

@ianlancetaylor ianlancetaylor changed the title CVE-2022-29526 reported in golang.org/x/sys crypto/internal/fips140: CVE-2022-29526 reported in golang.org/x/sys Feb 24, 2025
@gabyhelp
Copy link

Related Issues

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

@gabyhelp gabyhelp added the vulncheck or vulndb Issues for the x/vuln or x/vulndb repo label Feb 24, 2025
@prattmic prattmic added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. vulncheck or vulndb Issues for the x/vuln or x/vulndb repo
Projects
None yet
Development

No branches or pull requests

4 participants