ID CVE-2016-10745
Summary In Pallets Jinja before 2.8.1, str.format allows a sandbox escape.
References
Vulnerable Configurations
  • cpe:2.3:a:palletsprojects:jinja:*:*:*:*:*:*:*:*
    cpe:2.3:a:palletsprojects:jinja:*:*:*:*:*:*:*:*
CVSS
Base: 5.0 (as of 06-06-2019 - 16:29)
Impact:
Exploitability:
CWE CWE-134
CAPEC
  • Format String Injection
    An attacker includes formatting characters in a string input field on the target application. Most applications assume that users will provide static text and may respond unpredictably to the presence of formatting character. For example, in certain functions of the C programming languages such as printf, the formatting character %s will print the contents of a memory location expecting this location to identify a string and the formatting character %n prints the number of DWORD written in the memory. An attacker can use this to read or write to memory locations or files, or simply to manipulate the value of the resulting text in unexpected ways. Reading or writing memory may result in program crashes and writing memory could result in the execution of arbitrary code if the attacker can write to the program stack.
  • String Format Overflow in syslog()
    This attack targets the format string vulnerabilities in the syslog() function. An attacker would typically inject malicious input in the format string parameter of the syslog function. This is a common problem, and many public vulnerabilities and associated exploits have been posted.
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL NONE NONE
cvss-vector via4 AV:N/AC:L/Au:N/C:P/I:N/A:N
redhat via4
advisories
  • bugzilla
    id 1698345
    title CVE-2016-10745 python-jinja2: Sandbox escape due to information disclosure via str.format
    oval
    AND
    • comment python-jinja2 is earlier than 0:2.7.2-3.el7_6
      oval oval:com.redhat.rhsa:tst:20191022005
    • comment python-jinja2 is signed with Red Hat redhatrelease2 key
      oval oval:com.redhat.rhsa:tst:20140747006
    • OR
      • comment Red Hat Enterprise Linux 7 Client is installed
        oval oval:com.redhat.rhba:tst:20150364001
      • comment Red Hat Enterprise Linux 7 Server is installed
        oval oval:com.redhat.rhba:tst:20150364002
      • comment Red Hat Enterprise Linux 7 Workstation is installed
        oval oval:com.redhat.rhba:tst:20150364003
      • comment Red Hat Enterprise Linux 7 ComputeNode is installed
        oval oval:com.redhat.rhba:tst:20150364004
    rhsa
    id RHSA-2019:1022
    released 2019-05-07
    severity Important
    title RHSA-2019:1022: python-jinja2 security update (Important)
  • rhsa
    id RHSA-2019:1237
  • rhsa
    id RHSA-2019:1260
rpms python-jinja2-0:2.7.2-3.el7_6
refmap via4
misc
suse openSUSE-SU-2019:1395
ubuntu
  • USN-4011-1
  • USN-4011-2
Last major update 06-06-2019 - 16:29
Published 08-04-2019 - 13:29
Back to Top