llamaCVEVulnerability Intelligence
/
Advisory · GitHub · RubyGems · sqlite3

GHSA-MGVV-5MXP-XQ67

SQLite3 addresses vulnerability in packaged version of libsqlite

Parche disponible
Descargar PNG JSON
CVSS
—
low
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a -3 d de la divulgación
Exposición1.507 dDesde la divulgación, 3 oct 2022, 5:12 p. m.
Detección1.505 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Parche 1.5.1
Monitoreo
Detectada
30 sept 22
3 oct 22
17 nov 26
19 nov 26
30 sept 22
13 oct 23
25 oct 24
7 nov 25
19 nov 26
FechaFaseEventoDetalle
Remediación Parche 1.5.1 sqlite3 · -3 d desde divulgación
Divulgación Publicada GHSA-MGVV-5MXP-XQ67 divulgada
Monitoreo Detectada Ingresó al índice
Resumen
Descripción del advisory
Texto original · GitHub · en inglés
Summary

The rubygem sqlite3 v1.5.1 upgrades the packaged version of libsqlite from v3.39.3 to v3.39.4 https://sqlite.org/releaselog/3_39_4.html.

libsqlite v3.39.4 addresses a vulnerability described as follows in the release notification:

> Version 3.39.4 is a minimal patch against the prior release that addresses issues found since the
> prior release. In particular, a potential vulnerability in the FTS3 extension has been fixed, so
> this should be considered a security update.
>
> In order to exploit the vulnerability, an attacker must have full SQL access and must be able to
> construct a corrupt database with over 2GB of FTS3 content. The problem arises from a 32-bit
> signed integer overflow.

This vulnerability has not been assigned a CVE and does not have a severity declared.

Please note that this advisory only applies to the sqlite3 gem v1.5.0, and only if the packaged libsqlite is being used. If you've overridden defaults at installation time to use system libraries instead of packaged libraries, you should instead pay attention to your distro's libsqlite release announcements.

Mitigation

Upgrade to the rubygem sqlite3 v1.5.1 or later.

Users who are unable to upgrade the sqlite3 gem may also choose a more complicated mitigation: compile and link sqlite3 against external libsqlite >= 3.39.4 which will also address these same issues.

References
  • Upstream release notes: https://sqlite.org/releaselog/3_39_4.html
  • Instructions for compiling against system libraries: https://github.com/sparklemotion/sqlite3-ruby

Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.

Versiones

Rangos afectados

Afectada Corregida Última
sqlite3≥ 1.5.0 < 1.5.1
1.5.0
1.5.1
2.10.2
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
rubygemssqlite3
Corregida 1.5.1 -3 d 2.10.2 no afectada
Versiones corregidas1.5.1
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Otrahttps://github.com/sparklemotion/sqlite3-ruby/security/advisories/GHSA-mgvv-5mxp-xq67
Otrahttps://github.com/sparklemotion/sqlite3-ruby
Otrahttps://github.com/sparklemotion/sqlite3-ruby/releases/tag/v1.5.1

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.