UBUNTU-CVE-2018-13818

Source
https://ubuntu.com/security/CVE-2018-13818
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-13818.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2018-13818
Upstream
Withdrawn
2025-07-18T16:44:41Z
Published
2018-07-10T14:29:00Z
Modified
2025-07-16T07:37:58.047723Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

** DISPUTED ** Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key parameter. NOTE: the vendor points out that Twig itself is not a web application and states that it is the responsibility of web applications using Twig to properly wrap input to it.

References

Affected packages

Ubuntu:18.04:LTS / twig

Package

Name
twig
Purl
pkg:deb/ubuntu/twig@2.4.6-1?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.4.6-1

Affected versions

1.*
1.24.0-2ubuntu1
2.*
2.4.4-2ubuntu1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "2.4.6-1",
            "binary_name": "php-twig"
        },
        {
            "binary_version": "2.4.6-1",
            "binary_name": "php-twig-doc"
        }
    ],
    "availability": "No subscription required"
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-13818.json"