registry/internal/api/handlers/v0
Repository files (latest commit first)
Filename Latest commit message Latest commit date
adam jones 5746e7e99b
Remove OIDC authorization flow to fix data race vulnerability (#526)
## Summary

Fixes a concurrent map access vulnerability in the OIDC handler that
could cause remote unauthenticated DoS.

## Changes

- Removed OIDC authorization flow endpoints ( and )
- Removed the unsynchronized  map that caused the data race
- Kept only the OIDC token exchange endpoint ()
- Simplified  by removing OAuth2 flow dependencies

The map was being accessed concurrently by the start (write) and
callback (read/delete) endpoints without synchronization, causing
runtime panics. Since the token exchange flow doesn't require session
state, removing the authorization flow eliminates the vulnerability
entirely.
2025-09-22 13:41:32 +01:00
..
auth Remove OIDC authorization flow to fix data race vulnerability (#526) 2025-09-22 13:41:32 +01:00
edit.go Introduce serverId, rename id to versionId (#465) 2025-09-21 15:00:09 +03:00
edit_test.go Introduce serverId, rename id to versionId (#465) 2025-09-21 15:00:09 +03:00
health.go Add OpenTelemetry metrics instrumentation (#290) 2025-08-21 14:23:37 +01:00
health_test.go Add OpenTelemetry metrics instrumentation (#290) 2025-08-21 14:23:37 +01:00
ping.go api: Use Huma to generate swagger docs and parse JSON automatically (#262) 2025-08-13 16:57:55 +01:00
ping_test.go auth: New auth flow (#273) 2025-08-15 13:03:35 +01:00
publish.go Improve publish permission error message to show available permissions (#417) 2025-09-10 12:28:22 -07:00
publish_integration_test.go Clean up schema by simplifying version structure (#379) 2025-09-08 14:32:59 -07:00
publish_registry_validation_test.go Clean up schema by simplifying version structure (#379) 2025-09-08 14:32:59 -07:00
publish_test.go fix: validate server names to allow only single slash (#471) (#476) 2025-09-15 12:05:51 +01:00
response.go auth: New auth flow (#273) 2025-08-15 13:03:35 +01:00
servers.go Introduce serverId, rename id to versionId (#465) 2025-09-21 15:00:09 +03:00
servers_test.go Introduce serverId, rename id to versionId (#465) 2025-09-21 15:00:09 +03:00
telemetry_test.go Introduce serverId, rename id to versionId (#465) 2025-09-21 15:00:09 +03:00