metsw24-max
0eba0e371f
fix(packages): validate module version in goproxy ParsePackage ( #38104 )
...
**Unvalidated version in goproxy ParsePackage**
The module version is read straight from the zip directory path and
never checked, so a crafted upload can leave a newline in it;
`EnumeratePackageVersions` then writes each stored version on its own
line for the `@v/list` endpoint, letting a module advertise fabricated
versions to `go` clients. Validated the parsed version with
`semver.IsValid` inside the parser, matching the version checks the
other package parsers already do.
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2026-06-15 19:14:14 +02:00
..
2026-05-30 08:31:14 +02:00
2026-02-01 10:35:51 +00:00
2026-05-26 15:49:31 -07:00
2026-05-31 03:33:13 +00:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2025-04-09 16:34:38 +00:00
2026-05-26 15:49:31 -07:00
2026-03-31 17:22:18 +00:00
2026-06-08 18:18:58 +00:00
2024-11-11 04:07:54 +08:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-06-08 18:18:58 +00:00
2026-06-13 04:43:25 +00:00
2026-06-12 07:35:59 +02:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-06-10 10:03:36 +02:00
2026-06-14 15:52:37 +02:00
2026-06-04 00:12:02 +08:00
2026-06-04 00:12:02 +08:00
2026-05-26 15:49:31 -07:00
2026-05-29 01:12:11 +00:00
2026-04-14 14:00:20 +00:00
2026-05-29 01:12:11 +00:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-06-15 10:29:41 +08:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-05-29 01:12:11 +00:00
2026-05-26 15:49:31 -07:00
2026-05-29 01:12:11 +00:00
2026-05-26 15:49:31 -07:00
2026-06-15 19:14:14 +02:00
2026-06-03 17:40:38 +00:00
2026-05-26 15:49:31 -07:00
2026-06-13 04:43:25 +00:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-05-28 06:14:52 +00:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-06-13 04:43:25 +00:00
2026-05-26 15:49:31 -07:00
2025-02-21 00:05:40 +08:00
2026-05-26 15:49:31 -07:00
2026-06-12 08:36:05 +08:00
2026-06-14 18:26:22 +00:00
2026-06-08 18:18:58 +00:00
2026-05-26 15:49:31 -07:00
2026-06-14 19:07:25 +00:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2025-01-21 18:57:07 +00:00
2026-05-26 15:49:31 -07:00
2026-06-08 17:16:22 +00:00
2026-06-14 15:52:37 +02:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-03-26 00:37:48 +08:00
2026-05-26 15:49:31 -07:00
2022-11-27 18:20:29 +00:00
2025-01-09 09:21:47 +08:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-02-20 16:12:22 +00:00
2026-06-04 13:38:56 +00:00