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

encoding/xml: invalid characters in comments, processing instructions, or directives #68654

Closed
maceonthompson opened this issue Jul 30, 2024 · 5 comments
Assignees
Labels
Milestone

Comments

@maceonthompson
Copy link

The encoding/xml package does not properly validate that the characters within comments, processing instructions, or directives are properly within the CharData range as defined by the XML specification.

Thanks to Demi Marie Obenour of Invisible Things Lab for reporting this issue.

This is CVE-2024-34154

@maceonthompson
Copy link
Author

@gopherbot please open backport issues, this is a minor security issue.

@gopherbot
Copy link
Contributor

gopherbot commented Jul 30, 2024

Backport issue(s) opened: #68656 (for 1.23), #68657 (for 1.22).

Remember to create the cherry-pick CL(s) as soon as the patch is submitted to master, according to https://go.dev/wiki/MinorReleases.

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/601815 mentions this issue: encoding/xml: validate all chars neccessary

@dmitshur dmitshur modified the milestones: Go1.24, Go1.23 Jul 30, 2024
@mknyszek mknyszek modified the milestones: Go1.23, Go1.24 Jul 31, 2024
@cherrymui
Copy link
Member

Just checking in: this is marked as a release blocker, what is the status for this? Thanks.

@maceonthompson
Copy link
Author

Closing issue as we're approaching this as a proposal instead of a direct change. See #69503 for more info/updates on the change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants