1. Archivio CVE
  2. 2025
  3. CVE-2025-10238

CVE-2025-10238

6.7 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H 6.7 – Media

Descrizione

During an internal security assessment, a potential out-of-bounds write vulnerability was discovered in the BIOS of some ThinkPad products could allow a privileged local user to execute code in System Management Mode (SMM).

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
lenovo e14 gen 4 type 21e3 21e4 laptops thinkpad bios >= 0 < 1.34 –
lenovo e14 gen 5 type 21jr 21js laptop thinkpad bios >= 0 < 1.29 –
lenovo e14 gen 6 type 21m3 21m4 laptops thinkpad bios >= 0 < 1.27 –
lenovo e14 gen 7 type 21t9 21ta laptops thinkpad bios >= 0 < 1.11 –
lenovo e15 gen 3 type 20yg 20yh 20yj 20yk laptop thinkpad bios >= 0 < 1.24 –
lenovo e15 gen 4 type 21ed 21ee laptop thinkpad bios >= 0 < 1.27 –
lenovo e16 gen 2 type 21ma 21mb laptops thinkpad bios >= 0 < 1.21 –
lenovo e16 gen 3 type 21sr 21ss laptops thinkpad bios >= 0 < 1.11 –
lenovo e16 gen 3 type 21st 21su laptops thinkpad bios >= 0 < 1.21 –
lenovo e16 gen 3 type 22ay 22b0 laptop thinkpad bios >= 0 < 1.38 –
lenovo l13 2-in-1 gen 6 type 21r7 21r8 laptops thinkpad bios >= 0 < 1.10 –
lenovo l13 gen 4 type 21fg 21fh laptop thinkpad bios >= 0 < 1.24 –
lenovo l13 gen 5 type 21lb 21lc laptops thinkpad bios >= 0 < 1.21 –
lenovo l13 gen 6 type 21rb 21rc laptops thinkpad bios >= 0 < 1.15 –
lenovo l13 type 20r3 20r4 laptops thinkpad bios >= 0 < 1.45 –
lenovo l13 yoga gen 3 type 21b5 21b6 laptop thinkpad bios >= 0 < 1.31 –
lenovo l14 gen 2 type 20x1 20x2 laptops thinkpad bios >= 0 < 1.73 –
lenovo l14 gen 2 type 20x5 20x6 laptop thinkpad bios >= 0 < 1.36 –
lenovo l14 gen 3 type 21c1 21c2 laptops thinkpad bios >= 0 < 1.44 –
lenovo l14 gen 3 type 21c5 21c6 laptops thinkpad bios >= 0 < 1.36 –
lenovo l14 gen 4 type 21h1 21h2 laptop thinkpad bios >= 0 < 1.34 –
lenovo l14 gen 5 type 21l1 21l2 laptops thinkpad bios >= 0 < 1.24 –
lenovo l14 gen 6 type 21s6 21s7 laptops thinkpad bios >= 0 < 1.06 –
lenovo l14 gen 6 type 21se 21sf laptops thinkpad bios >= 0 < 1.14 –
lenovo l15 gen 4 type 21h7 21h8 laptops thinkpad bios >= 0 < 1.27 –
lenovo l16 gen 1 type 21l7 21l8 laptops thinkpad bios >= 0 < 1.40 –
lenovo l16 gen 2 type 21sc 21sd laptops thinkpad bios >= 0 < 1.13 –
lenovo l390 type 20nr 20ns laptops thinkpad bios >= 0 < 1.53 –
lenovo p1 gen 5 type 21dc 21dd laptop thinkpad bios >= 0 < 1.29 –
lenovo p1 gen 6 type 21fv 21fw laptop thinkpad bios >= 0 < 1.38 –
lenovo p1 gen 7 type 21kv 21kw laptop thinkpad bios >= 0 < 1.17 –
lenovo p14s gen 2 type 21a0 21a1 laptop thinkpad bios >= 0 < 1.33 –
lenovo p14s gen 3 type 21j5 21j6 laptop thinkpad bios >= 0 < 1.63 –
lenovo p14s gen 4 type 21k5 21k6 laptop thinkpad bios >= 0 < 1.47 –
lenovo p14s gen 5 type 21g2 21g3 laptops thinkpad bios >= 0 < 1.26 –
lenovo p14s gen 6 type 21ql 21qm laptops thinkpad bios >= 0 < 1.17 –
lenovo p14s gen 6 type 21qt 21qu laptops thinkpad bios >= 0 < uefi_bios_v1.22_ecp_v1.13 –
lenovo p15v gen 3 type 21en 21em laptop thinkpad bios >= 0 <= 1.28 –
lenovo p16 gen 1 type 21d6 21d7 laptop thinkpad bios >= 0 < 1.69 –
lenovo p16 gen 2 type 21fa 21fb laptop thinkpad bios >= 0 < bios_1.61_ecfw_1.57 –
lenovo p16s gen 2 type 21hk 21hl laptop thinkpad bios >= 0 < 1.51 –
lenovo p16v gen 1 type 21fc 21fd laptop thinkpad bios >= 0 < bios_1.40_ecfw_1.09 –
lenovo p16v gen 1 type 21fe 21ff laptop thinkpad bios >= 0 < 1.65_1.13 –
lenovo p16v gen 2 type 21kx 21ky laptops thinkpad bios >= 0 < 1.18 –
lenovo p16v gen 3 type 21rs 21rt laptop thinkpad bios >= 0 < bios_1.13_ecfw_1.09 –
lenovo p17 gen 2 type 20yu 20yv laptops thinkpad bios >= 0 < 1.97 –
lenovo p73 type 20qr 20qs laptop thinkpad bios >= 0 < 2.01 –
lenovo s2 yoga gen 8 types 21fu china only laptop thinkpad bios >= 0 < 1.28 –
lenovo t14 gen 3 type 21ah 21aj laptop thinkpad bios >= 0 < 1.45_1.25 –
lenovo t14 gen 5 type 21mc 21md laptops thinkpad bios >= 0 < 1.18 –
lenovo t14s gen 3 type 21br 21bs laptop thinkpad bios >= 0 < 1.48 –
lenovo t14s gen 3 type 21cq 21cr laptop thinkpad bios >= 0 < 1.51 –
lenovo t14s gen 4 type 21f6 21f7 laptop thinkpad bios >= 0 < 1.23 –
lenovo t14s gen 4 type 21f8 21f9 laptop thinkpad bios >= 0 < 1.28 –
lenovo t14s gen 5 type 21ls 21lt laptop thinkpad bios >= 0 < 1.14 –
lenovo t14s gen 6 type 21m1 21m2 laptops thinkpad bios >= 0 < 1.62_1.12 –
lenovo t14s gen 6 type 21qx 21qy laptops thinkpad bios >= 0 < 1.14 –
lenovo t14s gen 6 type 21r1 21r2 laptops thinkpad bios >= 0 < 1.10 –
lenovo t14s gen 6 type 21tb 21tc laptops thinkpad bios >= 0 < 1.11 –
lenovo t14s type 20t0 20t1 laptop thinkpad bios >= 0 < 1.37 –
lenovo t15 gen 2 type 20w4 20w5 laptop thinkpad bios >= 0 < 1.69_1.21 –
lenovo t15 type 20s6 20s7 laptop thinkpad bios >= 0 < 1.34 –
lenovo t15g gen 1 type 20ur 20us laptop thinkpad bios >= 0 < 1.97 –
lenovo t15p gen 2 type 21a7 21a8 laptop thinkpad bios >= 0 < 1.83 –
lenovo t15p gen 3 type 21da 21db laptop thinkpad bios >= 0 < 1.67 –
lenovo t16 gen 3 type 21mn 21mq laptops thinkpad bios >= 0 < 1.16 –
lenovo t16 gen 4 type 21qe 21qf laptops thinkpad bios >= 0 < 1.10 –
lenovo t16 gen 4 type 22aw 22ax laptops thinkpad bios >= 0 < 1.08 –
lenovo t490 type 20n2 20n3 laptop thinkpad bios >= 0 < 1.85_1.26 –
lenovo thinkpad r14 gen 5 type 21jm prc bios >= 0 < 1.41 –
lenovo thinkpad s2 gen 7 type 21bd bios >= 0 <= 1.36 –
lenovo thinkpad s2 yoga gen 6 type 20vn china only bios >= 0 < 1.38_1.36 –
lenovo thinkpad s2 yoga gen 6 type 21ag china only bios >= 0 <= 1.38 –
lenovo x1 2-in-1 gen 10 type 21nu 21nv laptop thinkpad bios >= 0 < 1.39 –
lenovo x1 2-in-1 gen 9 type 21ke 21kf laptop thinkpad bios >= 0 < 1.45 –
lenovo x1 carbon 13th gen type 21nx 21ny laptops thinkpad bios >= 0 < 1.15 –
lenovo x1 extreme 2nd gen type 20qv 20qw laptop thinkpad bios >= 0 < 1.55 –
lenovo x1 extreme 3rd gen type 20tk 20tl laptop thinkpad bios >= 0 < 1.37 –
lenovo x1 extreme 4th gen type 20y5 20y6 laptop thinkpad bios >= 0 < 1.33 –
lenovo x1 fold 16 gen 1 type 21es 21et laptop thinkpad bios >= 0 < 1.25 –
lenovo x1 fold gen 1 type 20rk 20rl laptop thinkpad bios >= 0 < 1.34 –
lenovo x1 nano gen 1 type 20un 20uq laptop thinkpad bios >= 0 < 1.68 –
lenovo x1 nano gen 2 type 21e8 21e9 laptop thinkpad bios >= 0 < 1.32 –
lenovo x1 nano gen 3 type 21k1 21k2 laptop thinkpad bios >= 0 < 1.28 –
lenovo x1 titanium type 20qa 20qb laptop thinkpad bios >= 0 < 1.37 –
lenovo x1 yoga 4th gen type 20sa 20sb laptop thinkpad bios >= 0 < 1.66_1.55 –
lenovo x1 yoga 5th gen type 20ub 20uc laptop thinkpad bios >= 0 < 1.41 –
lenovo x1 yoga 6th gen type 20xy 20y0 laptop thinkpad bios >= 0 < 1.75 –
lenovo x1 yoga 7th gen type 21cd 21ce laptop thinkpad bios >= 0 < 1.52 –
lenovo x1 yoga 8th gen type 21hq 21hr laptop thinkpad bios >= 0 < 1.37 –
lenovo x12 detachable gen 1 type 20uw 20uv laptop thinkpad bios >= 0 <= 1.40 –
lenovo x12 detachable gen 2 type 21lk 21ll laptops thinkpad bios >= 0 < 1.21 –
lenovo x13 gen 2 type 20wk 20wl laptop thinkpad bios >= 0 < 1.64 –
lenovo x13 gen 2 type 20xh 20xj laptop thinkpad bios >= 0 < 1.36 –
lenovo x13 gen 4 type 21j3 21j4 laptop thinkpad bios >= 0 < 1.37 –
lenovo x13 gen 5 type 21lu 21lv laptop thinkpad bios >= 0 < 1.17 –
lenovo x13 gen 6 type 21rk 21rl laptops thinkpad bios >= 0 < 1.12 –
lenovo x13 gen 6 type 21rm 21rn laptops thinkpad bios >= 0 < 1.62_1.12 –
lenovo x13 yoga gen 1 type 20sx 20sy laptop thinkpad bios >= 0 < 1.57 –
lenovo x13 yoga gen 2 type 20w8 20w9 laptop thinkpad bios >= 0 < 1.51 –

