Vulnérabilité dans @angular/common (CVE-2025-66035)
Résumé
Vulnérabilité dans @angular/common (CVE-2025-66035). Risque d'opérations non autorisées ou de divulgation. Exploitable via POST. Atténuation : mise à jour vers 19.2.16 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to versions 19.2.16, 20.3.14, and 21.0.1, there is a XSRF token leakage via protocol-relative URLs in angular HTTP clients. The vulnerability is a Credential Leak by App Logic that leads to the unauthorized disclosure of the Cross-Site Request Forgery (XSRF) token to an attacker-controlled domain. Angular's HttpClient has a built-in XSRF protection mechanism that works by checking if a request URL starts with a protocol (http:// or https://) to determine if it is cross-origin. If the URL starts with protocol-relative URL (//), it is incorrectly treated as a same-origin request, and the XSRF token is automatically added to the X-XSRF-TOKEN header. This issue has been patched in versions 19.2.16, 20.3.14, and 21.0.1. A workaround for this issue involves avoiding using protocol-relative URLs (URLs starting with //) in HttpClient requests. All backend communication URLs should be hardcoded as relative paths (starting with a single /) or fully qualified, trusted absolute URLs.
Source: NIST National Vulnerability Database NVD GitHub Advisory
Résumé généré automatiquement
Assemblé par SecPulse à partir des données sources (CVSS, CWE, versions affectées) à l'aide de modèles, sans IA. Vérifiez la description d'origine et les références ci-dessous.
Une vulnérabilité référencée CVE-2025-66035 a été découverte dans @angular/common.
Des attaquants peuvent cibler un point d'entrée spécifique comme POST à distance pour détourner le produit.
Risque d'opérations non autorisées ou de divulgation.
Action : mettez à jour @angular/common vers 19.2.16 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « @angular/common CVE-2025-66035 » sur le site de l'éditeur.
CVE-2025-66035 (@angular/common) — CWE-201
Surface d'attaque : POST
Correctif : 19.2.16 — appliquer immédiatement
Contournement : Developers should avoid using protocol-relative URLs (URLs starting with //) in HttpClient requests.
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.
Une vulnérabilité (CWE-201) affecte @angular/common. Les attaquants atteignent le code vulnérable via POST.
Consultez l'avis de l'éditeur pour les versions affectées de @angular/common. Surface d'attaque : POST.
Gravité : ?. Risque d'opérations non autorisées ou de divulgation.
Mettre à jour vers 19.2.16.
Contournement : Developers should avoid using protocol-relative URLs (URLs starting with //) in HttpClient requests.
Recherchez dans les logs des requêtes correspondant aux IOC connus de cette CVE. Auditez les SBOM/dépendances.
Actions de réponse
Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre
-
1Identify exposure identify
grep -r '@angular/common' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
@angular/commonを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply temporary workaround mitigate
Developers should avoid using protocol-relative URLs (URLs starting with `//`) in HttpClient requests.パッチが適用されるまでの応急処置として、Developers should avoid using protocol-relative URLs (URLs starting with
//) in HttpClient requests. を実施。回避策の副作用 (機能低下) を確認した上で。 -
3Apply patch patch
Upgrade @angular/common to 19.2.16ステージング環境で 19.2.16 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Paquets affectés
État des correctifs par distribution
Paquets corrigés publiés par chaque distribution pour cette CVE
- Ubuntu UBUNTU-CVE-2025-66035 angular.js
Références
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- patch github.com
- patch github.com
- web github.com
- web github.com
- web github.com
- web cert-portal.siemens.com
- web cert-portal.siemens.com
- web github.com