CVE-2025-12148
JSON

6.0medium

Unauthorized access to fields protected by Field Masking (FM) for fields of type IP

Severity
6.0medium CVSS:4.0 by floragunn
Exploit likelihood
0.28% (higher than 22% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
floragunn

Description

In Search Guard versions 3.1.1 and earlier, Field Masking (FM) rules are improperly enforced on fields of type IP (IP Address). While the content of these fields is properly redacted in the _source document returned by search operations, the results do return documents (hits) when searching based on a specific IP values. This allows to reconstruct the original contents of the field. Workaround - If you cannot upgrade immediately, you can avoid the problem by using field level security (FLS) protection on fields of the affected types instead of field masking.

Affected

Product or packageVersionsReported by
floragunn Search Guard FLXfrom 1.0.0 up to 3.1.1CVE List

Classification

CWE-200CWE-732

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In Search Guard versions 3.1.1 and earlier, Field Masking (FM) rules are improperly enforced on fields of type IP (IP Address). While the content of these fields is properly redacted in the _source document returned by search operations, the results do return documents (hits) when searching based on a specific IP values. This allows to reconstruct the original contents of the field. Workaround - If you cannot upgrade immediately, you can avoid the problem by using field level security (FLS) protection on fields of the affected types instead of field masking.

NVD (es)

En las versiones 3.1.1 y anteriores de Search Guard, las reglas de enmascaramiento de campos (FM) se aplican incorrectamente en campos de tipo IP (dirección IP). Si bien el contenido de estos campos se redacta correctamente en el documento _source devuelto por las operaciones de búsqueda, los resultados sí devuelven documentos (hits) al buscar basándose en valores IP específicos. Esto permite reconstruir el contenido original del campo. Solución alternativa - Si no puede actualizar de inmediato, puede evitar el problema utilizando protección de seguridad a nivel de campo (FLS) en campos de los tipos afectados en lugar de enmascaramiento de campos.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-12148 changed 2025-10-29CVE Terms of Use
NVDCVE-2025-12148 changed 2026-10-08Public domain