Descrizione
In Eclipse Apoapsis ORT Server Credential Helper versions 0.1.0 to 0.2.0, as shipped with Eclipse Apoapsis ORT Server versions 0.65.0 to 0.83.0, the Git credential helper selects stored credentials by re-parsing the requested URL with a regular expression that can be confused by `:` and `@` characters in the URL path. An attacker who can make an ORT Server worker fetch a crafted Git URL, for example through a submodule of a repository that is analyzed, can obtain credentials stored for a different host, such as `github.com`, which Git then sends to the attacker-controlled server. The issue is fixed in Eclipse Apoapsis ORT Server Credential Helper 0.2.1 and Eclipse Apoapsis ORT Server 0.84.0.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.0, EPSS 0.7% (percentile 47).
Versioni da aggiornare
- Eclipse Foundation Eclipse Apoapsis ORT Server Credential Helper: vulnerabili le versioni dalla
0.1.0precedenti alla0.2.1→ aggiornare alla0.2.1o successiva. - Eclipse Foundation Eclipse Apoapsis ORT Server: vulnerabili le versioni dalla
0.65.0precedenti alla0.84.0→ aggiornare alla0.84.0o successiva.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Ruotare credenziali e chiavi, limitare l'accesso di rete al servizio e verificare accessi effettuati con credenziali predefinite.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| Eclipse Foundation | Eclipse Apoapsis ORT Server Credential Helper | ≥ 0.1.0 < 0.2.1 | 0.2.1 |
| Eclipse Foundation | Eclipse Apoapsis ORT Server | ≥ 0.65.0 < 0.84.0 | 0.84.0 |
Riferimenti
- Riferimentohttps://github.com/eclipse-apoapsis/ort-server-credential-helper/pull/91
- Riferimentohttps://github.com/eclipse-apoapsis/ort-server-credential-helper/releases/tag/0.2.1
- Riferimentohttps://github.com/eclipse-apoapsis/ort-server/releases/tag/0.84.0
- Riferimentohttps://gitlab.eclipse.org/security/cve-assignment/-/work_items/640
- Riferimentohttps://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/666