{"id":"UBUNTU-CVE-2019-17558","details":"Apache Solr 5.0.0 to Apache Solr 8.3.1 are vulnerable to a Remote Code Execution through the VelocityResponseWriter. A Velocity template can be provided through Velocity templates in a configset `velocity/` directory or as a parameter. A user defined configset could contain renderable, potentially malicious, templates. Parameter provided templates are disabled by default, but can be enabled by setting `params.resource.loader.enabled` by defining a response writer with that setting set to `true`. Defining a response writer requires configuration API access. Solr 8.4 removed the params resource loader entirely, and only enables the configset-provided template rendering when the configset is `trusted` (has been uploaded by an authenticated user).","modified":"2026-02-04T03:38:13.788714Z","published":"2019-12-30T17:15:00Z","withdrawn":"2025-06-23T15:53:29Z","related":["CVE-2019-17558"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-17558"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2019/12/30/1"},{"type":"REPORT","url":"https://issues.apache.org/jira/browse/SOLR-13971"},{"type":"REPORT","url":"https://issues.apache.org/jira/browse/SOLR-14025"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-17558"},{"type":"REPORT","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog"}],"affected":[{"package":{"name":"lucene-solr","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/lucene-solr@3.6.2+dfsg-2ubuntu0.1~esm2?arch=source&distro=esm-infra-legacy/trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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"],"ecosystem_specific":{"ubuntu_priority":"high"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-17558.json"}},{"package":{"name":"lucene-solr","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/lucene-solr@3.6.2+dfsg-8ubuntu0.1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.2+dfsg-7","3.6.2+dfsg-8","3.6.2+dfsg-8ubuntu0.1"],"ecosystem_specific":{"ubuntu_priority":"high"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-17558.json"}},{"package":{"name":"lucene-solr","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/lucene-solr@3.6.2+dfsg-18~18.04?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.2+dfsg-10","3.6.2+dfsg-11","3.6.2+dfsg-18~18.04"],"ecosystem_specific":{"ubuntu_priority":"high"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-17558.json"}},{"package":{"name":"lucene-solr","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/lucene-solr@3.6.2+dfsg-22?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.2+dfsg-20","3.6.2+dfsg-22"],"ecosystem_specific":{"ubuntu_priority":"high"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-17558.json"}},{"package":{"name":"lucene-solr","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/lucene-solr@3.6.2+dfsg-24?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.2+dfsg-24"],"ecosystem_specific":{"ubuntu_priority":"high"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-17558.json"}},{"package":{"name":"lucene-solr","ecosystem":"Ubuntu:24.10","purl":"pkg:deb/ubuntu/lucene-solr@3.6.2+dfsg-26?arch=source&distro=oracular"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.2+dfsg-26"],"ecosystem_specific":{"ubuntu_priority":"high"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-17558.json"}},{"package":{"name":"lucene-solr","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/lucene-solr@3.6.2+dfsg-26?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.2+dfsg-26"],"ecosystem_specific":{"ubuntu_priority":"high"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-17558.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}