chore(deps): update dependency tensorflow to ~2.11.0 [security]#1006
Open
renovate-bot wants to merge 1 commit into
Open
chore(deps): update dependency tensorflow to ~2.11.0 [security]#1006renovate-bot wants to merge 1 commit into
renovate-bot wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
~2.8→~2.11.0Seg fault in
ndarray_tensor_bridgedue to zero and large inputsCVE-2022-41884 / GHSA-jq6x-99hj-q636
More information
Details
Impact
If a numpy array is created with a shape such that one element is zero and the others sum to a large number, an error will be raised. E.g. the following raises an error:
An example of a proof of concept:
The return value of
PyArray_SimpleNewFromData, which returns null on such shapes, is not checked.Patches
We have patched the issue in GitHub commit 2b56169c16e375c521a3bc8ea658811cc0793784.
The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range.
For more information
Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.
Attribution
This vulnerability has been reported by Pattarakrit Rattanukul.
Severity
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Overflow in
ImageProjectiveTransformV2CVE-2022-41886 / GHSA-54pp-c6pp-7fpx
More information
Details
Impact
When
tf.raw_ops.ImageProjectiveTransformV2is given a large output shape, it overflows.Patches
We have patched the issue in GitHub commit 8faa6ea692985dbe6ce10e1a3168e0bd60a723ba.
The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range.
For more information
Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.
Attribution
This vulnerability has been reported by Neophytos Christou from the Secure Systems Lab (SSL) at Brown University.
Severity
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Overflow in
tf.keras.losses.poissonCVE-2022-41887 / GHSA-8fvv-46hw-vpg3
More information
Details
Impact
tf.keras.losses.poissonreceives ay_predandy_truethat are passed throughfunctor::mulinBinaryOp. If the resulting dimensions overflow anint32, TensorFlow will crash due to a size mismatch during broadcast assignment.Patches
We have patched the issue in GitHub commit c5b30379ba87cbe774b08ac50c1f6d36df4ebb7c.
The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1 and 2.9.3, as these are also affected and still in supported range. However, we will not cherrypick this commit into TensorFlow 2.8.x, as it depends on Eigen behavior that changed between 2.8 and 2.9.
For more information
Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.
Attribution
This vulnerability has been reported by Pattarakrit Rattankul.
Severity
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
FPE in
tf.image.generate_bounding_box_proposalsCVE-2022-41888 / GHSA-6x99-gv2v-q76v
More information
Details
Impact
When running on GPU,
tf.image.generate_bounding_box_proposalsreceives ascoresinput that must be of rank 4 but is not checked.Patches
We have patched the issue in GitHub commit cf35502463a88ca7185a99daa7031df60b3c1c98.
The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range.
For more information
Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.
Attribution
This vulnerability has been reported by Pattarakrit Rattankul.
Severity
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Segfault via invalid attributes in
pywrap_tfe_src.ccCVE-2022-41889 / GHSA-xxcj-rhqg-m46g
More information
Details
Impact
If a list of quantized tensors is assigned to an attribute, the pywrap code fails to parse the tensor and returns a
nullptr, which is not caught. An example can be seen intf.compat.v1.extract_volume_patchesby passing in quantized tensors as inputksizes.Patches
We have patched the issue in GitHub commit e9e95553e5411834d215e6770c81a83a3d0866ce.
The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range.
For more information
Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.
Attribution
This vulnerability has been reported by Pattarakrit Rattankul.
Severity
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
CHECKfail inBCastoverflowCVE-2022-41890 / GHSA-h246-cgh4-7475
More information
Details
Impact
If
BCast::ToShapeis given input larger than anint32, it will crash, despite being supposed to handle up to anint64. An example can be seen intf.experimental.numpy.outerby passing in large input to the inputb.Patches
We have patched the issue in GitHub commit 8310bf8dd188ff780e7fc53245058215a05bdbe5.
The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range.
For more information
Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.
Attribution
This vulnerability has been reported by Pattarakrit Rattankul.
Severity
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Segfault in
tf.raw_ops.TensorListConcatCVE-2022-41891 / GHSA-66vq-54fq-6jvv
More information
Details
Impact
If
tf.raw_ops.TensorListConcatis givenelement_shape=[], it results segmentation fault which can be used to trigger a denial of service attack.Patches
We have patched the issue in GitHub commit fc33f3dc4c14051a83eec6535b608abe1d355fde.
The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range.
For more information
Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.
Attribution
This vulnerability has been reported by Tong Liu, ShanghaiTech University
Severity
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
CHECK_EQfail intf.raw_ops.TensorListResizeCVE-2022-41893 / GHSA-67pf-62xr-q35m
More information
Details
Impact
If
tf.raw_ops.TensorListResizeis given a nonscalar value for inputsize, it resultsCHECKfail which can be used to trigger a denial of service attack.Patches
We have patched the issue in GitHub commit 888e34b49009a4e734c27ab0c43b0b5102682c56.
The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range.
For more information
Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.
Attribution
This vulnerability has been reported by Pattarakrit Rattankul
Severity
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
MirrorPadGradheap out of bounds readCVE-2022-41895 / GHSA-gq2j-cr96-gvqx
More information
Details
Impact
If
MirrorPadGradis given outsize inputpaddings, TensorFlow will give a heap OOB error.Patches
We have patched the issue in GitHub commit 717ca98d8c3bba348ff62281fdf38dcb5ea1ec92.
The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range.
For more information
Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.
Attribution
This vulnerability has been reported by Vul AI.
Severity
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
tf.raw_ops.MfcccrashesCVE-2022-41896 / GHSA-rmg2-f698-wq35
More information
Details
Impact
If
ThreadUnsafeUnigramCandidateSampleris given inputfilterbank_channel_countgreater than the allowed max size, TensorFlow will crash.Patches
We have patched the issue in GitHub commit 39ec7eaf1428e90c37787e5b3fbd68ebd3c48860.
The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range.
For more information
Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.
Attribution
This vulnerability has been reported by Vul AI.
Severity
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
FractionalMaxPoolGradHeap out of bounds readCVE-2022-41897 / GHSA-f2w8-jw48-fr7j
More information
Details
Impact
If
FractionMaxPoolGradis given outsize inputsrow_pooling_sequenceandcol_pooling_sequence, TensorFlow will crash.Patches
We have patched the issue in GitHub commit d71090c3e5ca325bdf4b02eb236cfb3ee823e927.
The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range.
For more information
Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.
Attribution
This vulnerability has been reported by Vul AI.
Severity
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
CHECKfail via inputs inSparseFillEmptyRowsGradCVE-2022-41898 / GHSA-hq7g-wwwp-q46h
More information
Details
Impact
If
SparseFillEmptyRowsGradis given empty inputs, TensorFlow will crash.Patches
We have patched the issue in GitHub commit af4a6a3c8b95022c351edae94560acc61253a1b8.
The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range.
For more information
Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.
Attribution
This vulnerability has been reported by Jiawei Liu, PhD student at University of Illinois, Urbana-Champaign.
Severity
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
CHECKfail via inputs inSdcaOptimizerCVE-2022-41899 / GHSA-27rc-728f-x5w2
More information
Details
Impact
Inputs
dense_featuresorexample_state_datanot of rank 2 will trigger aCHECKfail inSdcaOptimizer.Patches
We have patched the issue in GitHub commit 80ff197d03db2a70c6a111f97dcdacad1b0babfa.
The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range.
For more information
Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.
Attribution
This vulnerability has been reported by Zizhuang Deng of IIE, UCAS
Severity
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
FractionalMaxPool and FractionalAVGPool heap out-of-bounds acess
CVE-2022-41900 / GHSA-xvwp-h6jv-7472
More information
Details
Impact
An input
pooling_ratiothat is smaller than 1 will trigger a heap OOB intf.raw_ops.FractionalMaxPoolandtf.raw_ops.FractionalAvgPool.Patches
We have patched the issue in GitHub commit 216525144ee7c910296f5b05d214ca1327c9ce48.
The fix will be included in TensorFlow 2.11.0. We will also cherry pick this commit on TensorFlow 2.10.1.
For more information
Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.
Severity
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
CHECK_EQfail via input inSparseMatrixNNZCVE-2022-41901 / GHSA-g9fm-r5mm-rf9f
More information
Details
Impact
An input
sparse_matrixthat is not a matrix with a shape with rank 0 will trigger aCHECKfail intf.raw_ops.SparseMatrixNNZ.Patches
We have patched the issue in GitHub commit f856d02e5322821aad155dad9b3acab1e9f5d693.
The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range.
For more information
Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.
Attribution
This vulnerability has been reported by Kang Hong Jin
Severity
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Out of bounds write in grappler in Tensorflow
CVE-2022-41902 / GHSA-cg88-rpvp-cjv5
More information
Details
Impact
The function MakeGrapplerFunctionItem takes arguments that determine the sizes of inputs and outputs. If the inputs given are greater than or equal to the sizes of the outputs, an out-of-bounds memory read or a crash is triggered.
Patches
We have patched the issue in GitHub commit a65411a1d69edfb16b25907ffb8f73556ce36bb7.
The fix will be included in TensorFlow 2.11.0. We will also cherrypick this commit on TensorFlow 2.10.1.
For more information
Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.
Severity
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Overflow in
ResizeNearestNeighborGradCVE-2022-41907 / GHSA-368v-7v32-52fx
More information
Details
Impact
When
tf.raw_ops.ResizeNearestNeighborGradis given a largesizeinput, it overflows.Patches
We have patched the issue in GitHub commit 00c821af032ba9e5f5fa3fe14690c8d28a657624.
The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range.
For more information
Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.
Attribution
This vulnerability has been reported by Neophytos Christou from the Secure Systems Lab (SSL) at Brown University.
Severity
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
CHECKfail via inputs inPyFuncCVE-2022-41908 / GHSA-mv77-9g28-cwg3
More information
Details
Impact
An input
tokenthat is not a UTF-8 bytestring will trigger aCHECKfail intf.raw_ops.PyFunc.Patches
We have patched the issue in GitHub commit 9f03a9d3bafe902c1e6beb105b2f24172f238645.
The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range.
For more information
Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.
Attribution
This vulnerability has been reported by pattarakritr@smu.edu.sg
Severity
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Segfault in
CompositeTensorVariantToComponentsCVE-2022-41909 / GHSA-rjx6-v474-2ch9
More information
Details
Impact
An input
encodedthat is not a validCompositeTensorVarianttensor will trigger a segfault intf.raw_ops.CompositeTensorVariantToComponents.Patches
We have patched the issue in GitHub commits bf594d08d377dc6a3354d9fdb494b32d45f91971 and 660ce5a89eb6766834bdc303d2ab3902aef99d3d.
The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range.
For more information
Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.
Attribution
This vulnerability has been reported by pattarakritr@smu.edu.sg
Severity
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Heap overflow in
QuantizeAndDequantizeV2CVE-2022-41910 / GHSA-frqp-wp83-qggv
More information
Details
Impact
The function MakeGrapplerFunctionItem takes arguments that determine the sizes of inputs and outputs. If the inputs given are greater than or equal to the sizes of the outputs, an out-of-bounds memory read or a crash is triggered.
Patches
We have patched the issue in GitHub commit 7b174a0f2e40ff3f3aa957aecddfd5aaae35eccb.
The fix will be included in TensorFlow 2.11.0. We will also cherrypick this commit on TensorFlow 2.10.1.
For more information
Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.
Severity
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Invalid char to bool conversion when printing a tensor
CVE-2022-41911 / GHSA-pf36-r9c6-h97j
More information
Details
Impact
When printing a tensor, we get it's data as a
const char*array (since that's the underlying storage) and then we typecast it to the element type. However, conversions fromchartoboolare undefined if thecharis not0or1, so sanitizers/fuzzers will crash.Patches
We have patched the issue in GitHub commit 1be743703279782a357adbf9b77dcb994fe8b508.
The fix will be included in TensorFlow 2.11.0. We will also cherrypick this commit on TensorFlow 2.10.1, TensorFlow 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range.
For more information
Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.
Attribution
This vulnerability was discovered via internal fuzzing.
Severity
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
CHECKfail inTensorListScatterandTensorListScatterV2in eager modeGHSA-xf83-q765-xm6m
More information
Details
Impact
Another instance of CVE-2022-35991, where
TensorListScatterandTensorListScatterV2crash via non scalar inputs inelement_shape, was found in eager mode and fixed.Patches
We have patched the issue in GitHub commit bf9932fc907aff0e9e8cccf769e8b00d30fd81a1.
The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range.
For more information
Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.
Attribution