Skip to content
Heist/ feed
Back to feed
Medium

lucene-solr — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2023-50290

Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Solr. The Solr Metrics API publishes all unprotected environment variables available to each Apache Solr instance. Users are able to specify which environment variables to hide, however, the default list is designed to work for known secret Java system properties. Environment variables cannot be strictly defined in Solr, like Java system properties can be, and may be set for the entire host, unlike Java system properties which are set per-Java-proccess. The Solr Metrics API is protected by the "metrics-read" permission. Therefore, Solr Clouds with Authorization setup will only be vulnerable via users with the "metrics-read" permission. This issue affects Apache Solr: from 9.0.0 before 9.3.0. Users are recommended to upgrade to version 9.3.0 or later, in which environment variables are not published via the Metrics API.

Products
lucene-solr
Affected versions
3.6.2+dfsg-1, 3.6.2+dfsg-10, 3.6.2+dfsg-11, 3.6.2+dfsg-18~18.04, 3.6.2+dfsg-18~18.04.1~esm2, 3.6.2+dfsg-2, 3.6.2+dfsg-20, 3.6.2+dfsg-22, 3.6.2+dfsg-24, 3.6.2+dfsg-26, 3.6.2+dfsg-27, 3.6.2+dfsg-2ubuntu0.1~esm1, 3.6.2+dfsg-2ubuntu0.1~esm2, 3.6.2+dfsg-2ubuntu0.1~esm4, 3.6.2+dfsg-7, 3.6.2+dfsg-8, 3.6.2+dfsg-8ubuntu0.1, 3.6.2+dfsg-8ubuntu0.1+esm1
Fixed versions
Not specified
CVEs
CVE-2023-50290
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:11 UTC · Revision 1

Source evidence

UBUNTU-CVE-2023-50290

core-osv · Original source

Published 15 Jan 2024, 10:15 UTC

Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Solr. The Solr Metrics API publishes all unprotected environment variables available to each Apache Solr instance. Users are able to specify which environment variables to hide, however, the default list is designed to work for known secret Java system properties. Environment variables cannot be strictly defined in Solr, like Java system properties can be, and may be set for the entire host, unlike Java system properties which are set per-Java-proccess. The Solr Metrics API is protected by the "metrics-read" permission. Therefore, Solr Clouds with Authorization setup will only be vulnerable via users with the "metrics-read" permission. This issue affects Apache Solr: from 9.0.0 before 9.3.0. Users are recommended to upgrade to version 9.3.0 or later, in which environment variables are not published via the Metrics API.

osv:UBUNTU-CVE-2023-50290

lucene-solr

Fixed versions: Not specified

lucene-solr

Fixed versions: Not specified

lucene-solr

Fixed versions: Not specified

lucene-solr

Fixed versions: Not specified

lucene-solr

Fixed versions: Not specified

lucene-solr

Fixed versions: Not specified

lucene-solr

Fixed versions: Not specified

lucene-solr

Fixed versions: Not specified

lucene-solr

Fixed versions: Not specified

Complete source record
{
  "id": "78c2b702e0517c8c7e13468fdc47472af854f5774546a15707575ad0b756579c",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2023-50290",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2023-50290",
    "summary": "Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Solr. The Solr Metrics API publishes all unprotected environment variables available to each Apache Solr instance. Users are able to specify which environment variables to hide, however, the default list is designed to work for known secret Java system properties. Environment variables cannot be strictly defined in Solr, like Java system properties can be, and may be set for the entire host, unlike Java system properties which are set per-Java-proccess. The Solr Metrics API is protected by the \"metrics-read\" permission. Therefore, Solr Clouds with Authorization setup will only be vulnerable via users with the \"metrics-read\" permission. This issue affects Apache Solr: from 9.0.0 before 9.3.0. Users are recommended to upgrade to version 9.3.0 or later, in which environment variables are not published via the Metrics API.",
    "evidence": "osv:UBUNTU-CVE-2023-50290",
    "products": [
      {
        "name": {
          "value": "lucene-solr",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.6.2+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.6.2+dfsg-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.6.2+dfsg-2ubuntu0.1~esm1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.6.2+dfsg-2ubuntu0.1~esm2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.6.2+dfsg-2ubuntu0.1~esm4",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "lucene-solr",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.6.2+dfsg-7",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "3.6.2+dfsg-8",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "3.6.2+dfsg-8ubuntu0.1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "3.6.2+dfsg-8ubuntu0.1+esm1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "lucene-solr",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.6.2+dfsg-10",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "3.6.2+dfsg-11",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "3.6.2+dfsg-18~18.04",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "3.6.2+dfsg-18~18.04.1~esm2",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "lucene-solr",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.6.2+dfsg-20",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "3.6.2+dfsg-22",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "lucene-solr",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.6.2+dfsg-24",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "lucene-solr",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.6.2+dfsg-26",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "lucene-solr",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.6.2+dfsg-26",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "lucene-solr",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.6.2+dfsg-27",
            "evidence": "/affected/7/versions"
          }
        ]
      },
      {
        "name": {
          "value": "lucene-solr",
          "evidence": "/affected/8/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.6.2+dfsg-26",
            "evidence": "/affected/8/versions"
          },
          {
            "value": "3.6.2+dfsg-27",
            "evidence": "/affected/8/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2023-50290",
      "aliases": [
        "UBUNTU-CVE-2023-50290"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "lucene-solr",
            "purl": "pkg:deb/ubuntu/lucene-solr?arch=source&distro=esm-infra-legacy%2Ftrusty",
            "ecosystem": "Ubuntu:Pro:14.04:LTS"
          },
          "versions": [
            "3.6.2+dfsg-1",
            "3.6.2+dfsg-2",
            "3.6.2+dfsg-2ubuntu0.1~esm1",
            "3.6.2+dfsg-2ubuntu0.1~esm2",
            "3.6.2+dfsg-2ubuntu0.1~esm4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-50290.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "liblucene3-contrib-java",
                "binary_version": "3.6.2+dfsg-2ubuntu0.1~esm4"
              },
              {
                "binary_name": "liblucene3-java",
                "binary_version": "3.6.2+dfsg-2ubuntu0.1~esm4"
              },
              {
                "binary_name": "libsolr-java",
                "binary_version": "3.6.2+dfsg-2ubuntu0.1~esm4"
              },
              {
                "binary_name": "solr-common",
                "binary_version": "3.6.2+dfsg-2ubuntu0.1~esm4"
              },
              {
                "binary_name": "solr-jetty",
                "binary_version": "3.6.2+dfsg-2ubuntu0.1~esm4"
              },
              {
                "binary_name": "solr-tomcat",
                "binary_version": "3.6.2+dfsg-2ubuntu0.1~esm4"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "lucene-solr",
            "purl": "pkg:deb/ubuntu/lucene-solr?arch=source&distro=esm-apps%2Fxenial",
            "ecosystem": "Ubuntu:Pro:16.04:LTS"
          },
          "versions": [
            "3.6.2+dfsg-7",
            "3.6.2+dfsg-8",
            "3.6.2+dfsg-8ubuntu0.1",
            "3.6.2+dfsg-8ubuntu0.1+esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-50290.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "liblucene3-contrib-java",
                "binary_version": "3.6.2+dfsg-8ubuntu0.1+esm1"
              },
              {
                "binary_name": "liblucene3-java",
                "binary_version": "3.6.2+dfsg-8ubuntu0.1+esm1"
              },
              {
                "binary_name": "libsolr-java",
                "binary_version": "3.6.2+dfsg-8ubuntu0.1+esm1"
              },
              {
                "binary_name": "solr-common",
                "binary_version": "3.6.2+dfsg-8ubuntu0.1+esm1"
              },
              {
                "binary_name": "solr-jetty",
                "binary_version": "3.6.2+dfsg-8ubuntu0.1+esm1"
              },
              {
                "binary_name": "solr-tomcat",
                "binary_version": "3.6.2+dfsg-8ubuntu0.1+esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "lucene-solr",
            "purl": "pkg:deb/ubuntu/lucene-solr?arch=source&distro=esm-apps%2Fbionic",
            "ecosystem": "Ubuntu:Pro:18.04:LTS"
          },
          "versions": [
            "3.6.2+dfsg-10",
            "3.6.2+dfsg-11",
            "3.6.2+dfsg-18~18.04",
            "3.6.2+dfsg-18~18.04.1~esm2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-50290.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "liblucene3-contrib-java",
                "binary_version": "3.6.2+dfsg-18~18.04.1~esm2"
              },
              {
                "binary_name": "liblucene3-java",
                "binary_version": "3.6.2+dfsg-18~18.04.1~esm2"
              },
              {
                "binary_name": "libsolr-java",
                "binary_version": "3.6.2+dfsg-18~18.04.1~esm2"
              },
              {
                "binary_name": "solr-common",
                "binary_version": "3.6.2+dfsg-18~18.04.1~esm2"
              },
              {
                "binary_name": "solr-jetty",
                "binary_version": "3.6.2+dfsg-18~18.04.1~esm2"
              },
              {
                "binary_name": "solr-tomcat",
                "binary_version": "3.6.2+dfsg-18~18.04.1~esm2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "lucene-solr",
            "purl": "pkg:deb/ubuntu/lucene-solr?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "3.6.2+dfsg-20",
            "3.6.2+dfsg-22"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-50290.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "liblucene3-contrib-java",
                "binary_version": "3.6.2+dfsg-22"
              },
              {
                "binary_name": "liblucene3-java",
                "binary_version": "3.6.2+dfsg-22"
              },
              {
                "binary_name": "libsolr-java",
                "binary_version": "3.6.2+dfsg-22"
              },
              {
                "binary_name": "solr-common",
                "binary_version": "3.6.2+dfsg-22"
              },
              {
                "binary_name": "solr-jetty",
                "binary_version": "3.6.2+dfsg-22"
              },
              {
                "binary_name": "solr-tomcat",
                "binary_version": "3.6.2+dfsg-22"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "lucene-solr",
            "purl": "pkg:deb/ubuntu/lucene-solr?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "3.6.2+dfsg-24"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-50290.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "liblucene3-contrib-java",
                "binary_version": "3.6.2+dfsg-24"
              },
              {
                "binary_name": "liblucene3-java",
                "binary_version": "3.6.2+dfsg-24"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "lucene-solr",
            "purl": "pkg:deb/ubuntu/lucene-solr?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "3.6.2+dfsg-26"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-50290.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "liblucene3-contrib-java",
                "binary_version": "3.6.2+dfsg-26"
              },
              {
                "binary_name": "liblucene3-java",
                "binary_version": "3.6.2+dfsg-26"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "lucene-solr",
            "purl": "pkg:deb/ubuntu/lucene-solr?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "3.6.2+dfsg-26"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-50290.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "liblucene3-contrib-java",
                "binary_version": "3.6.2+dfsg-26"
              },
              {
                "binary_name": "liblucene3-java",
                "binary_version": "3.6.2+dfsg-26"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "lucene-solr",
            "purl": "pkg:deb/ubuntu/lucene-solr?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "3.6.2+dfsg-27"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-50290.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "liblucene3-contrib-java",
                "binary_version": "3.6.2+dfsg-27"
              },
              {
                "binary_name": "liblucene3-java",
                "binary_version": "3.6.2+dfsg-27"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "lucene-solr",
            "purl": "pkg:deb/ubuntu/lucene-solr?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "3.6.2+dfsg-26",
            "3.6.2+dfsg-27"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-50290.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "liblucene3-contrib-java",
                "binary_version": "3.6.2+dfsg-27"
              },
              {
                "binary_name": "liblucene3-java",
                "binary_version": "3.6.2+dfsg-27"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:42.674623790Z",
      "provider": "osv",
      "upstream": [
        "CVE-2023-50290"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2023-50290",
        "https://solr.apache.org/security.html#cve-2023-50290-apache-solr-allows-read-access-to-host-environment-variables",
        "https://www.cve.org/CVERecord?id=CVE-2023-50290"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2023-50290",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 356013,
  "published_at": "2024-01-15T10:15:00+00:00"
}