CVE-2019-11044
link() silently truncates after a null byte on Windows
LOW 3.7
En bref
- Source
- NVD
- EPSS
- EPSS 5.12 % · centile 92 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- php
- Statut NVD
- Modified
Description
In PHP versions 7.2.x below 7.2.26, 7.3.x below 7.3.13 and 7.4.0 on Windows, PHP link() function accepts filenames with embedded \0 byte and treats them as terminating at that byte. This could lead to security vulnerabilities, e.g. in applications checking paths that the code is allowed to access.
Faiblesses (CWE)
- CWE-170 — Improper Null Termination
Références
- https://bugs.php.net/bug.php?id=78862
- https://security.netapp.com/advisory/ntap-20200103-0002/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N7GCOAE6KVHYJ3UQ4KLPLTGSLX6IRVRN/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWRQPYXVG43Q7DXMXH6UVWMKWGUW552F/
- https://www.tenable.com/security/tns-2021-14
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N | php |
| CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N | NVD · security@php.net (Secondary) |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD · nvd@nist.gov (Primary) |
| CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N | NVD · nvd@nist.gov (Primary) |
Références européennes
- ENISA EUVD · EUVD-2019-2752
- GCVE · GCVE-0-2019-11044
Avis du CERT-FR
- CERTFR-2021-AVI-571 — Multiples vulnérabilités dans Tenable · cert.ssi.gouv.fr
- CERTFR-2019-AVI-641 — Multiples vulnérabilités dans PHP · cert.ssi.gouv.fr
Configurations affectées (CPE NVD)
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*≥ 7.2.0 ≤ 7.2.26cpe:2.3:a:php:php:*:*:*:*:*:*:*:*≥ 7.3.0 ≤ 7.3.13cpe:2.3:a:php:php:7.4.0:*:*:*:*:*:*:*cpe:2.3:a:tenable:security_center:*:*:*:*:*:*:*:*< 5.19.0cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*
Produits affectés
| Produit | Versions |
|---|---|
| PHP Group · PHP | affected 7.2.x < 7.2.26 ; affected 7.3.x < 7.3.13 ; affected 7.4.x < 7.4.1 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |