IBM Support

Security Bulletin: WML CE: In Pillow before 7.1.0, there is a Buffer Overflow

Security Bulletin


Summary

In Pillow before 7.1.0, there are two Buffer Overflows in libImaging/TiffDecode.c. PyTorch and TensorFlow uses Pillow.

Vulnerability Details

CVEID:   CVE-2020-10378
DESCRIPTION:   Pillow could allow a remote attacker to obtain sensitive information, caused by an out-of-bounds read when reading PCX files where state->shuffle is instructed to read beyond state->buffer. By persuading a victim to open a specially crafted file, a remote attacker could exploit this vulnerability to obtain sensitive information.
CVSS Base score: 3.3
CVSS Temporal Score: See: https://exchange.xforce.ibmcloud.com/vulnerabilities/184185 for the current score.
CVSS Vector: (CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N)

CVEID:   CVE-2020-10379
DESCRIPTION:   Pillow is vulnerable to a buffer overflow, caused by improper bounds checking by TiffDecode.c. By persuading a victim to open a specially crafted file, a remote attacker could overflow a buffer and execute arbitrary code on the system or cause the application to crash.
CVSS Base score: 5.3
CVSS Temporal Score: See: https://exchange.xforce.ibmcloud.com/vulnerabilities/184184 for the current score.
CVSS Vector: (CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L)

Affected Products and Versions

Affected Product(s)Version(s)
IBM Watson Machine Learning Community Edition1.6.2
IBM Watson Machine Learning Community Edition1.7.0

Remediation/Fixes

A new version of Pillow has been included in WML CE. PyTorch and TensorFlow have been rebuilt to take advantage.

Workarounds and Mitigations

Tensorflow must be updated.

For the GPU enabled version:

  conda update tensorflow-gpu

For the non GPU enabled version:

   conda update tensorflow

 

PyTorch must be updated.

For the GPU enabled version:

  conda update pytorch

For the non GPU enabled version:

   conda update pytorch-cpu

 

Get Notified about Future Security Bulletins

References

Off

Change History

17 Jul 2020: Initial Publication

*The CVSS Environment Score is customer environment specific and will ultimately impact the Overall CVSS Score. Customers can evaluate the impact of this vulnerability in their environments by accessing the links in the Reference section of this Security Bulletin.

Disclaimer

Review the IBM security bulletin disclaimer and definitions regarding your responsibilities for assessing potential impact of security vulnerabilities to your environment.

Document Location

Worldwide

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SGLMYS","label":"IBM PowerAI"},"Component":"","Platform":[{"code":"PF016","label":"Linux"}],"Version":"1.6.2, 1.7.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
17 July 2020

UID

ibm16250523