- Accueil
- Vulnérabilités
- CVE-2026-72923
CVE-2026-72923
Microsoft.OpenApi.YamlReader vulnerable to denial of service via YAML alias expansion
Résumé
The OpenAPI.NET SDK contains a useful object model for OpenAPI documents in .NET along with common serializers to extract raw OpenAPI JSON and YAML documents from the model. In Microsoft.OpenApi.Readers versions before 1.6.30 and Microsoft.OpenApi.YamlReader from 2.0.0-preview.11 through 2.11.0 and 3.0.0 through 3.9.0, parsing a YAML OpenAPI document with nested anchors and aliases can consume uncontrolled memory. SharpYaml represents aliases as shared nodes in a small directed acyclic graph, but conversion to independent OpenAPI or System.Text.Json.Nodes.JsonNode trees duplicates every aliased path; without a node-count or nesting-depth limit, N nested anchors referenced k times can require k^N materialized nodes and terminate the process through an out-of-memory condition. The fixed readers bound materialization to 5,000,000 nodes and a nesting depth of 64 by default and report an OpenApiDiagnostic error when a limit is exceeded. This vulnerability is fixed in Microsoft.OpenApi.Readers 1.6.30 and Microsoft.OpenApi.YamlReader 2.12.0 and 3.10.0.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Microsoft (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| OpenAPI.NET | Versions non précisées | — | CNA (éditeur ou attributeur) |
NuGet (3 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Microsoft.OpenApi.Readers | avant 1.6.30 (exclu) |
1.6.30 |
GitHub Advisory |
| Microsoft.OpenApi.YamlReader | de 3.0.0 (inclus) à 3.10.0 (exclu) |
3.10.0 |
GitHub Advisory |
| Microsoft.OpenApi.YamlReader | de 2.0.0-preview.11 (inclus) à 2.12.0 (exclu) |
2.12.0 |
GitHub Advisory |
Correctif
Mise à jour — NuGet/Microsoft.OpenApi.YamlReader 3.10.0; NuGet/Microsoft.OpenApi.YamlReader 2.12.0; NuGet/Microsoft.OpenApi.Readers 1.6.30source officielle
Source : GitHub Advisory
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Avis CERT-FR
- GHSA-7pxr-59rr-hqj2 — Microsoft.OpenApi.YamlReader vulnerable to denial of service via YAML alias expansion 14 oct. 2026
Références
- https://github.com/microsoft/OpenAPI.NET/security/advisories/GHSA-7pxr-59rr-hqj2WEB
- https://github.com/microsoft/OpenAPI.NET/commit/1f9aea9bdcbf4066b59ce33b3bd8f97ed9cb4766WEB
- https://github.com/microsoft/OpenAPI.NET/commit/21793261d6860fb6e607b71fd95c0bd320724764WEB
- https://github.com/microsoft/OpenAPI.NET/commit/4db9af07d112cdf45170b7a946f956ffe74fa14eWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-72923ADVISORY
- https://github.com/microsoft/OpenAPI.NET/pull/3000WEB
- https://github.com/microsoft/OpenAPI.NET/pull/3005WEB
- https://github.com/microsoft/OpenAPI.NET/pull/3020WEB
- https://github.com/microsoft/OpenAPI.NETPACKAGE
- https://github.com/microsoft/OpenAPI.NET/releases/tag/v1.6.30WEB
- https://github.com/microsoft/OpenAPI.NET/releases/tag/v2.12.0WEB
- https://github.com/microsoft/OpenAPI.NET/releases/tag/v3.10.0WEB
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- NVD
- Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H(CVSS 3.1, CNA:security-advisories@github.com)- Faiblesse
- CWE-400 · Autre (CWE-400)