CVE-2022-50410
Vulnérabilité critique dans Linux (Linux)
Description
In the Linux kernel, the following vulnerability has been resolved: NFSD: Protect against send buffer overflow in NFSv2 READ Since before the git era, NFSD has conserved the number of pages held by each nfsd thread by combining the RPC receive and send buffers into a single array of pages. This works because there are no cases where an operation needs a large RPC Call message and a large RPC Reply at the same time. Once an RPC Call has been received, svc_process() updates svc_rqst::rq_res to describe the part of rq_pages that can be used for constructing the Reply. This means that the send buffer (rq_res) shrinks when the received RPC record containing the RPC Call is large. A client can force this shrinkage on TCP by sending a correctly- formed RPC Call header contained in an RPC record that is excessively large. The full maximum payload size cannot be constructed in that case.
Gravité et risque d'exploitation
CVE-2022-50410 obtient un score CVSS de 9.8/10, soit une gravité critique. Selon le modèle EPSS, la probabilité qu'elle soit exploitée dans les 30 prochains jours est de 0.43 %, ce qui la place devant 35.8 % des CVE référencées.
Que faire ?
- Vérifiez si Linux (versions <1868332032eccbab8c1878a0d918193058c0a905, <2007867c5874134f2271eb276398208070049dd3, 2.6.19, 0, <=5.10.*, <=6.0.*, <2be9331ca6061bc6ea32247266f45b8b21030244, <2.6.19, 4452435948424e5322c2a2fefbdc2cf3732cc45d, 6.1, 5.19.17, <=*, <ea4c3eee0fd72fcedaa238556044825639cd3607, <=5.15.*, 6.0.3, <=5.19.*, 5.15.75, 5.10.220, <401bc1f90874280a80b93f23be33a0e7e2d1f912) est présent sur votre parc.
- Appliquez le correctif ou la version corrigée indiqués dans les références de l'éditeur.
- À défaut de correctif, limitez l'exposition (filtrage réseau, désactivation du composant).
- Automatisez la détection : les agents CVE Heimdall (gratuits, open source) corrèlent l'inventaire de vos serveurs avec la base CVE.
Références
- https://git.kernel.org/stable/c/2007867c5874134f2271eb276398208070049dd3
- https://git.kernel.org/stable/c/2be9331ca6061bc6ea32247266f45b8b21030244
- https://git.kernel.org/stable/c/ea4c3eee0fd72fcedaa238556044825639cd3607
- https://git.kernel.org/stable/c/1868332032eccbab8c1878a0d918193058c0a905
- https://git.kernel.org/stable/c/401bc1f90874280a80b93f23be33a0e7e2d1f912
