Guard the DSP outbound calls against internal addresses
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 55/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- java
- Área
- backend, networking, security
Línea de trabajo
Start by locating the shared HTTP client used by the DSP dispatcher and tracing the provider and consumer outbound request paths. The implementation must reject resolved loopback, link-local, private, unique-local, any-local, and multicast addresses at connection time, disable redirects, support CIDR/host allow-listing, and avoid retrying fatal blocked calls. Verify the provider callback and consumer management-API flows, including the warning behavior when the opt-in guard is disabled.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Feature Request
A counterparty chooses the address that the connector sends its DSP messages to:
- Provider side. The
callbackAddressof aContractRequestMessage,ContractOfferMessageor
TransferRequestMessagebecomes thecounterPartyAddressof the new negotiation or transfer process. Every later
message is POSTed there by the state machine, with the connector's protocol token in theAuthorizationheader.
The address is only checked for presence, and not at all on theTransferRequestMessage. - Consumer side. The
counterPartyAddressof a catalog request, a negotiation or a transfer comes from the
management API. In a multi-tenant runtime, any tenant chooses it.
Any scheme, host or IP is accepted, and the shared HTTP client follows redirects. A counterparty that passes
authentication and policy evaluation can make the connector call internal addresses:
- the cloud metadata endpoint (
169.254.169.254); - the management, control and signaling ports of the connector itself;
- other services on the internal network.
On the provider side the SSRF is mostly blind. The counterparty still learns something from how the state machine
reacts: a timeout, a 4xx and a 5xx are handled differently. On the consumer side, the tenant reads back the catalog
response, and the response body of a failed call in the error detail.
Proposal
Add an opt-in guard to the HTTP client that the DSP dispatcher uses. When it is enabled, the guard rejects the
addresses a host resolves to if they are loopback, link-local, private, unique-local, any-local or multicast. The check
is done when the connection is made, so it also covers DNS rebinding. Redirects are disabled on that client. An
allow-list of CIDRs and hosts re-admits the internal ranges that partners are legitimately reached on. A call to a
blocked address fails as a fatal error, so it is not retried.
The guard is off by default, because many deployments and all the e2e tests reach their partners on private or
loopback addresses. The connector logs a warning at boot when the guard is off.
Which Areas Would Be Affected?
e.g., DPF, CI, build, transfer, etc.
Why Is the Feature Desired?
Are there any requirements?
Who will sponsor this feature?
Please @-mention the committer that will sponsor your feature.
Solution Proposal
If possible, provide a (brief!) solution proposal.
- Lenguaje dominante
- Java
- Estrellas
- 429
- Forks
- 302
- Merge medio
- 10 h 46 min
- PR fusionados (30 d)
- 75
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de eclipse-edc/Connector
-
triage
Dificultad 4/5 3-5 días Aptitud para principiantes 54/100
eclipse-edc/Connector#6293 ·
Los mantenedores suelen responder en 1 día
-
Implement conditional extension loading (DR 2026-11-24)Posiblemente ocupada @paullatzelsperger la tomó hace 5 días. Abiertofeature_request triage
eclipse-edc/Connector#6275 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
feature_request stale triage
Dificultad 5/5 Más de una semana Aptitud para principiantes 18/100
eclipse-edc/Connector#6235 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Don't hold a DB connection during token validation of incoming negotiation and transfer messagesAbiertofeature_request triage
Dificultad 4/5 3-5 días Aptitud para principiantes 54/100
eclipse-edc/Connector#6183 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
feature_request triage
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
eclipse-edc/Connector#6182 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de eclipse-edc/Connector
Issues similares
-
triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
eclipse-edc/IdentityHub#1296 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
cloudfoundry/uaa#4194 ·
Los mantenedores suelen responder en 1 día
-
ui: 進捗状況線ダイアログが日本語表示で英語のままAbiertoarea: ui priority: medium
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
tetsuji16/microProject#1721 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 2 días
-
The engine's "loaded, but had errors" message leaves out which library and line each error is inAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
cqframework/clinical_quality_language#1980 ·
Los mantenedores suelen responder en 3 días