Mostrate 100 configurazioni su 108. L'elenco completo è su NVD.

Tipo di vulnerabilità

CWE-787 Scrittura fuori dai limiti (out-of-bounds write)

Il prodotto scrive dati oltre la fine, o prima dell’inizio, del buffer previsto.

Impatto sui sistemi

AmbitoImpatto
Integrità Modificare la memoria, Eseguire codice o comandi non autorizzati
Disponibilità Interruzione del servizio: arresto o riavvio
Altro Stato imprevisto

Come si previene

Requisiti · Scelta del linguaggio Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. For example, many languages that perform their own memory management, such as Java and Perl, are not subject to buffer overflows. Other languages, such as Ada and C#, typically provide overflow protection, but the protection can be disabled by the programmer. Be wary that a language's interface to native code may still be subject to overflows, even if the language itself is theoretically safe.
Architettura e progettazione · Librerie o framework Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. Examples include the Safe C String Library (SafeStr) by Messier and Viega, and the Strsafe.h library from Microsoft. These libraries provide safer versions of overflow-prone string-handling functions.
Esercizio · Build e compilazione · Hardening dell’ambiente Use automatic buffer overflow detection mechanisms that are offered by certain compilers or compiler extensions. Examples include: the Microsoft Visual Studio /GS flag, Fedora/Red Hat FORTIFY_SOURCE GCC flag, StackGuard, and ProPolice, which provide various mechanisms including canary-based detection and range/index checking. D3-SFCV (Stack Frame Canary Validation) from D3FEND discusses canary-based detection in detail.
Sviluppo Consider adhering to the following rules when allocating and managing an application's memory: Double check that the buffer is as large as specified. When using functions that accept a number of bytes to copy, such as strncpy(), be aware that if the destination buffer size is equal to the source buffer size, it may not NULL-terminate the string. Check buffer boundaries if accessing the buffer in a loop and make sure there is no danger of writing past the allocated space. If necessary, truncate all input strings to a reasonable length before passing them to the copy and concatenation functions.
Esercizio · Build e compilazione · Hardening dell’ambiente Run or compile the software using features or extensions that randomly arrange the positions of a program's executable and libraries in memory. Because this makes the addresses unpredictable, it can prevent an attacker from reliably jumping to exploitable code. Examples include Address Space Layout Randomization (ASLR) and Position-Independent Executables (PIE). Imported modules may be similarly realigned if their default memory addresses conflict with other modules, in a process known as rebasing (for Windows) and prelinking (for Linux) using randomly generated addresses. ASLR for libraries cannot be used in conjunction with prelink since it would require relocating the libraries at run-time, defeating the whole purpose of prelinking. For more information on these techniques see D3-SAOR (Segment Address Offset Randomization) from D3FEND.
Esercizio · Hardening dell’ambiente Use a CPU and operating system that offers Data Execution Protection (using hardware NX or XD bits) or the equivalent techniques that simulate this feature in software, such as PaX. These techniques ensure that any instruction executed is exclusively at a memory address that is part of the code segment. For more information on these techniques see D3-PSEP (Process Segment Execution Prevention) from D3FEND.
Sviluppo Replace unbounded copy functions with analogous functions that support length arguments, such as strcpy with strncpy. Create these if they are not available.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 14.259 CVE di tipo CWE-787, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org