In affected versions of TensorFlow the tf.rawops.DataFormatVecPermute API does not validate the srcformat and dst_format attributes. The code assumes that these two arguments define a permutation of NHWC. This can result in uninitialized memory accesses, read outside of bounds and even crashes. This is fixed in versions 1.15.5, 2.0.4, 2.1.3, 2.2.2, 2.3.2, and 2.4.0.
{ "vanir_signatures": [ { "source": "https://github.com/tensorflow/tensorflow/commit/ebc70b7a592420d3d2f359e4b1694c236b82c7ae", "signature_version": "v1", "deprecated": false, "signature_type": "Line", "target": { "file": "tensorflow/core/kernels/data_format_ops.cc" }, "digest": { "line_hashes": [ "313994650402161586983917689434894485802", "130094773882623805663869682974364817317", "63662868083627739254062862644034061447", "275359223353134641114808102223859573201", "331307440669214918335895790650776587077", "83951950775522996153541642463375565806", "110680478284734640215047087273084300657", "329825087871365426555773122036027749837", "222270992452315474643495052266487055826", "315158931149083809491559055218996155829", "154603388818363930582659611870291908667", "185512401193860114234021105676990606824", "183029446372740524683017777512646302102", "1168723795512549235036915952055206157", "266922330232993059882635503985676463356", "133513391166850736861106802961685794558", "235945220321055799821111067271733113331", "251561166443076125767835700795166849206", "65525740044841502909301842366178829085", "148869675187540353363397726555020981607", "332263761514826419796309180666719486048", "53259635203583304156903165929834843192", "186953506709105487264072941382648011490", "79885697303505286815583400913045160495", "221193189215687644294057407398960998497", "121242689760206006999865113691868911763", "252420941107585766993710310642148456276", "142575214691111786979361361394672029840", "179634542567091506405428502619255654047", "157462980713806617184162930771827281434" ], "threshold": 0.9 }, "id": "CVE-2020-26267-8190db3f" } ] }