prior_version
stringlengths
69
33.8k
after_version
stringlengths
27
34.8k
vuln_id
stringlengths
13
19
cwe_id
stringclasses
137 values
score
float64
0
10
chain
stringlengths
78
111
dataset
stringclasses
2 values
summary
stringlengths
44
6.88k
published_date
stringdate
2009-05-11 00:00:00
2022-08-11 00:00:00
chain_len
int64
1
1
project
stringlengths
26
59
commit_href
stringlengths
74
107
commit_sha
stringlengths
40
40
patch
stringclasses
1 value
chain_ord
stringlengths
44
44
before_first_fix_commit
stringlengths
44
88
last_fix_commit
stringlengths
40
40
chain_ord_pos
int64
1
1
commit_datetime
stringlengths
20
20
message
stringlengths
2
8.66k
author
stringlengths
2
44
comments
stringclasses
155 values
stats
stringclasses
474 values
files
listlengths
1
1
file_extension
stringclasses
14 values
cwe
stringclasses
25 values
file_paths
listlengths
1
1
file_paths_str
stringlengths
4
162
num_files
int64
1
1
interface IPayload extends Partial<IMessage> { } /* eslint-enable camelcase */ /** * @private * @constructor interface IPayload extends Partial<IMessage> { * * @property {object} sharedWithDevices * devices with which we have shared the session key * userId -> {deviceId -> msgindex} */ class Outbound...
interface IPayload extends Partial<IMessage> { } /* eslint-enable camelcase */ interface SharedWithData { // The identity key of the device we shared with deviceKey: string; // The message index of the ratchet we shared with that device messageIndex: number; } /** * @private * @constructor interfac...
GHSA-23cm-x6j7-6hq3
{'CWE-200'}
5.9
{'https://github.com/matrix-org/matrix-js-sdk/commit/894c24880da0e1cc81818f51c0db80e3c9fb2be9'}
osv
matrix-js-sdk can be tricked into disclosing E2EE room keys to a participating homeserver ### Impact A logic error in the room key sharing functionality of matrix-js-sdk before 12.4.1 allows a malicious Matrix homeserver† participating in an encrypted room to steal room encryption keys from affected Matrix clients par...
2021-09-14
1
https://github.com/matrix-org/matrix-js-sdk
https://github.com/matrix-org/matrix-js-sdk/commit/894c24880da0e1cc81818f51c0db80e3c9fb2be9
894c24880da0e1cc81818f51c0db80e3c9fb2be9
SINGLE
['894c24880da0e1cc81818f51c0db80e3c9fb2be9']
{'f8186add92dd5f0ca2f6a1cda10bc0ece3730f86'}
894c24880da0e1cc81818f51c0db80e3c9fb2be9
1
09/13/2021, 11:34:48
Verify target device key on reshare
RiotRobot
null
{'additions': 29, 'deletions': 9, 'total': 38}
[ { "additions": 29, "changes": 38, "deletions": 9, "patch": "@@ -101,6 +101,13 @@ interface IPayload extends Partial<IMessage> {\n }\n /* eslint-enable camelcase */\n \n+interface SharedWithData {\n+ // The identity key of the device we shared with\n+ deviceKey: string;\n+ // The message ind...
ts
CWE-200
[ "src/crypto/algorithms/megolm.ts" ]
src/crypto/algorithms/megolm.ts
1
const formatError = error => [ { messages: [{ id: error.id, message: error.message, field: error.field }] }, ]; /** * A set of functions called "actions" for `Admin` */ module.exports = { try { const { plugin } = ctx.request.body; if (!/^[A-Za-z0-9_-]+$/.test(plugin)) { return ctx.badRequ...
const formatError = error => [ { messages: [{ id: error.id, message: error.message, field: error.field }] }, ]; const PLUGIN_NAME_REGEX = /^[A-Za-z][A-Za-z0-9-_]+$/; /** * Validates a plugin name format */ const isValidPluginName = plugin => { return ( _.isString(plugin) && !_.isEmpty(plugin) && PLUGIN_NAM...
GHSA-23fp-fmrv-f5px
{'CWE-400'}
4.9
{'https://github.com/strapi/strapi/commit/c0c191c08f05fe10d7a6b1bf9475c1a651a89362'}
osv
Uncontrolled Resource Consumption in strapi A denial of service exists in strapi v3.0.0-beta.18.3 and earlier that can be abused in the admin console using admin rights can lead to arbitrary restart of the application.
2021-12-10
1
https://github.com/strapi/strapi
https://github.com/strapi/strapi/commit/c0c191c08f05fe10d7a6b1bf9475c1a651a89362
c0c191c08f05fe10d7a6b1bf9475c1a651a89362
SINGLE
['c0c191c08f05fe10d7a6b1bf9475c1a651a89362']
{'7e3f7ee2de9eecd0bc098d7b77940b64f48b3a96'}
c0c191c08f05fe10d7a6b1bf9475c1a651a89362
1
01/07/2020, 13:15:16
chore(admin): Improve plugin name validator in install/uninstall plugin
Alexandre Bodin
null
{'additions': 13, 'deletions': 2, 'total': 15}
[ { "additions": 13, "changes": 15, "deletions": 2, "patch": "@@ -7,6 +7,17 @@ const formatError = error => [\n { messages: [{ id: error.id, message: error.message, field: error.field }] },\n ];\n \n+const PLUGIN_NAME_REGEX = /^[A-Za-z][A-Za-z0-9-_]+$/;\n+\n+/**\n+ * Validates a plugin name format\n...
js
CWE-400
[ "packages/strapi-admin/controllers/Admin.js" ]
packages/strapi-admin/controllers/Admin.js
1
class DequantizeOp : public OpKernel { const Tensor& input_min_tensor = ctx->input(1); const Tensor& input_max_tensor = ctx->input(2); int num_slices = 1; if (axis_ > -1) { num_slices = input.dim_size(axis_);
class DequantizeOp : public OpKernel { const Tensor& input_min_tensor = ctx->input(1); const Tensor& input_max_tensor = ctx->input(2); OP_REQUIRES( ctx, axis_ < input.dims(), errors::InvalidArgument("Axis must be less than input dimension(", input.dims(), ")...
GHSA-23hm-7w47-xw72
{'CWE-125'}
8.1
{'https://github.com/tensorflow/tensorflow/commit/23968a8bf65b009120c43b5ebcceaf52dbc9e943'}
osv
Out of bounds read in Tensorflow ### Impact The [implementation of `Dequantize`](https://github.com/tensorflow/tensorflow/blob/5100e359aef5c8021f2e71c7b986420b85ce7b3d/tensorflow/core/kernels/dequantize_op.cc#L92-L153) does not fully validate the value of `axis` and can result in heap OOB accesses: ```python import t...
2022-02-09
1
https://github.com/tensorflow/tensorflow
https://github.com/tensorflow/tensorflow/commit/23968a8bf65b009120c43b5ebcceaf52dbc9e943
23968a8bf65b009120c43b5ebcceaf52dbc9e943
SINGLE
['23968a8bf65b009120c43b5ebcceaf52dbc9e943']
{'566576746f47ebf42c38ebe01cca6dbb8832a9ef'}
23968a8bf65b009120c43b5ebcceaf52dbc9e943
1
11/20/2021, 07:16:11
Fix out of bound access in DequantizeOp by adding check for axis < input dimension PiperOrigin-RevId: 411214268 Change-Id: I3249d2a69ddc82f182c589a3a5bbfb71543f4b29
Isha Arkatkar
null
{'additions': 5, 'deletions': 0, 'total': 5}
[ { "additions": 5, "changes": 5, "deletions": 0, "patch": "@@ -94,6 +94,11 @@ class DequantizeOp : public OpKernel {\n const Tensor& input_min_tensor = ctx->input(1);\n const Tensor& input_max_tensor = ctx->input(2);\n \n+ OP_REQUIRES(\n+ ctx, axis_ < input.dims(),\n+ errors:...
cc
CWE-125
[ "tensorflow/core/kernels/dequantize_op.cc" ]
tensorflow/core/kernels/dequantize_op.cc
1
limitations under the License. #include "tensorflow/core/framework/attr_value.pb.h" #include "tensorflow/core/framework/function.pb.h" #include "tensorflow/core/framework/node_def.pb.h" #include "tensorflow/core/framework/tensor.pb.h" #include "tensorflow/core/lib/io/path.h" #include "tensorflow/core/lib/monitoring/co...
limitations under the License. #include "tensorflow/core/framework/attr_value.pb.h" #include "tensorflow/core/framework/function.pb.h" #include "tensorflow/core/framework/node_def.pb.h" #include "tensorflow/core/framework/op_def.pb.h" #include "tensorflow/core/framework/tensor.pb.h" #include "tensorflow/core/lib/io/pa...
GHSA-247x-2f9f-5wp7
{'CWE-400'}
7.5
{'https://github.com/tensorflow/tensorflow/commit/448a16182065bd08a202d9057dd8ca541e67996c'}
osv
Stack overflow in TensorFlow ### Impact The `GraphDef` format in TensorFlow does not allow self recursive functions. The runtime assumes that this invariant is satisfied. However, a `GraphDef` containing a fragment such as the following can be consumed when loading a `SavedModel`: ``` library { function { ...
2022-02-09
1
https://github.com/tensorflow/tensorflow
https://github.com/tensorflow/tensorflow/commit/448a16182065bd08a202d9057dd8ca541e67996c
448a16182065bd08a202d9057dd8ca541e67996c
SINGLE
['448a16182065bd08a202d9057dd8ca541e67996c']
{'7b1eba4193a389c7e92e01e585aeb71be97529cd'}
448a16182065bd08a202d9057dd8ca541e67996c
1
12/08/2021, 00:49:32
Prevent stack overflow when FunctionLib in GraphDef has a self-recursive function. It is likely that no recursivity is supported, but we should handle this separately. PiperOrigin-RevId: 414860329 Change-Id: I02a2270e86282b37362ddd485eeef16fb986a9e0
Mihai Maruseac
null
{'additions': 18, 'deletions': 0, 'total': 18}
[ { "additions": 18, "changes": 18, "deletions": 0, "patch": "@@ -25,6 +25,7 @@ limitations under the License.\n #include \"tensorflow/core/framework/attr_value.pb.h\"\n #include \"tensorflow/core/framework/function.pb.h\"\n #include \"tensorflow/core/framework/node_def.pb.h\"\n+#include \"tensorflow/...
cc
CWE-400
[ "tensorflow/cc/saved_model/loader.cc" ]
tensorflow/cc/saved_model/loader.cc
1
function ($val) { throw new Error\NotFound('The URL wasn\'t found in the module.'); } if (substr($path, -4) === '.php') { // PHP file - attempt to run it /* In some environments, $_SERVER['SCRIPT_NAME'] is already set with $_SERVER['PATH_INFO']. Check for that
function ($val) { throw new Error\NotFound('The URL wasn\'t found in the module.'); } if (mb_strtolower(substr($path, -4), 'UTF-8') === '.php') { // PHP file - attempt to run it /* In some environments, $_SERVER['SCRIPT_NAME'] is already set with $_SERVER['PATH_INF...
GHSA-24m3-w8g9-jwpq
{'CWE-178', 'CWE-200'}
3
{'https://github.com/simplesamlphp/simplesamlphp/commit/47968d26a2fd3ed52da70dc09210921d612ce44e'}
osv
Information disclosure of source code in SimpleSAMLphp ### Background The module controller in `SimpleSAML\Module` that processes requests for pages hosted by modules, has code to identify paths ending with `.php` and process those as PHP code. If no other suitable way of handling the given path exists it presents the...
2020-04-22
1
https://github.com/simplesamlphp/simplesamlphp
https://github.com/simplesamlphp/simplesamlphp/commit/47968d26a2fd3ed52da70dc09210921d612ce44e
47968d26a2fd3ed52da70dc09210921d612ce44e
SINGLE
['47968d26a2fd3ed52da70dc09210921d612ce44e']
{'228e4f2287fd5d73727178b87de7a9652bf1c5b0'}
47968d26a2fd3ed52da70dc09210921d612ce44e
1
04/16/2020, 12:17:24
Fix source code disclosure on case-insensitive file systems If the file system containing the PHP code is case-insensitive, a request containing an uppercase file extension will return the contents of the PHP file to the browser instead of executing it. E.g. a request for this URL will return the source code: http...
Olav Morken
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -259,7 +259,7 @@ function ($val) {\n throw new Error\\NotFound('The URL wasn\\'t found in the module.');\n }\n \n- if (substr($path, -4) === '.php') {\n+ if (mb_strtolower(substr($path, -4), 'UTF-8') === '...
php
CWE-200
[ "lib/SimpleSAML/Module.php" ]
lib/SimpleSAML/Module.php
1
class DecodeImageV2Op : public OpKernel { if (width != static_cast<int64_t>(decode.width) || width <= 0 || width >= (1LL << 27) || height != static_cast<int64_t>(decode.height) || height <= 0 || height >= (1LL << 27) || total_size >= (1LL << 29)) { png::CommonFreeDecode(&decode); OP_REQ...
class DecodeImageV2Op : public OpKernel { if (width != static_cast<int64_t>(decode.width) || width <= 0 || width >= (1LL << 27) || height != static_cast<int64_t>(decode.height) || height <= 0 || height >= (1LL << 27) || total_size >= (1LL << 29)) { OP_REQUIRES(context, false, ...
GHSA-24x4-6qmh-88qg
{'CWE-416'}
7.6
{'https://github.com/tensorflow/tensorflow/commit/e746adbfcfee15e9cfdb391ff746c765b99bdf9b'}
osv
Use after free in `DecodePng` kernel ### Impact A malicious user can cause a use after free behavior when [decoding PNG images](https://github.com/tensorflow/tensorflow/blob/a1320ec1eac186da1d03f033109191f715b2b130/tensorflow/core/kernels/image/decode_image_op.cc#L339-L346): ```cc if (/* ... error conditions ... */) { ...
2022-02-09
1
https://github.com/tensorflow/tensorflow
https://github.com/tensorflow/tensorflow/commit/e746adbfcfee15e9cfdb391ff746c765b99bdf9b
e746adbfcfee15e9cfdb391ff746c765b99bdf9b
SINGLE
['e746adbfcfee15e9cfdb391ff746c765b99bdf9b']
{'3098fd96f45207b030c48ac78922d6221a4c421a'}
e746adbfcfee15e9cfdb391ff746c765b99bdf9b
1
11/12/2021, 03:12:19
Prevent use after free in `DecodePng` kernel. We are cleaning up the memory in `decode` and then we are using an `OP_REQUIRES` to check an invariant on the `decode` data. PiperOrigin-RevId: 409299145 Change-Id: I4eb93aaca52483eb202e89b78df07fbb2f6cb254
Mihai Maruseac
null
{'additions': 0, 'deletions': 1, 'total': 1}
[ { "additions": 0, "changes": 1, "deletions": 1, "patch": "@@ -339,7 +339,6 @@ class DecodeImageV2Op : public OpKernel {\n if (width != static_cast<int64_t>(decode.width) || width <= 0 ||\n width >= (1LL << 27) || height != static_cast<int64_t>(decode.height) ||\n height <= 0 || h...
cc
CWE-416
[ "tensorflow/core/kernels/image/decode_image_op.cc" ]
tensorflow/core/kernels/image/decode_image_op.cc
1
template <KernelType kernel_type, typename OpType> TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) { OpContext op_context(context, node); switch (op_context.output->type) { case kTfLiteFloat32: TFLiteOperation<kernel_type, float, OpType>(context, node, op_context); break; ...
template <KernelType kernel_type, typename OpType> TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) { OpContext op_context(context, node); // If inputs have no element, shortcircuit. if (NumElements(op_context.input1) == 0 || NumElements(op_context.input2) == 0) { return kTfLiteOk; } s...
GHSA-24x6-8c7m-hv3f
{'CWE-125'}
2.5
{'https://github.com/tensorflow/tensorflow/commit/953f28dca13c92839ba389c055587cfe6c723578'}
osv
Heap OOB read in TFLite's implementation of `Minimum` or `Maximum` ### Impact The implementations of the `Minimum` and `Maximum` TFLite operators can be used to read data outside of bounds of heap allocated objects, if any of the two input tensor arguments are empty. This is because [the broadcasting implementation](h...
2021-05-21
1
https://github.com/tensorflow/tensorflow
https://github.com/tensorflow/tensorflow/commit/953f28dca13c92839ba389c055587cfe6c723578
953f28dca13c92839ba389c055587cfe6c723578
SINGLE
['953f28dca13c92839ba389c055587cfe6c723578']
{'801c1c6be5324219689c98e1bd3e0ca365ee834d'}
953f28dca13c92839ba389c055587cfe6c723578
1
04/28/2021, 00:46:38
Prevent a null pointer exception in TFLite PiperOrigin-RevId: 370800206 Change-Id: Idd437ebce4ff224120d8eefc1c14c062173b71d6
Mihai Maruseac
null
{'additions': 31, 'deletions': 29, 'total': 60}
[ { "additions": 31, "changes": 60, "deletions": 29, "patch": "@@ -157,35 +157,37 @@ template <KernelType kernel_type, typename OpType>\n TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) {\n OpContext op_context(context, node);\n \n- switch (op_context.output->type) {\n- case kTfL...
cc
CWE-125
[ "tensorflow/lite/kernels/maximum_minimum.cc" ]
tensorflow/lite/kernels/maximum_minimum.cc
1
var QueryGenerator = { path[path.length - 1] = $tmp[0]; } $baseKey = self.quoteIdentifier(key)+'#>>\'{'+path.join(', ')+'}\''; if (options.prefix) { if (options.prefix instanceof Utils.literal) {
var QueryGenerator = { path[path.length - 1] = $tmp[0]; } var pathKey = self.escape('{' + path.join(', ') + '}'); $baseKey = self.quoteIdentifier(key)+'#>>'+pathKey; if (options.prefix) { if (options.prefix instanceof Utils.literal) {
GHSA-2598-2f59-rmhq
{'CWE-89'}
9.8
{'https://github.com/sequelize/sequelize/commit/ee4017379db0059566ecb5424274ad4e2d66bc68'}
osv
SQL Injection in sequelize Versions of `sequelize` prior to 3.35.1 are vulnerable to SQL Injection. The package fails to sanitize JSON path keys in the Postgres dialect, which may allow attackers to inject SQL statements and execute arbitrary SQL queries. ## Recommendation Upgrade to version 3.35.1 or later.
2019-11-08
1
https://github.com/sequelize/sequelize
https://github.com/sequelize/sequelize/commit/ee4017379db0059566ecb5424274ad4e2d66bc68
ee4017379db0059566ecb5424274ad4e2d66bc68
SINGLE
['ee4017379db0059566ecb5424274ad4e2d66bc68']
{'75c1fdbc676d73a28a5e0bca49b2a6d4a9f8708c'}
ee4017379db0059566ecb5424274ad4e2d66bc68
1
06/20/2019, 05:26:22
fix(postgres): json path key quoting (#11088)
Sushant
null
{'additions': 2, 'deletions': 1, 'total': 3}
[ { "additions": 2, "changes": 3, "deletions": 1, "patch": "@@ -2198,7 +2198,8 @@ var QueryGenerator = {\n path[path.length - 1] = $tmp[0];\n }\n \n- $baseKey = self.quoteIdentifier(key)+'#>>\\'{'+path.join(', ')+'}\\'';\n+ var pathKey = self.escape('{' + path.j...
js
CWE-89
[ "lib/dialects/abstract/query-generator.js" ]
lib/dialects/abstract/query-generator.js
1
class MapStageOp : public OpKernel { OP_REQUIRES_OK(ctx, ctx->input("key", &key_tensor)); OP_REQUIRES_OK(ctx, ctx->input("indices", &indices_tensor)); OP_REQUIRES_OK(ctx, ctx->input_list("values", &values_tensor)); // Create copy for insertion into Staging Area Tensor key(*key_tensor);
class MapStageOp : public OpKernel { OP_REQUIRES_OK(ctx, ctx->input("key", &key_tensor)); OP_REQUIRES_OK(ctx, ctx->input("indices", &indices_tensor)); OP_REQUIRES_OK(ctx, ctx->input_list("values", &values_tensor)); OP_REQUIRES(ctx, key_tensor->NumElements() > 0, errors::InvalidArgument(...
GHSA-278g-rq84-9hmg
{'CWE-20'}
5.5
{'https://github.com/tensorflow/tensorflow/commit/d7de67733925de196ec8863a33445b73f9562d1d'}
osv
`CHECK`-fail in `MapStage` ### Impact An attacker can trigger a denial of service via a `CHECK`-fail in `tf.raw_ops.MapStage`: ```python import tensorflow as tf tf.raw_ops.MapStage( key=tf.constant([], shape=[0, 0, 0, 0], dtype=tf.int64), indices=tf.constant((0), dtype=tf.int32), values=[tf.constant((0), dtyp...
2021-08-25
1
https://github.com/tensorflow/tensorflow
https://github.com/tensorflow/tensorflow/commit/d7de67733925de196ec8863a33445b73f9562d1d
d7de67733925de196ec8863a33445b73f9562d1d
SINGLE
['d7de67733925de196ec8863a33445b73f9562d1d']
{'102cacf28ad5a9e7f00b5a195d1995ead8870006'}
d7de67733925de196ec8863a33445b73f9562d1d
1
07/30/2021, 05:23:46
Prevent a CHECK-fail due to empty tensor input in `map_stage_op.cc` PiperOrigin-RevId: 387737906 Change-Id: Idc52df0c71c7ed6e2dd633b651a581932f277c8a
Mihai Maruseac
null
{'additions': 2, 'deletions': 0, 'total': 2}
[ { "additions": 2, "changes": 2, "deletions": 0, "patch": "@@ -527,6 +527,8 @@ class MapStageOp : public OpKernel {\n OP_REQUIRES_OK(ctx, ctx->input(\"key\", &key_tensor));\n OP_REQUIRES_OK(ctx, ctx->input(\"indices\", &indices_tensor));\n OP_REQUIRES_OK(ctx, ctx->input_list(\"values\", &...
cc
CWE-20
[ "tensorflow/core/kernels/map_stage_op.cc" ]
tensorflow/core/kernels/map_stage_op.cc
1
limitations under the License. // // Input: // Tensor[0]: Hash functions. Dim.size == 2, DataType: Float. // Tensor[0].Dim[0]: Num of hash functions. // Tensor[0].Dim[1]: Num of projected output bits generated by // each hash function. // In sparse case, Ten...
limitations under the License. // // Input: // Tensor[0]: Hash functions. Dim.size == 2, DataType: Float. // Tensor[0].Dim[0]: Num of hash functions. Must be at least 1. // Tensor[0].Dim[1]: Num of projected output bits generated by // each hash function. // ...
GHSA-27qf-jwm8-g7f3
{'CWE-369'}
5.5
{'https://github.com/tensorflow/tensorflow/commit/0575b640091680cfb70f4dd93e70658de43b94f9'}
osv
FPE in LSH in TFLite ### Impact An attacker can craft a TFLite model that would trigger a division by zero error in LSH [implementation](https://github.com/tensorflow/tensorflow/blob/149562d49faa709ea80df1d99fc41d005b81082a/tensorflow/lite/kernels/lsh_projection.cc#L118). ```cc int RunningSignBit(const TfLiteTensor* ...
2021-08-25
1
https://github.com/tensorflow/tensorflow
https://github.com/tensorflow/tensorflow/commit/0575b640091680cfb70f4dd93e70658de43b94f9
0575b640091680cfb70f4dd93e70658de43b94f9
SINGLE
['0575b640091680cfb70f4dd93e70658de43b94f9']
{'13aec9e4558d83fedac084ad66e32daf8bbcde0f'}
0575b640091680cfb70f4dd93e70658de43b94f9
1
07/27/2021, 23:45:20
Prevent division by 0 in LSH projection. PiperOrigin-RevId: 387225857 Change-Id: Iaeb572a763618c64f503e0026f6dd9fd769bf50c
Mihai Maruseac
null
{'additions': 2, 'deletions': 1, 'total': 3}
[ { "additions": 2, "changes": 3, "deletions": 1, "patch": "@@ -28,7 +28,7 @@ limitations under the License.\n //\n // Input:\n // Tensor[0]: Hash functions. Dim.size == 2, DataType: Float.\n-// Tensor[0].Dim[0]: Num of hash functions.\n+// Tensor[0].Dim[0]: Num of hash fun...
cc
CWE-369
[ "tensorflow/lite/kernels/lsh_projection.cc" ]
tensorflow/lite/kernels/lsh_projection.cc
1
import { platform } from "os"; import { exec } from "child_process"; export interface PingResult { packetsTransmitted: number; export interface PingResult { mdev: number; } export function ping( host: string, callback: (err: Error, res?: PingResult, stdout?: string) => void ): void { let cmd: string, pars...
import { platform } from "os"; import { exec } from "child_process"; import { domainToASCII } from "url"; export interface PingResult { packetsTransmitted: number; export interface PingResult { mdev: number; } function isValidHost(host: string): boolean { // Valid chars in IPv4, IPv6, domain names if (/^[a-...
GHSA-2877-693q-pj33
{'CWE-78'}
9.8
{'https://github.com/genieacs/genieacs/commit/7f295beeecc1c1f14308a93c82413bb334045af6'}
osv
OS Command Injection in GenieACS In GenieACS 1.2.x before 1.2.8, the UI interface API is vulnerable to unauthenticated OS command injection via the ping host argument (lib/ui/api.ts and lib/ping.ts). The vulnerability arises from insufficient input validation combined with a missing authorization check.
2022-03-07
1
https://github.com/genieacs/genieacs
https://github.com/genieacs/genieacs/commit/7f295beeecc1c1f14308a93c82413bb334045af6
7f295beeecc1c1f14308a93c82413bb334045af6
SINGLE
['7f295beeecc1c1f14308a93c82413bb334045af6']
{'2ac536bf8f2dd03c24b2eff35b69578b4efae94e'}
7f295beeecc1c1f14308a93c82413bb334045af6
1
10/14/2021, 07:33:35
Validate host arg passed to ping Fixes remote code execution vulnerability reported by Alex Hordijk.
Zaid Abdulla
null
{'additions': 13, 'deletions': 0, 'total': 13}
[ { "additions": 13, "changes": 13, "deletions": 0, "patch": "@@ -19,6 +19,7 @@\n \n import { platform } from \"os\";\n import { exec } from \"child_process\";\n+import { domainToASCII } from \"url\";\n \n export interface PingResult {\n packetsTransmitted: number;\n@@ -30,11 +31,23 @@ export interf...
ts
CWE-78
[ "lib/ping.ts" ]
lib/ping.ts
1
var reRegExpChar = /[\\^$.*+?()[\]{}|]/g, reHasRegExpChar = RegExp(reRegExpChar.source); /** Used to match leading and trailing whitespace. */ var reTrim = /^\s+|\s+$/g, reTrimStart = /^\s+/, reTrimEnd = /\s+$/; /** Used to match wrap detail comments. */ var reWrapComment = /\{(?:\n\/\* \...
var reRegExpChar = /[\\^$.*+?()[\]{}|]/g, reHasRegExpChar = RegExp(reRegExpChar.source); /** Used to match leading whitespace. */ var reTrimStart = /^\s+/; /** Used to match a single whitespace character. */ var reWhitespace = /\s/; /** Used to match wrap detail comments. */ var reWrapComment = ...
GHSA-29mw-wpgm-hmr9
{'CWE-400'}
5.3
{'https://github.com/lodash/lodash/pull/5065/commits/02906b8191d3c100c193fe6f7b27d1c40f200bb7'}
osv
Regular Expression Denial of Service (ReDoS) in lodash All versions of package lodash prior to 4.17.21 are vulnerable to Regular Expression Denial of Service (ReDoS) via the toNumber, trim and trimEnd functions. Steps to reproduce (provided by reporter Liyuan Chen): var lo = require('lodash'); function build_blank (n) ...
2022-01-06
1
https://github.com/lodash/lodash
https://github.com/lodash/lodash/pull/5065/commits/02906b8191d3c100c193fe6f7b27d1c40f200bb7
02906b8191d3c100c193fe6f7b27d1c40f200bb7
SINGLE
['02906b8191d3c100c193fe6f7b27d1c40f200bb7']
{'ded9bc66583ed0b4e3b7dc906206d40757b4a90a'}
02906b8191d3c100c193fe6f7b27d1c40f200bb7
1
01/26/2021, 22:17:05
perf: improve performance of `toNumber`, `trim` and `trimEnd` on large input strings
Michał Lipiński
null
{'additions': 36, 'deletions': 7, 'total': 43}
[ { "additions": 36, "changes": 43, "deletions": 7, "patch": "@@ -152,10 +152,11 @@\n var reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g,\n reHasRegExpChar = RegExp(reRegExpChar.source);\n \n- /** Used to match leading and trailing whitespace. */\n- var reTrim = /^\\s+|\\s+$/g,\n- reTrimStart ...
js
CWE-400
[ "lodash.js" ]
lodash.js
1
limitations under the License. #include <utility> #include <vector> #include "tensorflow/core/framework/op_kernel.h" #include "tensorflow/core/framework/register_types.h" #include "tensorflow/core/framework/op_kernel.h" #include "tensorflow/core/framework/register_types.h" #include "tensorflow/core/framework/resourc...
limitations under the License. #include <utility> #include <vector> #include "tensorflow/core/framework/op_kernel.h" #include "tensorflow/core/framework/register_types.h" #include "tensorflow/core/framework/resource_mgr.h" #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/framework/tensor_util.h...
GHSA-2cpx-427x-q2c6
{'CWE-190'}
2.5
{'https://github.com/tensorflow/tensorflow/commit/69c68ecbb24dff3fa0e46da0d16c821a2dd22d7c'}
osv
CHECK-fail in AddManySparseToTensorsMap ### Impact An attacker can trigger a denial of service via a `CHECK`-fail in `tf.raw_ops.AddManySparseToTensorsMap`: ```python import tensorflow as tf import numpy as np sparse_indices = tf.constant(530, shape=[1, 1], dtype=tf.int64) sparse_values = tf.ones([1], dtype=tf.int64...
2021-05-21
1
https://github.com/tensorflow/tensorflow
https://github.com/tensorflow/tensorflow/commit/69c68ecbb24dff3fa0e46da0d16c821a2dd22d7c
69c68ecbb24dff3fa0e46da0d16c821a2dd22d7c
SINGLE
['69c68ecbb24dff3fa0e46da0d16c821a2dd22d7c']
{'6f9896890c4c703ae0a0845394086e2e1e523299'}
69c68ecbb24dff3fa0e46da0d16c821a2dd22d7c
1
04/20/2021, 19:14:41
Fix overflow CHECK issue with `tf.raw_ops.AddManySparseToTensorsMap`. PiperOrigin-RevId: 369492969 Change-Id: I1d70d6c0c92e3d7a25bc3b3aa2a0c0ac9688bf81
Amit Patankar
null
{'additions': 19, 'deletions': 7, 'total': 26}
[ { "additions": 19, "changes": 26, "deletions": 7, "patch": "@@ -21,16 +21,14 @@ limitations under the License.\n #include <utility>\n #include <vector>\n \n-#include \"tensorflow/core/framework/op_kernel.h\"\n-#include \"tensorflow/core/framework/register_types.h\"\n-\n #include \"tensorflow/core/fr...
cc
CWE-190
[ "tensorflow/core/kernels/sparse_tensors_map_ops.cc" ]
tensorflow/core/kernels/sparse_tensors_map_ops.cc
1
public function audit(Request $request) { } } return response()->json(Helper::formatStandardApiResponse('error', ['asset_tag'=> e($request->input('asset_tag'))], 'Asset with tag '.$request->input('asset_tag').' not found'));
public function audit(Request $request) { } } return response()->json(Helper::formatStandardApiResponse('error', ['asset_tag'=> e($request->input('asset_tag'))], 'Asset with tag '.e($request->input('asset_tag')).' not found'));
GHSA-2cqg-q7jm-j35c
{'CWE-79'}
3.9
{'https://github.com/snipe/snipe-it/commit/9ed1442bd124710f4178992cc4eca5236c7396b9'}
osv
snipe-it is vulnerable to Cross-site Scripting snipe-it is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
2021-11-15
1
https://github.com/snipe/snipe-it
https://github.com/snipe/snipe-it/commit/9ed1442bd124710f4178992cc4eca5236c7396b9
9ed1442bd124710f4178992cc4eca5236c7396b9
SINGLE
['9ed1442bd124710f4178992cc4eca5236c7396b9']
{'edf98cb7951a922cdef7505e1efd115f92d1afd9', '3ea209a507fbcc992e0a9152e2074709e8459b47'}
9ed1442bd124710f4178992cc4eca5236c7396b9
1
11/09/2021, 04:32:02
Merge pull request #10286 from uberbrady/fix_bulk_audit_xss Escape asset_tag attribute at controller level for bulk checkout
snipe
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -910,7 +910,7 @@ public function audit(Request $request) {\n }\n }\n \n- return response()->json(Helper::formatStandardApiResponse('error', ['asset_tag'=> e($request->input('asset_tag'))], 'Asset with tag '.$requ...
php
CWE-79
[ "app/Http/Controllers/Api/AssetsController.php" ]
app/Http/Controllers/Api/AssetsController.php
1
limitations under the License. #include "tensorflow/core/framework/op_kernel.h" #include "tensorflow/core/framework/register_types.h" #include "tensorflow/core/framework/tensor_types.h" #include "tensorflow/core/framework/types.h" #include "tensorflow/core/kernels/reshape_op.h" class QuantizedReshapeOp : public Resha...
limitations under the License. #include "tensorflow/core/framework/op_kernel.h" #include "tensorflow/core/framework/register_types.h" #include "tensorflow/core/framework/tensor_shape.h" #include "tensorflow/core/framework/tensor_types.h" #include "tensorflow/core/framework/types.h" #include "tensorflow/core/kernels/r...
GHSA-2gfx-95x2-5v3x
{'CWE-787'}
2.5
{'https://github.com/tensorflow/tensorflow/commit/a324ac84e573fba362a5e53d4e74d5de6729933e'}
osv
Heap buffer overflow in `QuantizedReshape` ### Impact An attacker can cause a heap buffer overflow in `QuantizedReshape` by passing in invalid thresholds for the quantization: ```python import tensorflow as tf tensor = tf.constant([], dtype=tf.qint32) shape = tf.constant([], dtype=tf.int32) input_min = tf.constant([]...
2021-05-21
1
https://github.com/tensorflow/tensorflow
https://github.com/tensorflow/tensorflow/commit/a324ac84e573fba362a5e53d4e74d5de6729933e
a324ac84e573fba362a5e53d4e74d5de6729933e
SINGLE
['a324ac84e573fba362a5e53d4e74d5de6729933e']
{'2ec2ce48365486311e56b3503bb75ab9e72a813d'}
a324ac84e573fba362a5e53d4e74d5de6729933e
1
04/22/2021, 01:11:15
Validate arguments to `QuantizedReshape`. Ensure that validations from `Reshape` also terminate `QuantizedReshape` on failure. PiperOrigin-RevId: 369775421 Change-Id: If8c5342267aceea65b7cb83a4b183304886f1ce8
Mihai Maruseac
null
{'additions': 23, 'deletions': 2, 'total': 25}
[ { "additions": 23, "changes": 25, "deletions": 2, "patch": "@@ -17,6 +17,7 @@ limitations under the License.\n \n #include \"tensorflow/core/framework/op_kernel.h\"\n #include \"tensorflow/core/framework/register_types.h\"\n+#include \"tensorflow/core/framework/tensor_shape.h\"\n #include \"tensorfl...
cc
CWE-787
[ "tensorflow/core/kernels/quantized_reshape_op.cc" ]
tensorflow/core/kernels/quantized_reshape_op.cc
1
private function formatMessage($message) return [ 'severity' => $this->severityLabel($level), 'timestamp' => $displayTime, 'source' => $device ? Url::deviceLink($device) : $message['message']['source'], 'message' => $message['message']['message'] ?? '', ...
private function formatMessage($message) return [ 'severity' => $this->severityLabel($level), 'timestamp' => $displayTime, 'source' => $device ? Url::deviceLink($device) : htmlspecialchars($message['message']['source']), 'message' => htmlspecialchars($messa...
GHSA-2gqg-2rg7-gh33
{'CWE-79'}
6.1
{'https://github.com/librenms/librenms/commit/cc6112b8fb36039b862b42d86eb79ef7ee89d31b'}
osv
Cross site scripting in librenms LibreNMS v22.3.0 was discovered to contain a cross-site scripting (XSS) vulnerability via the component /Table/GraylogController.php.
2022-06-03
1
https://github.com/librenms/librenms
https://github.com/librenms/librenms/commit/cc6112b8fb36039b862b42d86eb79ef7ee89d31b
cc6112b8fb36039b862b42d86eb79ef7ee89d31b
SINGLE
['cc6112b8fb36039b862b42d86eb79ef7ee89d31b']
{'9c126572a2aebd43838aab9bf6abc09719ce983e'}
cc6112b8fb36039b862b42d86eb79ef7ee89d31b
1
04/19/2022, 23:10:02
fix graylog xss (#13931)
Tony Murray
null
{'additions': 2, 'deletions': 2, 'total': 4}
[ { "additions": 2, "changes": 4, "deletions": 2, "patch": "@@ -118,8 +118,8 @@ private function formatMessage($message)\n return [\n 'severity' => $this->severityLabel($level),\n 'timestamp' => $displayTime,\n- 'source' => $device ? Url::deviceLink($devi...
php
CWE-79
[ "app/Http/Controllers/Table/GraylogController.php" ]
app/Http/Controllers/Table/GraylogController.php
1
private Element parseXml(String xmlString) { Document doc = null; DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); try { javax.xml.parsers.DocumentBuilder parser = factory .newDocumentBuilder(); parser.setErrorHandler(new ErrorHa...
private Element parseXml(String xmlString) { Document doc = null; DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); try { factory.setFeature("http://xml.org/sax/features/external-general-entities", false); factory.setFeature("http://xml.org/sax/featu...
GHSA-2h63-qp69-fwvw
{'CWE-918', 'CWE-20'}
8.2
{'https://github.com/apache/xmlgraphics-batik/commit/0ef5b661a1f77772d1110877ea9e0287987098f6'}
osv
Server-side request forgery (SSRF) in Apache Batik Apache Batik 1.13 is vulnerable to server-side request forgery, caused by improper input validation by the NodePickerPanel. By using a specially-crafted argument, an attacker could exploit this vulnerability to cause the underlying server to make arbitrary GET requests...
2022-01-06
1
https://github.com/apache/xmlgraphics-batik
https://github.com/apache/xmlgraphics-batik/commit/0ef5b661a1f77772d1110877ea9e0287987098f6
0ef5b661a1f77772d1110877ea9e0287987098f6
SINGLE
['0ef5b661a1f77772d1110877ea9e0287987098f6']
{'f16e092d0c2ccee07360446e0d4adaa4be5daa1b'}
0ef5b661a1f77772d1110877ea9e0287987098f6
1
06/02/2020, 13:59:37
BATIK-1284: Dont load DTDs in NodePickerPanel git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/batik/trunk@1878396 13f79535-47bb-0310-9956-ffa450edef68
Simon Steiner
null
{'additions': 4, 'deletions': 2, 'total': 6}
[ { "additions": 4, "changes": 6, "deletions": 2, "patch": "@@ -847,8 +847,10 @@ private Element parseXml(String xmlString) {\n Document doc = null;\n DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();\n try {\n- javax.xml.parsers.DocumentBuilder ...
java
CWE-20
[ "batik-svgbrowser/src/main/java/org/apache/batik/apps/svgbrowser/NodePickerPanel.java" ]
batik-svgbrowser/src/main/java/org/apache/batik/apps/svgbrowser/NodePickerPanel.java
1
module Spina class ApplicationController < ActionController::Base include ApplicationHelper private
module Spina class ApplicationController < ActionController::Base protect_from_forgery include ApplicationHelper private
GHSA-2hxv-mx8x-mcj9
{'CWE-352'}
8.8
{'https://github.com/denkGroot/Spina/commit/bfe44f289e336f80b6593032679300c493735e75'}
osv
Spina vulnerable to a cross-site request forgery (CSRF) vulnerability Cross-site request forgery (CSRF) vulnerability in Spina before commit bfe44f289e336f80b6593032679300c493735e75.
2018-08-28
1
https://github.com/denkGroot/Spina
https://github.com/denkGroot/Spina/commit/bfe44f289e336f80b6593032679300c493735e75
bfe44f289e336f80b6593032679300c493735e75
SINGLE
['bfe44f289e336f80b6593032679300c493735e75']
{'2b3e8f724a97b312a61503f378a5ce6def58bfe2'}
bfe44f289e336f80b6593032679300c493735e75
1
06/16/2015, 14:23:27
protect from forgery
Bram Jetten
null
{'additions': 2, 'deletions': 0, 'total': 2}
[ { "additions": 2, "changes": 2, "deletions": 0, "patch": "@@ -1,5 +1,7 @@\n module Spina\n class ApplicationController < ActionController::Base\n+ protect_from_forgery\n+ \n include ApplicationHelper\n \n private", "path": "app/controllers/spina/application_controller.rb", "r...
rb
CWE-352
[ "app/controllers/spina/application_controller.rb" ]
app/controllers/spina/application_controller.rb
1
use Product; use Shop; use Symfony\Component\Translation\TranslatorInterface; use WishList; /** private function getProductsOrCount( if ('products' === $type) { $sortOrder = $query->getSortOrder()->toLegacyOrderBy(true); $querySearch->orderBy($sortOrder . ' ' . $query->getSortOrder()-...
use Product; use Shop; use Symfony\Component\Translation\TranslatorInterface; use Validate; use WishList; /** private function getProductsOrCount( if ('products' === $type) { $sortOrder = $query->getSortOrder()->toLegacyOrderBy(true); $sortWay = $query->getSortOrder()->toLegacyOrderWa...
GHSA-2jx3-5j9v-prpp
{'CWE-89'}
8.1
{'https://github.com/PrestaShop/blockwishlist/commit/b3ec4b85af5fd73f74d55390b226d221298ca084'}
osv
BlockWishList SQL Injection vulnerability ### Impact An authenticated customer can perform SQL injection ### Patches Issue is fixed in 2.1.1
2022-06-25
1
https://github.com/PrestaShop/blockwishlist
https://github.com/PrestaShop/blockwishlist/commit/b3ec4b85af5fd73f74d55390b226d221298ca084
b3ec4b85af5fd73f74d55390b226d221298ca084
SINGLE
['b3ec4b85af5fd73f74d55390b226d221298ca084']
{'13e64b2709544354fd116927b80bc3fa249bc5b4', 'be79516175d564f60a657627482b0a60c3da353e'}
b3ec4b85af5fd73f74d55390b226d221298ca084
1
06/24/2022, 08:04:52
Merge pull request from GHSA-2jx3-5j9v-prpp Validate order by and order way
atomiix
{'com_1': {'author': 'doekia', 'datetime': '07/22/2022, 17:26:35', 'body': "So apparently there is unfiltered value returned by toLegacyOrderWay() (I'm doubt full of it see below)\r\nIf this is the case CHANGE the function, not simply one module otherwise it is an open door for other modules.\r\n\r\nWhy I'm doubtfull ?...
{'additions': 5, 'deletions': 1, 'total': 6}
[ { "additions": 5, "changes": 6, "deletions": 1, "patch": "@@ -35,6 +35,7 @@\n use Product;\n use Shop;\n use Symfony\\Component\\Translation\\TranslatorInterface;\n+use Validate;\n use WishList;\n \n /**\n@@ -167,7 +168,10 @@ private function getProductsOrCount(\n \n if ('products' === $type...
php
CWE-89
[ "src/Search/WishListProductSearchProvider.php" ]
src/Search/WishListProductSearchProvider.php
1
class SummaryTensorOpV2 : public OpKernel { errors::InvalidArgument("tag must be scalar")); const Tensor& tensor = c->input(1); const Tensor& serialized_summary_metadata_tensor = c->input(2); Summary s; Summary::Value* v = s.add_value();
class SummaryTensorOpV2 : public OpKernel { errors::InvalidArgument("tag must be scalar")); const Tensor& tensor = c->input(1); const Tensor& serialized_summary_metadata_tensor = c->input(2); OP_REQUIRES( c, TensorShapeUtils::IsScalar(serialized_summary_metadata_tensor.shape...
GHSA-2p9q-h29j-3f5v
{'CWE-20'}
5.5
{'https://github.com/tensorflow/tensorflow/commit/290bb05c80c327ed74fae1d089f1001b1e2a4ef7'}
osv
Missing validation causes `TensorSummaryV2` to crash ### Impact The implementation of [`tf.raw_ops.TensorSummaryV2`](https://github.com/tensorflow/tensorflow/blob/f3b9bf4c3c0597563b289c0512e98d4ce81f886e/tensorflow/core/kernels/summary_tensor_op.cc#L33-L58) does not fully validate the input arguments. This results in a...
2022-05-24
1
https://github.com/tensorflow/tensorflow
https://github.com/tensorflow/tensorflow/commit/290bb05c80c327ed74fae1d089f1001b1e2a4ef7
290bb05c80c327ed74fae1d089f1001b1e2a4ef7
SINGLE
['290bb05c80c327ed74fae1d089f1001b1e2a4ef7']
{'263ad6ad211921b34c5fa5c3460e177d855d1101'}
290bb05c80c327ed74fae1d089f1001b1e2a4ef7
1
04/28/2022, 18:02:25
Fix tf.raw_ops.TensorSummaryV2 vulnerability with invalid serialized_summary_metadata. Check that input is actually a scalar before treating it as such. PiperOrigin-RevId: 445197183
Alan Liu
null
{'additions': 4, 'deletions': 0, 'total': 4}
[ { "additions": 4, "changes": 4, "deletions": 0, "patch": "@@ -36,6 +36,10 @@ class SummaryTensorOpV2 : public OpKernel {\n errors::InvalidArgument(\"tag must be scalar\"));\n const Tensor& tensor = c->input(1);\n const Tensor& serialized_summary_metadata_tensor = c->input(2);...
cc
CWE-20
[ "tensorflow/core/kernels/summary_tensor_op.cc" ]
tensorflow/core/kernels/summary_tensor_op.cc
1
class ResourceGatherOp : public OpKernel { OP_REQUIRES( c, TensorShapeUtils::IsVectorOrHigher(params.shape()), errors::InvalidArgument("params must be at least 1 dimensional")); // Check that we have enough index space const int64_t N = indices.NumElements();
class ResourceGatherOp : public OpKernel { OP_REQUIRES( c, TensorShapeUtils::IsVectorOrHigher(params.shape()), errors::InvalidArgument("params must be at least 1 dimensional")); OP_REQUIRES( c, params.shape().dims() >= batch_dims_, errors::InvalidArgument("params must have at le...
GHSA-2r8p-fg3c-wcj4
{'CWE-125'}
7.3
{'https://github.com/tensorflow/tensorflow/commit/bc9c546ce7015c57c2f15c168b3d9201de679a1d'}
osv
Heap OOB and CHECK fail in `ResourceGather` ### Impact An attacker can trigger a crash via a `CHECK`-fail in debug builds of TensorFlow using `tf.raw_ops.ResourceGather` or a read from outside the bounds of heap allocated data in the same API in a release build: ```python import tensorflow as tf tensor = tf.constant(...
2021-08-25
1
https://github.com/tensorflow/tensorflow
https://github.com/tensorflow/tensorflow/commit/bc9c546ce7015c57c2f15c168b3d9201de679a1d
bc9c546ce7015c57c2f15c168b3d9201de679a1d
SINGLE
['bc9c546ce7015c57c2f15c168b3d9201de679a1d']
{'d5f28c9b17220a9c7b3a4c93fc6c3fea6949cadd'}
bc9c546ce7015c57c2f15c168b3d9201de679a1d
1
07/31/2021, 04:37:59
Prevent heap oob access in `resource_variable_ops.cc` PiperOrigin-RevId: 387936433 Change-Id: I9e71ddaa8dbd51ec6afbf163a6b3b591f193b4f6
Mihai Maruseac
null
{'additions': 5, 'deletions': 0, 'total': 5}
[ { "additions": 5, "changes": 5, "deletions": 0, "patch": "@@ -660,6 +660,11 @@ class ResourceGatherOp : public OpKernel {\n OP_REQUIRES(\n c, TensorShapeUtils::IsVectorOrHigher(params.shape()),\n errors::InvalidArgument(\"params must be at least 1 dimensional\"));\n+ OP_REQUIR...
cc
CWE-125
[ "tensorflow/core/kernels/resource_variable_ops.cc" ]
tensorflow/core/kernels/resource_variable_ops.cc
1
def get_markdown(text): if not text: return "" pattern = fr'([\[\s\S\]]*?)\(([\s\S]*?):([\[\s\S\]]*?)\)' # Regex check if re.match(pattern, text): # get get value of group regex
def get_markdown(text): if not text: return "" pattern = fr'([\[\s\S\]]*?)\(([\s\S]*?):([\s\S]*?)\)' # Regex check if re.match(pattern, text): # get get value of group regex
GHSA-2v5j-q74q-r53f
{'CWE-79'}
8.8
{'https://github.com/django-helpdesk/django-helpdesk/commit/a22eb0673fe0b7784f99c6b5fd343b64a6700f06'}
osv
django-helpdesk is vulnerable to Cross-site Scripting django-helpdesk is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
2021-12-03
1
https://github.com/django-helpdesk/django-helpdesk
https://github.com/django-helpdesk/django-helpdesk/commit/a22eb0673fe0b7784f99c6b5fd343b64a6700f06
a22eb0673fe0b7784f99c6b5fd343b64a6700f06
SINGLE
['a22eb0673fe0b7784f99c6b5fd343b64a6700f06']
{'7097c9c4c0b255ec1f10f3ea14fa2b9c47f6c706'}
a22eb0673fe0b7784f99c6b5fd343b64a6700f06
1
11/19/2021, 16:11:33
Update pattern
noobpk
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -56,7 +56,7 @@ def get_markdown(text):\n if not text:\n return \"\"\n \n- pattern = fr'([\\[\\s\\S\\]]*?)\\(([\\s\\S]*?):([\\[\\s\\S\\]]*?)\\)'\n+ pattern = fr'([\\[\\s\\S\\]]*?)\\(([\\s\\S]*?):([\\s\\S]*?)\\)'\n # Re...
py
CWE-79
[ "helpdesk/models.py" ]
helpdesk/models.py
1
public function getFilterCondition($filterJson, ClassDefinition $class, $tablePr } elseif ($filterField == 'id') { $conditionPartsFilters[] = 'oo_id ' . $operator . ' ' . $db->quote($filter['value']); } else { if ($...
public function getFilterCondition($filterJson, ClassDefinition $class, $tablePr } elseif ($filterField == 'id') { $conditionPartsFilters[] = 'oo_id ' . $operator . ' ' . $db->quote($filter['value']); } else { $filt...
GHSA-2v7p-f4qm-r5pc
{'CWE-89'}
7.5
{'https://github.com/pimcore/pimcore/commit/523a735ab94f004459b84ffdfd3db784586bbd82'}
osv
SQL Injection found in Pimcore Pimcore is an open source data & experience management platform. A SQL injection was discovered in GridHelperService.php in GitHub repository pimcore/pimcore prior to 10.3.6.
2022-04-23
1
https://github.com/pimcore/pimcore
https://github.com/pimcore/pimcore/commit/523a735ab94f004459b84ffdfd3db784586bbd82
523a735ab94f004459b84ffdfd3db784586bbd82
SINGLE
['523a735ab94f004459b84ffdfd3db784586bbd82']
{'f29d3b2f305865c6e9884c460fb35bcf21bcf29f'}
523a735ab94f004459b84ffdfd3db784586bbd82
1
04/22/2022, 09:05:32
Fixed column quoting in GridHelperService
Bernhard Rusch
null
{'additions': 5, 'deletions': 2, 'total': 7}
[ { "additions": 5, "changes": 7, "deletions": 2, "patch": "@@ -332,12 +332,13 @@ public function getFilterCondition($filterJson, ClassDefinition $class, $tablePr\n } elseif ($filterField == 'id') {\n $conditionPartsFilters[] = 'oo_id ' . $operator ....
php
CWE-89
[ "bundles/AdminBundle/Helper/GridHelperService.php" ]
bundles/AdminBundle/Helper/GridHelperService.php
1
private void ExtractEntry(string destDir, TarEntry entry, bool allowParentTraver name = name.Replace('/', Path.DirectorySeparatorChar); string destFile = Path.Combine(destDir, name); if (!allowParentTraversal && !Path.GetFullPath(destFile).StartsWith(destDir, StringComparison.InvariantCultureIgnoreCase)) ...
private void ExtractEntry(string destDir, TarEntry entry, bool allowParentTraver name = name.Replace('/', Path.DirectorySeparatorChar); string destFile = Path.Combine(destDir, name); var destFileDir = Path.GetDirectoryName(Path.GetFullPath(destFile)) ?? ""; if (!allowParentTraversal && !destFileDir.Start...
GHSA-2x7h-96h5-rq84
{'CWE-22'}
4
{'https://github.com/icsharpcode/SharpZipLib/commit/5c3b293de5d65b108e7f2cd0ea8f81c1b8273f78'}
osv
Path Traversal in SharpZipLib SharpZipLib (or #ziplib) is a Zip, GZip, Tar and BZip2 library. Starting version 1.3.0 and prior to version 1.3.3, a check was added if the destination file is under destination directory. However, it is not enforced that `destDir` ends with slash. If the `destDir` is not slash terminated ...
2022-02-01
1
https://github.com/icsharpcode/SharpZipLib
https://github.com/icsharpcode/SharpZipLib/commit/5c3b293de5d65b108e7f2cd0ea8f81c1b8273f78
5c3b293de5d65b108e7f2cd0ea8f81c1b8273f78
SINGLE
['5c3b293de5d65b108e7f2cd0ea8f81c1b8273f78']
{'a0e96de70b5264f4c919b09253b1522bc7a221cc'}
5c3b293de5d65b108e7f2cd0ea8f81c1b8273f78
1
09/18/2021, 09:58:11
fix: specialized tar extract traversal
nils måsén
null
{'additions': 2, 'deletions': 1, 'total': 3}
[ { "additions": 2, "changes": 3, "deletions": 1, "patch": "@@ -658,8 +658,9 @@ private void ExtractEntry(string destDir, TarEntry entry, bool allowParentTraver\n \t\t\tname = name.Replace('/', Path.DirectorySeparatorChar);\n \n \t\t\tstring destFile = Path.Combine(destDir, name);\n+\t\t\tvar destFile...
cs
CWE-22
[ "src/ICSharpCode.SharpZipLib/Tar/TarArchive.cs" ]
src/ICSharpCode.SharpZipLib/Tar/TarArchive.cs
1
$report = new ElggReportedContent(); $report->owner_guid = elgg_get_logged_in_user_guid(); $report->title = $title; $report->address = $address; $report->description = $description; $report->access_id = $access;
$report = new ElggReportedContent(); $report->owner_guid = elgg_get_logged_in_user_guid(); $report->title = $title; $report->address = elgg_normalize_site_url($address); $report->description = $description; $report->access_id = $access;
GHSA-2xw8-j43j-5vxp
{'CWE-79'}
5.4
{'https://github.com/elgg/elgg/commit/c30b17bf75256ed3fcc84e2083147cc3951423d0'}
osv
elgg is vulnerable to Cross-site Scripting elgg is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
2022-01-06
1
https://github.com/elgg/elgg
https://github.com/elgg/elgg/commit/c30b17bf75256ed3fcc84e2083147cc3951423d0
c30b17bf75256ed3fcc84e2083147cc3951423d0
SINGLE
['c30b17bf75256ed3fcc84e2083147cc3951423d0']
{'ea72485b6a08f30f452b8e5425310f2b3546050c'}
c30b17bf75256ed3fcc84e2083147cc3951423d0
1
12/06/2021, 14:39:10
fix(reported_content): sanitize report URLs
Jerôme Bakker
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -18,7 +18,7 @@\n $report = new ElggReportedContent();\n $report->owner_guid = elgg_get_logged_in_user_guid();\n $report->title = $title;\n-$report->address = $address;\n+$report->address = elgg_normalize_site_url($address);\n $report->desc...
php
CWE-79
[ "mod/reportedcontent/actions/reportedcontent/add.php" ]
mod/reportedcontent/actions/reportedcontent/add.php
1
private function loadDataGrid(): void 'registered_on', true ); // add the mass action controls $this->dgProfiles->setMassActionCheckboxes('check', '[id]');
private function loadDataGrid(): void 'registered_on', true ); $this->dgProfiles->setColumnFunction('htmlspecialchars', ['[display_name]'], 'display_name'); // add the mass action controls $this->dgProfiles->setMassActionCheckboxes('check', '[id]');
GHSA-3374-7h99-xr85
{'CWE-79'}
5.4
{'https://github.com/forkcms/forkcms/commit/6ec6171206a7507a39695edc8bbd1b97ef1041c6'}
osv
Cross-site scripting in forkcms Fork CMS Content Management System v5.8.0 was discovered to contain a cross-site scripting (XSS) vulnerability in the `Displayname` field when using the `Add`, `Edit` or `Register' functions. This vulnerability allows attackers to execute arbitrary web scripts or HTML.
2021-10-25
1
https://github.com/forkcms/forkcms
https://github.com/forkcms/forkcms/commit/6ec6171206a7507a39695edc8bbd1b97ef1041c6
6ec6171206a7507a39695edc8bbd1b97ef1041c6
SINGLE
['6ec6171206a7507a39695edc8bbd1b97ef1041c6']
{'f439d630c2f46a85b251488cd7073068a66fae5c'}
6ec6171206a7507a39695edc8bbd1b97ef1041c6
1
04/17/2020, 10:44:12
Fix xss in profiles display name
Jelmer Prins
null
{'additions': 1, 'deletions': 0, 'total': 1}
[ { "additions": 1, "changes": 1, "deletions": 0, "patch": "@@ -128,6 +128,7 @@ private function loadDataGrid(): void\n 'registered_on',\n true\n );\n+ $this->dgProfiles->setColumnFunction('htmlspecialchars', ['[display_name]'], 'display_name');\n \n // a...
php
CWE-79
[ "src/Backend/Modules/Profiles/Actions/Index.php" ]
src/Backend/Modules/Profiles/Actions/Index.php
1
module.exports = { reply_to_object: replyToObject, print: print, err_code: /^([A-Z]+)\s+(.+)$/, monitor_regex: /^[0-9]{10,11}\.[0-9]+ \[[0-9]+ .+\]( ".+?")+$/, clone: convenienceClone, callback_or_emit: callbackOrEmit, reply_in_order: replyInOrder
module.exports = { reply_to_object: replyToObject, print: print, err_code: /^([A-Z]+)\s+(.+)$/, monitor_regex: /^[0-9]{10,11}\.[0-9]+ \[[0-9]+ .+\].*"$/, clone: convenienceClone, callback_or_emit: callbackOrEmit, reply_in_order: replyInOrder
GHSA-35q2-47q7-3pc3
{'CWE-400'}
7.5
{'https://github.com/NodeRedis/node-redis/commit/2d11b6dc9b9774464a91fb4b448bad8bf699629e'}
osv
Node-Redis potential exponential regex in monitor mode ### Impact When a client is in monitoring mode, the regex begin used to detected monitor messages could cause exponential backtracking on some strings. This issue could lead to a denial of service. ### Patches The problem was fixed in commit [`2d11b6d`](https://gi...
2021-04-27
1
https://github.com/NodeRedis/node-redis
https://github.com/NodeRedis/node-redis/commit/2d11b6dc9b9774464a91fb4b448bad8bf699629e
2d11b6dc9b9774464a91fb4b448bad8bf699629e
SINGLE
['2d11b6dc9b9774464a91fb4b448bad8bf699629e']
{'7e77de84bc80b0742321939c59612dc27559bbff'}
2d11b6dc9b9774464a91fb4b448bad8bf699629e
1
04/08/2021, 22:04:34
fix #1569 - improve monitor_regex (#1595) Co-authored-by: Guy Korland <gkorland@gmail.com>
Leibale Eidelman
{'com_1': {'author': 'Plavit', 'datetime': '04/27/2021, 21:27:30', 'body': 'lemme check compatibility'}}
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -127,7 +127,7 @@ module.exports = {\n reply_to_object: replyToObject,\n print: print,\n err_code: /^([A-Z]+)\\s+(.+)$/,\n- monitor_regex: /^[0-9]{10,11}\\.[0-9]+ \\[[0-9]+ .+\\]( \".+?\")+$/,\n+ monitor_regex: /^[0-9]{10,...
js
CWE-400
[ "lib/utils.js" ]
lib/utils.js
1
/* * Copyright 2002-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. import java.beans.PropertyDescriptor; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.util....
/* * Copyright 2002-2022 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. import java.beans.PropertyDescriptor; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.secur...
GHSA-36p3-wjmg-h94x
{'CWE-74', 'CWE-94'}
9.8
{'https://github.com/spring-projects/spring-framework/commit/002546b3e4b8d791ea6acccb81eb3168f51abb15'}
osv
Remote Code Execution in Spring Framework Spring Framework prior to versions 5.2.20 and 5.3.18 contains a remote code execution vulnerability known as `Spring4Shell`. ## Impact A Spring MVC or Spring WebFlux application running on JDK 9+ may be vulnerable to remote code execution (RCE) via data binding. The specific...
2022-03-31
1
https://github.com/spring-projects/spring-framework
https://github.com/spring-projects/spring-framework/commit/002546b3e4b8d791ea6acccb81eb3168f51abb15
002546b3e4b8d791ea6acccb81eb3168f51abb15
SINGLE
['002546b3e4b8d791ea6acccb81eb3168f51abb15']
{'1627f57f1f77abe17dd607c75476b9e4cb22ffbb'}
002546b3e4b8d791ea6acccb81eb3168f51abb15
1
03/31/2022, 07:34:51
Refine PropertyDescriptor filtering Restrict property paths under `Class` and properties of types `ClassLoader` or `ProtectionDomain`.
Brian Clozel
null
{'additions': 14, 'deletions': 4, 'total': 18}
[ { "additions": 14, "changes": 18, "deletions": 4, "patch": "@@ -1,5 +1,5 @@\n /*\n- * Copyright 2002-2020 the original author or authors.\n+ * Copyright 2002-2022 the original author or authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this fil...
java
CWE-94
[ "spring-beans/src/main/java/org/springframework/beans/CachedIntrospectionResults.java" ]
spring-beans/src/main/java/org/springframework/beans/CachedIntrospectionResults.java
1
class SparseBincountOp : public OpKernel { for (int64_t i = 0; i < indices_mat.dimension(0); ++i) { const int64_t batch = indices_mat(i, 0); const Tidx bin = values(i); if (bin < size) { if (binary_output_) { out(batch, bin) = T(1);
class SparseBincountOp : public OpKernel { for (int64_t i = 0; i < indices_mat.dimension(0); ++i) { const int64_t batch = indices_mat(i, 0); const Tidx bin = values(i); OP_REQUIRES( ctx, batch < out.dimension(0), errors::InvalidArgument("Index out of bound. `batch`...
GHSA-374m-jm66-3vj8
{'CWE-125'}
7.1
{'https://github.com/tensorflow/tensorflow/commit/f410212e373eb2aec4c9e60bf3702eba99a38aba'}
osv
Heap OOB in `SparseBinCount` ### Impact The [implementation](https://github.com/tensorflow/tensorflow/blob/e71b86d47f8bc1816bf54d7bddc4170e47670b97/tensorflow/core/kernels/bincount_op.cc#L353-L417) of `SparseBinCount` is vulnerable to a heap OOB: ```python import tensorflow as tf tf.raw_ops.SparseBincount( ind...
2021-11-10
1
https://github.com/tensorflow/tensorflow
https://github.com/tensorflow/tensorflow/commit/f410212e373eb2aec4c9e60bf3702eba99a38aba
f410212e373eb2aec4c9e60bf3702eba99a38aba
SINGLE
['f410212e373eb2aec4c9e60bf3702eba99a38aba']
{'4656caa7d74420454da967288af143ec73fb4c9b'}
f410212e373eb2aec4c9e60bf3702eba99a38aba
1
09/30/2021, 13:36:55
Prevent out-of-bound accesses in SparseBincount. PiperOrigin-RevId: 399918616 Change-Id: I11d154f4444d3fde1f09c5c40628b8671791a30d
Penporn Koanantakool
null
{'additions': 10, 'deletions': 0, 'total': 10}
[ { "additions": 10, "changes": 10, "deletions": 0, "patch": "@@ -405,6 +405,16 @@ class SparseBincountOp : public OpKernel {\n for (int64_t i = 0; i < indices_mat.dimension(0); ++i) {\n const int64_t batch = indices_mat(i, 0);\n const Tidx bin = values(i);\n+ OP_REQUIRES(...
cc
CWE-125
[ "tensorflow/core/kernels/bincount_op.cc" ]
tensorflow/core/kernels/bincount_op.cc
1
class HMRServer { this.server = https.createServer(await getCertificate(options.https)); } this.wss = new WebSocket.Server({server: this.server}); this.server.listen(options.hmrPort, resolve); });
class HMRServer { this.server = https.createServer(await getCertificate(options.https)); } let websocketOptions = { server: this.server }; if (options.hmrHostname) { websocketOptions.origin = `${options.https ? 'https' : 'http'}://${ options.hmrHostname ...
GHSA-37q6-576q-vgr7
{'CWE-200'}
7.5
{'https://github.com/parcel-bundler/parcel/commit/066e0bf6bd26b15c78bd47df023452e4b20073e4'}
osv
Missing Origin Validation in parcel-bundler Versions of `parcel-bundler` before 1.10.0 are missing origin validation on the websocket server. This vulnerability allows a remote attacker to steal a developer's source code because the origin of requests to the websocket server that is used for Hot Module Replacement (HMR...
2018-10-30
1
https://github.com/parcel-bundler/parcel
https://github.com/parcel-bundler/parcel/commit/066e0bf6bd26b15c78bd47df023452e4b20073e4
066e0bf6bd26b15c78bd47df023452e4b20073e4
SINGLE
['066e0bf6bd26b15c78bd47df023452e4b20073e4']
{'948159b99adbc74857b380576e1e104a9097f259'}
066e0bf6bd26b15c78bd47df023452e4b20073e4
1
09/25/2018, 03:49:56
fix security vuln (#1794)
Jasper De Moor
null
{'additions': 11, 'deletions': 1, 'total': 12}
[ { "additions": 11, "changes": 12, "deletions": 1, "patch": "@@ -17,7 +17,17 @@ class HMRServer {\n this.server = https.createServer(await getCertificate(options.https));\n }\n \n- this.wss = new WebSocket.Server({server: this.server});\n+ let websocketOptions = {\n+ se...
js
CWE-200
[ "packages/core/parcel-bundler/src/HMRServer.js" ]
packages/core/parcel-bundler/src/HMRServer.js
1
<?php /** * This class is responsible for providing operations to an object for managing the object's manipulation * * @copyright The ImpressCMS Project http://www.impresscms.org/ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU General Public License (GPL) * @category ICMS * @package Ipf ...
<?php /** * This class is responsible for providing operations to an object for managing the object's manipulation * * @copyright The ImpressCMS Project http://www.impresscms.org/ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU General Public License (GPL) * @category ICMS * @package Ipf ...
GHSA-389p-fchr-q2mg
{'CWE-22'}
9.8
{'https://github.com/ImpressCMS/impresscms/commit/a66d7bb499faafab803e24833606028fa0ba4261'}
osv
Path Traversal in ImpressCMS ImpressCMS before 1.4.2 allows unauthenticated remote code execution via ...../// directory traversal in origName or imageName, leading to unsafe interaction with the CKEditor processImage.php script. The payload may be placed in PHP_SESSION_UPLOAD_PROGRESS when the PHP installation support...
2022-02-15
1
https://github.com/ImpressCMS/impresscms
https://github.com/ImpressCMS/impresscms/commit/a66d7bb499faafab803e24833606028fa0ba4261
a66d7bb499faafab803e24833606028fa0ba4261
SINGLE
['a66d7bb499faafab803e24833606028fa0ba4261']
{'e174e84f000add55a731ffc435b8ed08b6a03d06'}
a66d7bb499faafab803e24833606028fa0ba4261
1
12/04/2020, 23:48:24
Prevents using submitted filenames with ../ for controller (#812) * Prevents using submitted filenames with ../ for controller * Using preg replace for better parent paths replaces Co-authored-by: Raimondas Rimkevičius (aka MekDrop) <mekdrop@impresscms.org>
Raimondas Rimkevičius
null
{'additions': 643, 'deletions': 642, 'total': 1285}
[ { "additions": 643, "changes": 1285, "deletions": 642, "patch": "@@ -1,642 +1,643 @@\n-<?php\r\n-\r\n-/**\r\n- * This class is responsible for providing operations to an object for managing the object's manipulation\r\n- *\r\n- * @copyright\tThe ImpressCMS Project http://www.impresscms.org/\r\n- * @...
php
CWE-22
[ "htdocs/libraries/icms/ipf/Controller.php" ]
htdocs/libraries/icms/ipf/Controller.php
1
public function redirect($url) $redirectUrl = str_replace("\r", "", $redirectUrl); $redirectUrl = str_replace("\n", "", $redirectUrl); if (headers_sent()) { echo '<meta http-equiv="refresh" content="0;url=' . $redirectUrl . '">'; } else {
public function redirect($url) $redirectUrl = str_replace("\r", "", $redirectUrl); $redirectUrl = str_replace("\n", "", $redirectUrl); $clearInput = new HTMLClean(); $redirectUrl = $clearInput->clean($redirectUrl); if (headers_sent()) { echo '<meta http-equiv="refr...
GHSA-38m9-3vg4-rwvp
{'CWE-79'}
6.5
{'https://github.com/microweber/microweber/commit/2b8fa5aac31e51e2aca83c7ef5d1281ba2e755f8'}
osv
Cross-site Scripting in microweber microweber prior to version 1.2.11 is vulnerable to cross-site scripting.
2022-02-20
1
https://github.com/microweber/microweber
https://github.com/microweber/microweber/commit/2b8fa5aac31e51e2aca83c7ef5d1281ba2e755f8
2b8fa5aac31e51e2aca83c7ef5d1281ba2e755f8
SINGLE
['2b8fa5aac31e51e2aca83c7ef5d1281ba2e755f8']
{'93e1e59185d1fdf921d89a887887bca988b12085'}
2b8fa5aac31e51e2aca83c7ef5d1281ba2e755f8
1
02/18/2022, 10:09:45
Update UrlManager.php
Bozhidar Slaveykov
null
{'additions': 3, 'deletions': 0, 'total': 3}
[ { "additions": 3, "changes": 3, "deletions": 0, "patch": "@@ -114,6 +114,9 @@ public function redirect($url)\n $redirectUrl = str_replace(\"\\r\", \"\", $redirectUrl);\n $redirectUrl = str_replace(\"\\n\", \"\", $redirectUrl);\n \n+ $clearInput = new HTMLClean();\n+ $re...
php
CWE-79
[ "src/MicroweberPackages/Helper/UrlManager.php" ]
src/MicroweberPackages/Helper/UrlManager.php
1
// Presto based /(opera\smini)\/([\w\.-]+)/i, // Opera Mini /(opera\s[mobiletab]+).+version\/([\w\.-]+)/i, // Opera Mobi/Tablet /(opera).+version\/([\w\.]+)/i, // Opera > 9.80...
// Presto based /(opera\smini)\/([\w\.-]+)/i, // Opera Mini /(opera\s[mobiletab]{3,6}).+version\/([\w\.-]+)/i, // Opera Mobi/Tablet /(opera).+version\/([\w\.]+)/i, // Opera > 9.80...
GHSA-394c-5j6w-4xmx
{'CWE-400'}
7.5
{'https://github.com/faisalman/ua-parser-js/commit/6d1f26df051ba681463ef109d36c9cf0f7e32b18'}
osv
Regular Expression Denial of Service (ReDoS) in ua-parser-js The package ua-parser-js before 0.7.23 are vulnerable to Regular Expression Denial of Service (ReDoS) in multiple regexes (see linked commit for more info).
2022-02-09
1
https://github.com/faisalman/ua-parser-js
https://github.com/faisalman/ua-parser-js/commit/6d1f26df051ba681463ef109d36c9cf0f7e32b18
6d1f26df051ba681463ef109d36c9cf0f7e32b18
SINGLE
['6d1f26df051ba681463ef109d36c9cf0f7e32b18']
{'86471ad7e24724757e6147cd449cc2af4fab6280'}
6d1f26df051ba681463ef109d36c9cf0f7e32b18
1
11/30/2020, 17:50:19
Fix ReDoS vulnerabilities reported by Snyk
Faisal Salman
null
{'additions': 14, 'deletions': 14, 'total': 28}
[ { "additions": 14, "changes": 28, "deletions": 14, "patch": "@@ -222,7 +222,7 @@\n \n // Presto based\n /(opera\\smini)\\/([\\w\\.-]+)/i, // Opera Mini\n- /(opera\\s[mobiletab]+).+version\\/([\\w\\.-]+)/i, ...
js
CWE-400
[ "src/ua-parser.js" ]
src/ua-parser.js
1
module.exports = function gopher_parsedir (dirent) { // eslint-disable-line came * s = Audio file format, primarily a WAV file */ const entryPattern = /^(.)(.*?)\t(.*?)\t(.*?)\t(.*?)\u000d\u000a$/ const entry = dirent.match(entryPattern) if (entry === null) {
module.exports = function gopher_parsedir (dirent) { // eslint-disable-line came * s = Audio file format, primarily a WAV file */ const entryPattern = /^(.)([^\t]*)\t([^\t]*)\t([^\t]*)\t([^\t]*)\r\n$/ const entry = dirent.match(entryPattern) if (entry === null) {
GHSA-39q4-p535-c852
{'CWE-400'}
7.5
{'https://github.com/locutusjs/locutus/commit/eb863321990e7e5514aa14f68b8d9978ece9e65e'}
osv
Uncontrolled Resource Consumption in locutus The package locutus before 2.0.15 are vulnerable to Regular Expression Denial of Service (ReDoS) via the gopher_parsedir function.
2021-06-10
1
https://github.com/locutusjs/locutus
https://github.com/locutusjs/locutus/commit/eb863321990e7e5514aa14f68b8d9978ece9e65e
eb863321990e7e5514aa14f68b8d9978ece9e65e
SINGLE
['eb863321990e7e5514aa14f68b8d9978ece9e65e']
{'243b723896c3c82f5496b6008f9aa1be52741899'}
eb863321990e7e5514aa14f68b8d9978ece9e65e
1
05/27/2021, 06:46:30
Prevent ReDos issue with regex inside gopher_parsedir (#446)
Rafał Kukawski
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -22,7 +22,7 @@ module.exports = function gopher_parsedir (dirent) { // eslint-disable-line came\n * s = Audio file format, primarily a WAV file\n */\n \n- const entryPattern = /^(.)(.*?)\\t(.*?)\\t(.*?)\\t(.*?)\\u000d\\u000a$/\n+ c...
js
CWE-400
[ "src/php/net-gopher/gopher_parsedir.js" ]
src/php/net-gopher/gopher_parsedir.js
1
impl UnlockNotification { } } fn fired(&mut self) { *self.mutex.lock().unwrap() = true; self.cond.notify_one(); } fn wait(&mut self) { let mut fired = self.mutex.lock().unwrap(); while !*fired { fired = self.cond.wait(fired).unwrap(); impl UnlockNot...
impl UnlockNotification { } } fn fired(&self) { let mut flag = self.mutex.lock().unwrap(); *flag = true; self.cond.notify_one(); } fn wait(&self) { let mut fired = self.mutex.lock().unwrap(); while !*fired { fired = self.cond.wait(fired).unw...
GHSA-3cgf-9m6x-pwwr
{'CWE-362'}
9.8
{'https://github.com/rusqlite/rusqlite/commit/45fd77ee43c38eea4d6f4e2e56c1667a55ec654f'}
osv
Data races in rusqlite An issue was discovered in the rusqlite crate before 0.23.0 for Rust. Memory safety can be violated via UnlockNotification.
2021-08-25
1
https://github.com/rusqlite/rusqlite
https://github.com/rusqlite/rusqlite/commit/45fd77ee43c38eea4d6f4e2e56c1667a55ec654f
45fd77ee43c38eea4d6f4e2e56c1667a55ec654f
SINGLE
['45fd77ee43c38eea4d6f4e2e56c1667a55ec654f']
{'c9ef5bd63cad5c0c123344c072b490a1a9bcbe1f'}
45fd77ee43c38eea4d6f4e2e56c1667a55ec654f
1
04/15/2020, 19:05:31
UnlockNotification should hold mutex when calling condvar
Thom Chiovoloni
null
{'additions': 9, 'deletions': 11, 'total': 20}
[ { "additions": 9, "changes": 20, "deletions": 11, "patch": "@@ -26,12 +26,13 @@ impl UnlockNotification {\n }\n }\n \n- fn fired(&mut self) {\n- *self.mutex.lock().unwrap() = true;\n+ fn fired(&self) {\n+ let mut flag = self.mutex.lock().unwrap();\n+ *flag = tr...
rs
CWE-362
[ "src/unlock_notify.rs" ]
src/unlock_notify.rs
1
func LoginHandler(db *sqlx.DB, cfg config.Config) http.HandlerFunc { handleErrs(http.StatusBadRequest, err) return } resp := struct { tc.Alerts }{}
func LoginHandler(db *sqlx.DB, cfg config.Config) http.HandlerFunc { handleErrs(http.StatusBadRequest, err) return } if form.Username == "" || form.Password == "" { api.HandleErr(w, r, nil, http.StatusBadRequest, errors.New("username and password are required"), nil) return } resp := struct { tc...
GHSA-3f8r-4qwm-r7jf
{'CWE-287'}
9.8
{'https://github.com/apache/trafficcontrol/commit/f780aff77a52d52a37b4d1cc3e8e801c0b557356'}
osv
Improper Authentication in Apache Traffic Control Improper authentication is possible in Apache Traffic Control versions 3.0.0 and 3.0.1 if LDAP is enabled for login in the Traffic Ops API component. Given a username for a user that can be authenticated via LDAP, it is possible to improperly authenticate as that user w...
2021-05-18
1
https://github.com/apache/trafficcontrol
https://github.com/apache/trafficcontrol/commit/f780aff77a52d52a37b4d1cc3e8e801c0b557356
f780aff77a52d52a37b4d1cc3e8e801c0b557356
SINGLE
['f780aff77a52d52a37b4d1cc3e8e801c0b557356']
{'85596a08bb12835370895ba20455e5ce998278d1'}
f780aff77a52d52a37b4d1cc3e8e801c0b557356
1
08/30/2019, 20:40:48
Improve ldap error handling
Rawlin Peters
null
{'additions': 4, 'deletions': 0, 'total': 4}
[ { "additions": 4, "changes": 4, "deletions": 0, "patch": "@@ -51,6 +51,10 @@ func LoginHandler(db *sqlx.DB, cfg config.Config) http.HandlerFunc {\n \t\t\thandleErrs(http.StatusBadRequest, err)\n \t\t\treturn\n \t\t}\n+\t\tif form.Username == \"\" || form.Password == \"\" {\n+\t\t\tapi.HandleErr(w, r...
go
CWE-287
[ "traffic_ops/traffic_ops_golang/login/login.go" ]
traffic_ops/traffic_ops_golang/login/login.go
1
Status TransposeShapeFn(InferenceContext* c) { for (int32_t i = 0; i < rank; ++i) { int64_t in_idx = data[i]; if (in_idx >= rank) { return errors::InvalidArgument("perm dim ", in_idx, " is out of range of input rank ", rank); }
Status TransposeShapeFn(InferenceContext* c) { for (int32_t i = 0; i < rank; ++i) { int64_t in_idx = data[i]; if (in_idx >= rank || in_idx <= -rank) { return errors::InvalidArgument("perm dim ", in_idx, " is out of range of input rank ", rank); }
GHSA-3ff2-r28g-w7h9
{'CWE-787', 'CWE-120'}
5.5
{'https://github.com/tensorflow/tensorflow/commit/c79ba87153ee343401dbe9d1954d7f79e521eb14'}
osv
Heap buffer overflow in `Transpose` ### Impact The [shape inference function for `Transpose`](https://github.com/tensorflow/tensorflow/blob/8d72537c6abf5a44103b57b9c2e22c14f5f49698/tensorflow/core/ops/array_ops.cc#L121-L185) is vulnerable to a heap buffer overflow: ```python import tensorflow as tf @tf.function def te...
2021-11-10
1
https://github.com/tensorflow/tensorflow
https://github.com/tensorflow/tensorflow/commit/c79ba87153ee343401dbe9d1954d7f79e521eb14
c79ba87153ee343401dbe9d1954d7f79e521eb14
SINGLE
['c79ba87153ee343401dbe9d1954d7f79e521eb14']
{'042dc3be4c54a51c2608ad53dabaeb34afa3e63c'}
c79ba87153ee343401dbe9d1954d7f79e521eb14
1
10/15/2021, 02:39:00
Make Transpose's shape inference function validate that negative `perm` values are within the tensor's rank. PiperOrigin-RevId: 403252853 Change-Id: Ia6b31b45b237312668bb31c2c3b3c7bbce2d2610
Penporn Koanantakool
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -168,7 +168,7 @@ Status TransposeShapeFn(InferenceContext* c) {\n \n for (int32_t i = 0; i < rank; ++i) {\n int64_t in_idx = data[i];\n- if (in_idx >= rank) {\n+ if (in_idx >= rank || in_idx <= -rank) {\n return...
cc
CWE-120
[ "tensorflow/core/ops/array_ops.cc" ]
tensorflow/core/ops/array_ops.cc
1
Status TransposeShapeFn(InferenceContext* c) { for (int32_t i = 0; i < rank; ++i) { int64_t in_idx = data[i]; if (in_idx >= rank) { return errors::InvalidArgument("perm dim ", in_idx, " is out of range of input rank ", rank); }
Status TransposeShapeFn(InferenceContext* c) { for (int32_t i = 0; i < rank; ++i) { int64_t in_idx = data[i]; if (in_idx >= rank || in_idx <= -rank) { return errors::InvalidArgument("perm dim ", in_idx, " is out of range of input rank ", rank); }
GHSA-3ff2-r28g-w7h9
{'CWE-787', 'CWE-120'}
5.5
{'https://github.com/tensorflow/tensorflow/commit/c79ba87153ee343401dbe9d1954d7f79e521eb14'}
osv
Heap buffer overflow in `Transpose` ### Impact The [shape inference function for `Transpose`](https://github.com/tensorflow/tensorflow/blob/8d72537c6abf5a44103b57b9c2e22c14f5f49698/tensorflow/core/ops/array_ops.cc#L121-L185) is vulnerable to a heap buffer overflow: ```python import tensorflow as tf @tf.function def te...
2021-11-10
1
https://github.com/tensorflow/tensorflow
https://github.com/tensorflow/tensorflow/commit/c79ba87153ee343401dbe9d1954d7f79e521eb14
c79ba87153ee343401dbe9d1954d7f79e521eb14
SINGLE
['c79ba87153ee343401dbe9d1954d7f79e521eb14']
{'042dc3be4c54a51c2608ad53dabaeb34afa3e63c'}
c79ba87153ee343401dbe9d1954d7f79e521eb14
1
10/15/2021, 02:39:00
Make Transpose's shape inference function validate that negative `perm` values are within the tensor's rank. PiperOrigin-RevId: 403252853 Change-Id: Ia6b31b45b237312668bb31c2c3b3c7bbce2d2610
Penporn Koanantakool
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -168,7 +168,7 @@ Status TransposeShapeFn(InferenceContext* c) {\n \n for (int32_t i = 0; i < rank; ++i) {\n int64_t in_idx = data[i];\n- if (in_idx >= rank) {\n+ if (in_idx >= rank || in_idx <= -rank) {\n return...
cc
CWE-787
[ "tensorflow/core/ops/array_ops.cc" ]
tensorflow/core/ops/array_ops.cc
1
class RequantizationRangeOp : public OpKernel { void Compute(OpKernelContext* ctx) override { const Tensor& input = ctx->input(0); const float input_min_float = ctx->input(1).flat<float>()(0); const float input_max_float = ctx->input(2).flat<float>()(0); Tensor* output_min = nullptr;
class RequantizationRangeOp : public OpKernel { void Compute(OpKernelContext* ctx) override { const Tensor& input = ctx->input(0); OP_REQUIRES(ctx, ctx->input(1).NumElements() > 0, errors::InvalidArgument("Input min must not be empty.")); OP_REQUIRES(ctx, ctx->input(2).NumElements() > 0,...
GHSA-3h8m-483j-7xxm
{'CWE-125'}
2.5
{'https://github.com/tensorflow/tensorflow/commit/ef0c008ee84bad91ec6725ddc42091e19a30cf0e'}
osv
Heap out of bounds read in `RequantizationRange` ### Impact The implementation of `tf.raw_ops.MaxPoolGradWithArgmax` can cause reads outside of bounds of heap allocated data if attacker supplies specially crafted inputs: ```python import tensorflow as tf input = tf.constant([1], shape=[1], dtype=tf.qint32) input_max...
2021-05-21
1
https://github.com/tensorflow/tensorflow
https://github.com/tensorflow/tensorflow/commit/ef0c008ee84bad91ec6725ddc42091e19a30cf0e
ef0c008ee84bad91ec6725ddc42091e19a30cf0e
SINGLE
['ef0c008ee84bad91ec6725ddc42091e19a30cf0e']
{'ac328eaa3870491ababc147822cd04e91a790643'}
ef0c008ee84bad91ec6725ddc42091e19a30cf0e
1
05/05/2021, 15:16:13
Fix out of bound read in requantization_range_op.cc PiperOrigin-RevId: 372129031 Change-Id: Ie684ab98a3840c5186ead3eafffc0e0ed0e8030d
Laura Pak
null
{'additions': 4, 'deletions': 0, 'total': 4}
[ { "additions": 4, "changes": 4, "deletions": 0, "patch": "@@ -46,6 +46,10 @@ class RequantizationRangeOp : public OpKernel {\n \n void Compute(OpKernelContext* ctx) override {\n const Tensor& input = ctx->input(0);\n+ OP_REQUIRES(ctx, ctx->input(1).NumElements() > 0,\n+ error...
cc
CWE-125
[ "tensorflow/core/kernels/requantization_range_op.cc" ]
tensorflow/core/kernels/requantization_range_op.cc
1
dojo.query differences that cause some tests to fail: // inherited from Object.prototype. For example, if obj has a custom // toString() method, don't overwrite it with the toString() method // that props inherited from Object.prototype if((tobj[x] === undefined || tobj[x] != props[x]) && props[x] !== und...
dojo.query differences that cause some tests to fail: // inherited from Object.prototype. For example, if obj has a custom // toString() method, don't overwrite it with the toString() method // that props inherited from Object.prototype if(x !== '__proto__ ' && ((tobj[x] === undefined || tobj[x] != props[...
GHSA-3hw5-q855-g6cw
{'CWE-94'}
7.7
{'https://github.com/dojo/dojox/commit/47d1b302b5b23d94e875b77b9b9a8c4f5622c9da'}
osv
Prototype Pollution in Dojox The Dojox jQuery wrapper `jqMix` mixin method is vulnerable to Prototype Pollution. Affected Area: ``` //https://github.com/dojo/dojox/blob/master/jq.js#L442 var tobj = {}; for(var x in props){ // the "tobj" condition avoid copying properties in "props" // inherited from Object....
2020-03-10
1
https://github.com/dojo/dojox
https://github.com/dojo/dojox/commit/47d1b302b5b23d94e875b77b9b9a8c4f5622c9da
47d1b302b5b23d94e875b77b9b9a8c4f5622c9da
SINGLE
['47d1b302b5b23d94e875b77b9b9a8c4f5622c9da']
{'5491effdb1b586f1a5f5b173460fe26e23abcfe6'}
47d1b302b5b23d94e875b77b9b9a8c4f5622c9da
1
03/10/2020, 14:25:04
Merge pull request from GHSA-3hw5-q855-g6cw Prevent the special __proto__ property name from being mixed in to prevent polluting the prototoype of the object being mixed into in the jqMix function in jq.js
Nick Nisi
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -455,7 +455,7 @@ dojo.query differences that cause some tests to fail:\n \t\t\t// inherited from Object.prototype. For example, if obj has a custom\n \t\t\t// toString() method, don't overwrite it with the toString() method\n \t\t\t// tha...
js
CWE-94
[ "jq.js" ]
jq.js
1
Status ShapeRefiner::InferShapesForFunctionSubNode( TF_RETURN_IF_ERROR(outer_context->MakeShapeFromShapeProto(proto, &handle)); outer_context->set_output(index, handle); auto* resource = node_context->input_handle_shapes_and_types(0); if (resource) { outer_context->set_output_handle_shapes_and_t...
Status ShapeRefiner::InferShapesForFunctionSubNode( TF_RETURN_IF_ERROR(outer_context->MakeShapeFromShapeProto(proto, &handle)); outer_context->set_output(index, handle); const std::vector<ShapeAndType>* resource = node_context->input_handle_shapes_and_types(0); if (resource) { // `Shapes...
GHSA-3hxh-8cp2-g4hg
{'CWE-416'}
6.6
{'https://github.com/tensorflow/tensorflow/commit/ee119d4a498979525046fba1c3dd3f13a039fbb1'}
osv
Use after free and segfault in shape inference functions ### Impact When running shape functions, some functions (such as `MutableHashTableShape`) produce extra output information in the form of a `ShapeAndType` struct. The shapes embedded in this struct are owned by an inference context that is cleaned up almost immed...
2021-08-25
1
https://github.com/tensorflow/tensorflow
https://github.com/tensorflow/tensorflow/commit/ee119d4a498979525046fba1c3dd3f13a039fbb1
ee119d4a498979525046fba1c3dd3f13a039fbb1
SINGLE
['ee119d4a498979525046fba1c3dd3f13a039fbb1']
{'f118ff1538ac7aa8a628bba03fe66dc6811cc7fc'}
ee119d4a498979525046fba1c3dd3f13a039fbb1
1
07/14/2021, 19:43:17
Fix segmentation fault in shape inference logic. When running shape functions, some functions (such as `MutableHashTableShape`) produce extra output information in the form of a `ShapeAndType` struct. The shapes embedded in this struct are owned by an inference context that is cleaned up almost immediately; if the up...
Daniel Ellis
null
{'additions': 19, 'deletions': 2, 'total': 21}
[ { "additions": 19, "changes": 21, "deletions": 2, "patch": "@@ -120,9 +120,26 @@ Status ShapeRefiner::InferShapesForFunctionSubNode(\n TF_RETURN_IF_ERROR(outer_context->MakeShapeFromShapeProto(proto, &handle));\n outer_context->set_output(index, handle);\n \n- auto* resource = node_contex...
cc
CWE-416
[ "tensorflow/core/common_runtime/shape_refiner.cc" ]
tensorflow/core/common_runtime/shape_refiner.cc
1
class ApiController extends FrontendController { public function api_html() { if (!defined('MW_API_HTML_OUTPUT')) { public function module() $request_data = array_merge($_GET, $_POST); // sanitize attributes if($request_data){ $request_data_new = []; ...
class ApiController extends FrontendController { public function api_html() { if (!defined('MW_API_HTML_OUTPUT')) { public function module() $request_data = array_merge($_GET, $_POST); // sanitize attributes if($request_data){ $request_data_new = []; ...
GHSA-3j58-p785-f27x
{'CWE-79'}
5.4
{'https://github.com/microweber/microweber/commit/fc7e1a026735b93f0e0047700d08c44954fce9ce'}
osv
Cross-site Scripting in microweber There is a reflected cross sitem scripting attack in microweber via url parameters.
2022-01-28
1
https://github.com/microweber/microweber
https://github.com/microweber/microweber/commit/fc7e1a026735b93f0e0047700d08c44954fce9ce
fc7e1a026735b93f0e0047700d08c44954fce9ce
SINGLE
['fc7e1a026735b93f0e0047700d08c44954fce9ce']
{'6e9fcaa043b4211ef21a494f9892dd19ba8a572c'}
fc7e1a026735b93f0e0047700d08c44954fce9ce
1
01/19/2022, 10:33:18
fix xss on module api call in value parameters
Bozhidar Slaveykov
null
{'additions': 4, 'deletions': 4, 'total': 8}
[ { "additions": 4, "changes": 8, "deletions": 4, "patch": "@@ -17,9 +17,6 @@\n class ApiController extends FrontendController\n {\n \n-\n-\n-\n public function api_html()\n {\n if (!defined('MW_API_HTML_OUTPUT')) {\n@@ -609,12 +606,14 @@ public function module()\n \n $request...
php
CWE-79
[ "src/MicroweberPackages/App/Http/Controllers/ApiController.php" ]
src/MicroweberPackages/App/Http/Controllers/ApiController.php
1
limitations under the License. // See docs in ../ops/nn_ops.cc. #define EIGEN_USE_THREADS #include "third_party/eigen3/unsupported/Eigen/CXX11/Tensor" class QuantizedMaxPoolingOp : public MaxPoolingOp<Device, T> { : MaxPoolingOp<Device, T>(context) {} void Compute(OpKernelContext* context) override { c...
limitations under the License. // See docs in ../ops/nn_ops.cc. #include "tensorflow/core/framework/op_requires.h" #include "tensorflow/core/platform/errors.h" #define EIGEN_USE_THREADS #include "third_party/eigen3/unsupported/Eigen/CXX11/Tensor" class QuantizedMaxPoolingOp : public MaxPoolingOp<Device, T> { ...
GHSA-3mw4-6rj6-74g5
{'CWE-476'}
6.5
{'https://github.com/tensorflow/tensorflow/commit/53b0dd6dc5957652f35964af16b892ec9af4a559'}
osv
Null pointer dereference in TensorFlow ### Impact The [implementation of `QuantizedMaxPool`](https://github.com/tensorflow/tensorflow/blob/5100e359aef5c8021f2e71c7b986420b85ce7b3d/tensorflow/core/kernels/quantized_pooling_ops.cc#L114-L130) has an undefined behavior where user controlled inputs can trigger a reference ...
2022-02-09
1
https://github.com/tensorflow/tensorflow
https://github.com/tensorflow/tensorflow/commit/53b0dd6dc5957652f35964af16b892ec9af4a559
53b0dd6dc5957652f35964af16b892ec9af4a559
SINGLE
['53b0dd6dc5957652f35964af16b892ec9af4a559']
{'19cff800e5805097da69bb1ad0b0a2dd9f83741a'}
53b0dd6dc5957652f35964af16b892ec9af4a559
1
12/03/2021, 18:02:20
Fix nullptr exception in QuantizedMaxPool op when empty list is sent to min_input or max_input parameters. PiperOrigin-RevId: 413960973 Change-Id: I9e3ded593f3c4eabf0d6d5dc356e6a19a3ad2682
Isha Arkatkar
null
{'additions': 14, 'deletions': 0, 'total': 14}
[ { "additions": 14, "changes": 14, "deletions": 0, "patch": "@@ -15,6 +15,8 @@ limitations under the License.\n \n // See docs in ../ops/nn_ops.cc.\n \n+#include \"tensorflow/core/framework/op_requires.h\"\n+#include \"tensorflow/core/platform/errors.h\"\n #define EIGEN_USE_THREADS\n \n #include \"th...
cc
CWE-476
[ "tensorflow/core/kernels/quantized_pooling_ops.cc" ]
tensorflow/core/kernels/quantized_pooling_ops.cc
1
public function deleteFile($file_id){ } //上传文件,返回url public function upload($_files , $file_key , $uid , $item_id = 0 , $page_id = 0 ){ $uploadFile = $_files[$file_key] ; if( !$this->isAllowedFilename($_files[$file_key]['name']) ){ return false; } public function isDangerFilename($filename){ public f...
public function deleteFile($file_id){ } //上传文件,返回url public function upload($_files , $file_key , $uid , $item_id = 0 , $page_id = 0 , $check_filename = true ){ $uploadFile = $_files[$file_key] ; if( $check_filename && !$this->isAllowedFilename($_files[$file_key]['name']) ){ return false; } public fun...
GHSA-3pg8-c473-w6rr
{'CWE-79'}
6.9
{'https://github.com/star7th/showdoc/commit/3caa32334db0c277b84e993eaca2036f5d1dbef8'}
osv
Stored Cross-site Scripting in showdoc ShowDoc is a tool for an IT team to share documents online. showdoc contains a stored cross-site scripting vulnerability in the File Library page when uploading a file in .ofd format in versions prior to 2.10.4. At this time, there is no known workaround. Users should update to ve...
2022-03-16
1
https://github.com/star7th/showdoc
https://github.com/star7th/showdoc/commit/3caa32334db0c277b84e993eaca2036f5d1dbef8
3caa32334db0c277b84e993eaca2036f5d1dbef8
SINGLE
['3caa32334db0c277b84e993eaca2036f5d1dbef8']
{'92bc6a83a3a60e01a0d2effb98ab47d8d7eab28f'}
3caa32334db0c277b84e993eaca2036f5d1dbef8
1
03/14/2022, 15:26:49
Upload file vulnerability
star7th
null
{'additions': 5, 'deletions': 7, 'total': 12}
[ { "additions": 5, "changes": 12, "deletions": 7, "patch": "@@ -54,10 +54,10 @@ public function deleteFile($file_id){\n \t}\n \n \t//上传文件,返回url\n-\tpublic function upload($_files , $file_key , $uid , $item_id = 0 , $page_id = 0 ){\n+\tpublic function upload($_files , $file_key , $uid , $item_id = 0...
php
CWE-79
[ "server/Application/Api/Model/AttachmentModel.class.php" ]
server/Application/Api/Model/AttachmentModel.class.php
1
function get_dangerous_files_extentions() 'xqt', // SuperCalc Macro File', 'xys', // XYplorer Script File', 'zl9', // ZoneAlarm Quarantined EXE File 'swf', // Flash File );
function get_dangerous_files_extentions() 'xqt', // SuperCalc Macro File', 'xys', // XYplorer Script File', 'zl9', // ZoneAlarm Quarantined EXE File 'swf', // Flash File 'key', 'asax', 'btapp', ...
GHSA-3q55-66g3-p8xq
{'CWE-79'}
4.8
{'https://github.com/microweber/microweber/commit/89200cfcc2cfefe5554721e7fa3cf52f6a2a9120'}
osv
Cross-site Scripting in microweber File upload filter bypass leading to stored XSS in GitHub repository microweber/microweber prior to 1.2.12.
2022-03-13
1
https://github.com/microweber/microweber
https://github.com/microweber/microweber/commit/89200cfcc2cfefe5554721e7fa3cf52f6a2a9120
89200cfcc2cfefe5554721e7fa3cf52f6a2a9120
SINGLE
['89200cfcc2cfefe5554721e7fa3cf52f6a2a9120']
{'077b1e2d5dda0c6611b65bce849a18a5620c5c98'}
89200cfcc2cfefe5554721e7fa3cf52f6a2a9120
1
03/11/2022, 10:04:52
Update Files.php
Bozhidar Slaveykov
null
{'additions': 254, 'deletions': 2, 'total': 256}
[ { "additions": 254, "changes": 256, "deletions": 2, "patch": "@@ -834,10 +834,262 @@ function get_dangerous_files_extentions()\n 'xqt', // SuperCalc Macro File',\n 'xys', // XYplorer Script File',\n 'zl9', // ZoneAlarm Quarantined EXE...
php
CWE-79
[ "src/MicroweberPackages/Utils/System/Files.php" ]
src/MicroweberPackages/Utils/System/Files.php
1
def my_type(value): email_regex = re.compile( r"^" "(?P<local>[^@]*[^@.])" r"@" r"(?P<server>[^@]+(?:\.[^@]+)*)" r"$", re.IGNORECASE, )
def my_type(value): email_regex = re.compile( r"^" "(?P<local>[^@]*[^@.])" r"@" r"(?P<server>[^@\.]+(?:\.[^@\.]+)*)" r"$", re.IGNORECASE, )
GHSA-3q6g-vf58-7m4g
{'CWE-400'}
7.5
{'https://github.com/python-restx/flask-restx/commit/bab31e085f355dd73858fd3715f7ed71849656da'}
osv
Regular Expression Denial of Service in flask-restx Flask RESTX contains a regular expression that is vulnerable to [ReDoS](https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS) (Regular Expression Denial of Service) in `email_regex`.
2021-09-08
1
https://github.com/python-restx/flask-restx
https://github.com/python-restx/flask-restx/commit/bab31e085f355dd73858fd3715f7ed71849656da
bab31e085f355dd73858fd3715f7ed71849656da
SINGLE
['bab31e085f355dd73858fd3715f7ed71849656da']
{'e1ab7e34a47fa8c2fd025402b9c65afbe24d5e98'}
bab31e085f355dd73858fd3715f7ed71849656da
1
09/01/2021, 19:53:02
optimize email regex (credits: @kevinbackhouse, fix: #372)
ziirish
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -48,7 +48,7 @@ def my_type(value):\n \n \n email_regex = re.compile(\n- r\"^\" \"(?P<local>[^@]*[^@.])\" r\"@\" r\"(?P<server>[^@]+(?:\\.[^@]+)*)\" r\"$\",\n+ r\"^\" \"(?P<local>[^@]*[^@.])\" r\"@\" r\"(?P<server>[^@\\.]+(?:\\.[^@\\....
py
CWE-400
[ "flask_restx/inputs.py" ]
flask_restx/inputs.py
1
TfLiteStatus Prepare(KernelType kernel_type, TfLiteContext* context, // Only one scale factor per batch is typically necessary. See optimized // implementation for why we need to allocate for the height of the inputs // flattened to 2D. const int height = NumElements(input) / channels_in; int scali...
TfLiteStatus Prepare(KernelType kernel_type, TfLiteContext* context, // Only one scale factor per batch is typically necessary. See optimized // implementation for why we need to allocate for the height of the inputs // flattened to 2D. TF_LITE_ENSURE(context, channels_in != 0); const int height = ...
GHSA-3qgw-p4fm-x7gf
{'CWE-369'}
2.5
{'https://github.com/tensorflow/tensorflow/commit/ff489d95a9006be080ad14feb378f2b4dac35552'}
osv
Division by zero in TFLite's convolution code ### Impact TFLite's [convolution code](https://github.com/tensorflow/tensorflow/blob/09c73bca7d648e961dd05898292d91a8322a9d45/tensorflow/lite/kernels/conv.cc) has multiple division where the divisor is controlled by the user and not checked to be non-zero. For example: ```...
2021-05-21
1
https://github.com/tensorflow/tensorflow
https://github.com/tensorflow/tensorflow/commit/ff489d95a9006be080ad14feb378f2b4dac35552
ff489d95a9006be080ad14feb378f2b4dac35552
SINGLE
['ff489d95a9006be080ad14feb378f2b4dac35552']
{'09c73bca7d648e961dd05898292d91a8322a9d45'}
ff489d95a9006be080ad14feb378f2b4dac35552
1
04/28/2021, 19:37:35
Prevent division by 0. PiperOrigin-RevId: 370962554 Change-Id: I0b9b62f4d8e1046dd88f9433f8dfeaf61a901680
Mihai Maruseac
null
{'additions': 6, 'deletions': 2, 'total': 8}
[ { "additions": 6, "changes": 8, "deletions": 2, "patch": "@@ -545,6 +545,7 @@ TfLiteStatus Prepare(KernelType kernel_type, TfLiteContext* context,\n // Only one scale factor per batch is typically necessary. See optimized\n // implementation for why we need to allocate for the height of the ...
cc
CWE-369
[ "tensorflow/lite/kernels/conv.cc" ]
tensorflow/lite/kernels/conv.cc
1
function factory($, Helper, Icons) { */ function setStageHeadline(title) { if (getUtility().isUndefinedOrNull(title)) { title = buildTitleByFormElement(); } $(getHelper().getDomElementDataIdentifierSelector('stageHeadline')).html(title); }; /** function factory($, Helper, I...
function factory($, Helper, Icons) { */ function setStageHeadline(title) { if (getUtility().isUndefinedOrNull(title)) { title = buildTitleByFormElement().text(); } $(getHelper().getDomElementDataIdentifierSelector('stageHeadline')).text(title); }; /** function factory($, He...
GHSA-3r95-23jp-mhvg
{'CWE-79'}
5.4
{'https://github.com/TYPO3/typo3/commit/6f2554dc4ea0b670fd5599c54fd788d4db96c4a0'}
osv
Cross-Site Scripting in TYPO3's Form Framework > ### Meta > * CVSS: `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N/E:F/RL:O/RC:C` (4.9) ### Problem It has been discovered that the Form Designer backend module of the Form Framework is vulnerable to cross-site scripting. A valid backend user account with access to the fo...
2022-06-17
1
https://github.com/TYPO3/typo3
https://github.com/TYPO3/typo3/commit/6f2554dc4ea0b670fd5599c54fd788d4db96c4a0
6f2554dc4ea0b670fd5599c54fd788d4db96c4a0
SINGLE
['6f2554dc4ea0b670fd5599c54fd788d4db96c4a0']
{'c93ea692e7dfef03b7c50fe5437487545bee4d6a'}
6f2554dc4ea0b670fd5599c54fd788d4db96c4a0
1
06/14/2022, 07:17:30
[SECURITY] Ensure text preview of multivalue items in form editor Multivalue items in the form editor user interface were previewed as HTML, but should be treated as scalar text only. Resolves: #96743 Releases: main, 11.5, 10.4 Change-Id: I5e8dab26119490ecf19ac5d48c2bc7a5a00daaad Security-Bulletin: TYPO3-CORE-SA-2022...
Gabe Troyan
null
{'additions': 6, 'deletions': 6, 'total': 12}
[ { "additions": 6, "changes": 12, "deletions": 6, "patch": "@@ -513,10 +513,10 @@ function factory($, Helper, Icons) {\n */\n function setStageHeadline(title) {\n if (getUtility().isUndefinedOrNull(title)) {\n- title = buildTitleByFormElement();\n+ title = buildTitleByFor...
js
CWE-79
[ "typo3/sysext/form/Resources/Public/JavaScript/backend/form-editor/stage-component.js" ]
typo3/sysext/form/Resources/Public/JavaScript/backend/form-editor/stage-component.js
1
module.exports = function(/*String*/input) { var target = pth.resolve(targetPath, maintainEntryPath ? entryName : pth.basename(entryName)); if (item.isDirectory) { target = pth.resolve(target, ".."); module.exports = function(/*String*/input) { _zip.entries.forEac...
module.exports = function(/*String*/input) { var target = pth.resolve(targetPath, maintainEntryPath ? entryName : pth.basename(entryName)); if(!target.startsWith(targetPath)) { throw Utils.Errors.INVALID_FILENAME + ": " + entryName; } if (item.isDirect...
GHSA-3v6h-hqm4-2rg6
{'CWE-22'}
0
{'https://github.com/cthackers/adm-zip/commit/62f64004fefb894c523a7143e8a88ebe6c84df25'}
osv
Arbitrary File Write in adm-zip Versions of `adm-zip` before 0.4.9 are vulnerable to arbitrary file write when used to extract a specifically crafted archive that contains path traversal filenames (`../../file.txt` for example). ## Recommendation Update to version 0.4.9 or later.
2018-07-27
1
https://github.com/cthackers/adm-zip
https://github.com/cthackers/adm-zip/commit/62f64004fefb894c523a7143e8a88ebe6c84df25
62f64004fefb894c523a7143e8a88ebe6c84df25
SINGLE
['62f64004fefb894c523a7143e8a88ebe6c84df25']
{'e116bc18df51e4e50c493cede82ae7696954b511', '6f4dfeb9a2166e93207443879988f97d88a37cde'}
62f64004fefb894c523a7143e8a88ebe6c84df25
1
04/23/2018, 07:20:56
Merge pull request #212 from aviadatsnyk/master fix: prevent extracting archived files outside of target path. Credit to Snyk Security Research Team for disclosure and fixing the issue.
The Brain
{'com_1': {'author': 'Shubham-9798', 'datetime': '08/27/2018, 04:25:44', 'body': 'adding adm-zip'}}
{'additions': 11, 'deletions': 0, 'total': 11}
[ { "additions": 11, "changes": 11, "deletions": 0, "patch": "@@ -354,6 +354,9 @@ module.exports = function(/*String*/input) {\n \n \n var target = pth.resolve(targetPath, maintainEntryPath ? entryName : pth.basename(entryName));\n+ if(!target.startsWith(targetPath)) {\n+ ...
js
CWE-22
[ "adm-zip.js" ]
adm-zip.js
1
TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) { TF_LITE_ENSURE_OK(context, GetOutputSafe(context, node, kOutputTensor, &output)); switch (indices->type) { case kTfLiteInt32: return EvalGatherNd<int32_t>(context, params, indices, output);
TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) { TF_LITE_ENSURE_OK(context, GetOutputSafe(context, node, kOutputTensor, &output)); // Prevent division by 0 in the helper TF_LITE_ENSURE(context, NumElements(params) > 0); switch (indices->type) { case kTfLiteInt32: re...
GHSA-3w67-q784-6w7c
{'CWE-369'}
2.5
{'https://github.com/tensorflow/tensorflow/commit/8e45822aa0b9f5df4b4c64f221e64dc930a70a9d'}
osv
Division by zero in TFLite's implementation of `GatherNd` ### Impact The reference implementation of the `GatherNd` TFLite operator is [vulnerable to a division by zero error](https://github.com/tensorflow/tensorflow/blob/0d45ea1ca641b21b73bcf9c00e0179cda284e7e7/tensorflow/lite/kernels/internal/reference/reference_ops....
2021-05-21
1
https://github.com/tensorflow/tensorflow
https://github.com/tensorflow/tensorflow/commit/8e45822aa0b9f5df4b4c64f221e64dc930a70a9d
8e45822aa0b9f5df4b4c64f221e64dc930a70a9d
SINGLE
['8e45822aa0b9f5df4b4c64f221e64dc930a70a9d']
{'0d45ea1ca641b21b73bcf9c00e0179cda284e7e7'}
8e45822aa0b9f5df4b4c64f221e64dc930a70a9d
1
04/28/2021, 00:46:10
Handle one more division by 0 in TFLite. PiperOrigin-RevId: 370800140 Change-Id: I9ab42e5aaccf02f226d1282611490a54cf7d273e
Mihai Maruseac
null
{'additions': 3, 'deletions': 0, 'total': 3}
[ { "additions": 3, "changes": 3, "deletions": 0, "patch": "@@ -155,6 +155,9 @@ TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) {\n TF_LITE_ENSURE_OK(context,\n GetOutputSafe(context, node, kOutputTensor, &output));\n \n+ // Prevent division by 0 in the helper\n+ TF...
cc
CWE-369
[ "tensorflow/lite/kernels/gather_nd.cc" ]
tensorflow/lite/kernels/gather_nd.cc
1
public int getProtocolVersion() { @Override public Response processControlCommand(ControlCommand command) throws Exception { String control = command.getCommand(); if (control != null && control.equals("shutdown")) { System.exit(0); } return null; }
public int getProtocolVersion() { @Override public Response processControlCommand(ControlCommand command) throws Exception { return null; }
GHSA-3wfj-vh84-732p
{'CWE-78'}
7.5
{'https://github.com/apache/activemq/commit/00921f22ff9a8792d7663ef8fadd4823402a6324'}
osv
Improper Neutralization of Special Elements used in an OS Command in Apache ActiveMQ The processControlCommand function in broker/TransportConnection.java in Apache ActiveMQ before 5.11.0 allows remote attackers to cause a denial of service (shutdown) via a shutdown command.
2022-05-14
1
https://github.com/apache/activemq
https://github.com/apache/activemq/commit/00921f22ff9a8792d7663ef8fadd4823402a6324
00921f22ff9a8792d7663ef8fadd4823402a6324
SINGLE
['00921f22ff9a8792d7663ef8fadd4823402a6324']
{'9a6d444e0a492231ad1f4833448b3bbacd839bce'}
00921f22ff9a8792d7663ef8fadd4823402a6324
1
08/13/2014, 15:15:29
Remove unused ConnectionControl handling.
Timothy Bish
{'com_1': {'author': 'tritschler', 'datetime': '11/10/2015, 09:33:23', 'body': 'No more shutdown ?'}, 'com_2': {'author': 'Hvnt3r', 'datetime': '07/18/2019, 08:46:59', 'body': '> No more shutdown ?\r\n\r\nyes'}}
{'additions': 0, 'deletions': 4, 'total': 4}
[ { "additions": 0, "changes": 4, "deletions": 4, "patch": "@@ -1534,10 +1534,6 @@ public int getProtocolVersion() {\n \n @Override\n public Response processControlCommand(ControlCommand command) throws Exception {\n- String control = command.getCommand();\n- if (control != null ...
java
CWE-78
[ "activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java" ]
activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java
1
function gitPullOrClone (url, outPath, opts, cb) { function gitClone () { // --depth implies --single-branch const flag = depth < Infinity ? '--depth=' + depth : '--single-branch' const args = ['clone', flag, url, outPath] debug('git ' + args.join(' ')) spawn('git', args, {}, function (err) { ...
function gitPullOrClone (url, outPath, opts, cb) { function gitClone () { // --depth implies --single-branch const flag = depth < Infinity ? '--depth=' + depth : '--single-branch' const args = ['clone', flag, '--', url, outPath] debug('git ' + args.join(' ')) spawn('git', args, {}, function (err)...
GHSA-3x62-x456-q2vm
{'CWE-77', 'CWE-78'}
9.8
{'https://github.com/feross/git-pull-or-clone/commit/f9ce092be13cc32e685dfa26e7705e9c6e3108a3'}
osv
OS Command Injection in git-pull-or-clone The package git-pull-or-clone before 2.0.2 is vulnerable to Command Injection due to the use of the --upload-pack feature of git which is also supported for git clone. The source includes the use of the secure child process API spawn(). However, the outpath parameter passed to ...
2022-05-03
1
https://github.com/feross/git-pull-or-clone
https://github.com/feross/git-pull-or-clone/commit/f9ce092be13cc32e685dfa26e7705e9c6e3108a3
f9ce092be13cc32e685dfa26e7705e9c6e3108a3
SINGLE
['f9ce092be13cc32e685dfa26e7705e9c6e3108a3']
{'4f8b9baf295e6d2e5dd987abca820987afb7643c'}
f9ce092be13cc32e685dfa26e7705e9c6e3108a3
1
04/06/2022, 10:13:53
fix: fix command injection vector
Liran Tal
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -28,7 +28,7 @@ function gitPullOrClone (url, outPath, opts, cb) {\n function gitClone () {\n // --depth implies --single-branch\n const flag = depth < Infinity ? '--depth=' + depth : '--single-branch'\n- const args = ['clone',...
js
CWE-78
[ "index.js" ]
index.js
1
if (isset($_GET['autosize'])) { $autoSize = $_GET['autosize']; } $type = ''; if (isset($_GET['type'])) { $type = $_GET['type']; } $mod_id = $mod_orig_id = false; $is_linked_mod = false; if (mw.notification) { mw.notification.success('<?p...
if (isset($_GET['autosize'])) { $autoSize = $_GET['autosize']; } $autoSize = xss_clean($autoSize); $type = ''; if (isset($_GET['type'])) { $type = $_GET['type']; } $type = xss_clean($type); $mod_id = $mod_orig_id = false; $is_linked_mod = false; if ...
GHSA-3x96-m42v-hvh5
{'CWE-79'}
6.1
{'https://github.com/microweber/microweber/commit/c51285f791e48e536111cd57a9544ccbf7f33961'}
osv
Cross-site Scripting in Microweber Cross-site Scripting (XSS) - Reflected in GitHub repository microweber/microweber prior to 1.2.18.
2022-06-23
1
https://github.com/microweber/microweber
https://github.com/microweber/microweber/commit/c51285f791e48e536111cd57a9544ccbf7f33961
c51285f791e48e536111cd57a9544ccbf7f33961
SINGLE
['c51285f791e48e536111cd57a9544ccbf7f33961']
{'10550ec85018bb0f581edd0ac2aed0d7bc9fe6b1'}
c51285f791e48e536111cd57a9544ccbf7f33961
1
06/22/2022, 11:56:16
update
Peter Ivanov
null
{'additions': 9, 'deletions': 3, 'total': 12}
[ { "additions": 9, "changes": 12, "deletions": 3, "patch": "@@ -87,11 +87,13 @@\n if (isset($_GET['autosize'])) {\n $autoSize = $_GET['autosize'];\n }\n+ $autoSize = xss_clean($autoSize);\n \n $type = '';\n if (isset($_GET['type'])) {\n $type = $_GET['type'];\n ...
php
CWE-79
[ "userfiles/modules/microweber/toolbar/editor_tools/module_settings/index.php" ]
userfiles/modules/microweber/toolbar/editor_tools/module_settings/index.php
1
class RaggedBincountOp : public OpKernel { int num_values = values.size(); int batch_idx = 0; Tensor* out_t; OP_REQUIRES_OK( ctx, ctx->allocate_output(0, TensorShape({num_rows, size}), &out_t));
class RaggedBincountOp : public OpKernel { int num_values = values.size(); int batch_idx = 0; OP_REQUIRES(ctx, splits(0) == 0, errors::InvalidArgument("Splits must start with 0, not with ", splits(0))); OP_REQUIRES(ctx, splits(num_rows) == num_v...
GHSA-4278-2v5v-65r4
{'CWE-787', 'CWE-120'}
2.5
{'https://github.com/tensorflow/tensorflow/commit/eebb96c2830d48597d055d247c0e9aebaea94cd5'}
osv
Heap buffer overflow in `RaggedBinCount` ### Impact If the `splits` argument of `RaggedBincount` does not specify a valid [`SparseTensor`](https://www.tensorflow.org/api_docs/python/tf/sparse/SparseTensor), then an attacker can trigger a heap buffer overflow: ```python import tensorflow as tf tf.raw_ops.RaggedBincount...
2021-05-21
1
https://github.com/tensorflow/tensorflow
https://github.com/tensorflow/tensorflow/commit/eebb96c2830d48597d055d247c0e9aebaea94cd5
eebb96c2830d48597d055d247c0e9aebaea94cd5
SINGLE
['eebb96c2830d48597d055d247c0e9aebaea94cd5']
{'8b677d79167799f71c42fd3fa074476e0295413a'}
eebb96c2830d48597d055d247c0e9aebaea94cd5
1
04/13/2021, 21:18:51
Fix an invalid address vulnerability in `tf.raw_ops.RaggedBincount`. PiperOrigin-RevId: 368293153 Change-Id: I4b4e493d3fd05e7dc55a55de3a041a80a4f275c3
Amit Patankar
{'com_1': {'author': 'Rayyan335', 'datetime': '05/14/2021, 19:00:36', 'body': 'tensorflow/core/kernels/bincount_op.cc'}}
{'additions': 9, 'deletions': 0, 'total': 9}
[ { "additions": 9, "changes": 9, "deletions": 0, "patch": "@@ -420,6 +420,15 @@ class RaggedBincountOp : public OpKernel {\n int num_values = values.size();\n int batch_idx = 0;\n \n+ OP_REQUIRES(ctx, splits(0) == 0,\n+ errors::InvalidArgument(\"Splits must start with 0, not...
cc
CWE-120
[ "tensorflow/core/kernels/bincount_op.cc" ]
tensorflow/core/kernels/bincount_op.cc
1
class RaggedBincountOp : public OpKernel { int num_values = values.size(); int batch_idx = 0; Tensor* out_t; OP_REQUIRES_OK( ctx, ctx->allocate_output(0, TensorShape({num_rows, size}), &out_t));
class RaggedBincountOp : public OpKernel { int num_values = values.size(); int batch_idx = 0; OP_REQUIRES(ctx, splits(0) == 0, errors::InvalidArgument("Splits must start with 0, not with ", splits(0))); OP_REQUIRES(ctx, splits(num_rows) == num_v...
GHSA-4278-2v5v-65r4
{'CWE-787', 'CWE-120'}
2.5
{'https://github.com/tensorflow/tensorflow/commit/eebb96c2830d48597d055d247c0e9aebaea94cd5'}
osv
Heap buffer overflow in `RaggedBinCount` ### Impact If the `splits` argument of `RaggedBincount` does not specify a valid [`SparseTensor`](https://www.tensorflow.org/api_docs/python/tf/sparse/SparseTensor), then an attacker can trigger a heap buffer overflow: ```python import tensorflow as tf tf.raw_ops.RaggedBincount...
2021-05-21
1
https://github.com/tensorflow/tensorflow
https://github.com/tensorflow/tensorflow/commit/eebb96c2830d48597d055d247c0e9aebaea94cd5
eebb96c2830d48597d055d247c0e9aebaea94cd5
SINGLE
['eebb96c2830d48597d055d247c0e9aebaea94cd5']
{'8b677d79167799f71c42fd3fa074476e0295413a'}
eebb96c2830d48597d055d247c0e9aebaea94cd5
1
04/13/2021, 21:18:51
Fix an invalid address vulnerability in `tf.raw_ops.RaggedBincount`. PiperOrigin-RevId: 368293153 Change-Id: I4b4e493d3fd05e7dc55a55de3a041a80a4f275c3
Amit Patankar
{'com_1': {'author': 'Rayyan335', 'datetime': '05/14/2021, 19:00:36', 'body': 'tensorflow/core/kernels/bincount_op.cc'}}
{'additions': 9, 'deletions': 0, 'total': 9}
[ { "additions": 9, "changes": 9, "deletions": 0, "patch": "@@ -420,6 +420,15 @@ class RaggedBincountOp : public OpKernel {\n int num_values = values.size();\n int batch_idx = 0;\n \n+ OP_REQUIRES(ctx, splits(0) == 0,\n+ errors::InvalidArgument(\"Splits must start with 0, not...
cc
CWE-787
[ "tensorflow/core/kernels/bincount_op.cc" ]
tensorflow/core/kernels/bincount_op.cc
1
TfLiteStatus Prepare(TfLiteContext* context, TfLiteNode* node) { TF_LITE_ENSURE_EQ(context, NumDimensions(input), 4); TF_LITE_ENSURE_EQ(context, NumDimensions(filter), 4); const TfLiteType data_type = input->type;
TfLiteStatus Prepare(TfLiteContext* context, TfLiteNode* node) { TF_LITE_ENSURE_EQ(context, NumDimensions(input), 4); TF_LITE_ENSURE_EQ(context, NumDimensions(filter), 4); TF_LITE_ENSURE(context, params->dilation_height_factor > 0); TF_LITE_ENSURE(context, params->dilation_width_factor > 0); const TfLiteTy...
GHSA-428x-9xc2-m8mj
{'CWE-369'}
6.5
{'https://github.com/tensorflow/tensorflow/commit/e5b0eec199c2d03de54fd6a7fd9275692218e2bc'}
osv
Division by zero in TFLite ### Impact An attacker can craft a TFLite model that would trigger a division by zero in [the implementation of depthwise convolutions](https://github.com/tensorflow/tensorflow/blob/5100e359aef5c8021f2e71c7b986420b85ce7b3d/tensorflow/lite/kernels/depthwise_conv.cc#L96). The parameters of th...
2022-02-09
1
https://github.com/tensorflow/tensorflow
https://github.com/tensorflow/tensorflow/commit/e5b0eec199c2d03de54fd6a7fd9275692218e2bc
e5b0eec199c2d03de54fd6a7fd9275692218e2bc
SINGLE
['e5b0eec199c2d03de54fd6a7fd9275692218e2bc']
{'ece78f4001dd87f50daab1d1b43f70a51726b8fb'}
e5b0eec199c2d03de54fd6a7fd9275692218e2bc
1
12/15/2021, 01:04:19
[lite] Add validation check for dilation height/width to be positive integers. PiperOrigin-RevId: 416429178 Change-Id: If7cdcddca54486434d9b2f06e7e2b401d7c3ee25
Karim Nosir
null
{'additions': 2, 'deletions': 0, 'total': 2}
[ { "additions": 2, "changes": 2, "deletions": 0, "patch": "@@ -115,6 +115,8 @@ TfLiteStatus Prepare(TfLiteContext* context, TfLiteNode* node) {\n \n TF_LITE_ENSURE_EQ(context, NumDimensions(input), 4);\n TF_LITE_ENSURE_EQ(context, NumDimensions(filter), 4);\n+ TF_LITE_ENSURE(context, params->dil...
cc
CWE-369
[ "tensorflow/lite/kernels/depthwise_conv.cc" ]
tensorflow/lite/kernels/depthwise_conv.cc
1
}); app.get('/comments/get/:id/:pagination?', middleware.applyCSRF, Comments.getCommentData); app.post('/comments/reply', Comments.replyToComment); app.post('/comments/publish', Comments.publishArticle); app.get('/admin/blog-comments', middleware.admin.buildHeader, renderAdmin); app.get('/api/admin/blog-...
}); app.get('/comments/get/:id/:pagination?', middleware.applyCSRF, Comments.getCommentData); app.post('/comments/reply', middleware.applyCSRF, Comments.replyToComment); app.post('/comments/publish', middleware.applyCSRF, Comments.publishArticle); app.get('/admin/blog-comments', middleware.admin.buildHeade...
GHSA-43m5-c88r-cjvv
{'CWE-352'}
6.8
{'https://github.com/psychobunny/nodebb-plugin-blog-comments/commit/cf43beedb05131937ef46f365ab0a0c6fa6ac618'}
osv
XSS due to lack of CSRF validation for replying/publishing ### Impact Due to lack of CSRF validation, a logged in user is potentially vulnerable to an XSS attack which could allow a third party to post on their behalf on the forum. ### Patches Upgrade to the latest version v0.7.0 ### Workarounds You can cherry-pick t...
2020-08-26
1
https://github.com/psychobunny/nodebb-plugin-blog-comments
https://github.com/psychobunny/nodebb-plugin-blog-comments/commit/cf43beedb05131937ef46f365ab0a0c6fa6ac618
cf43beedb05131937ef46f365ab0a0c6fa6ac618
SINGLE
['cf43beedb05131937ef46f365ab0a0c6fa6ac618']
{'ed0156594a44c6429743e314e9b5a313fad60730'}
cf43beedb05131937ef46f365ab0a0c6fa6ac618
1
08/20/2020, 05:11:57
fix: CSRF issues
psychobunny
null
{'additions': 2, 'deletions': 2, 'total': 4}
[ { "additions": 2, "changes": 4, "deletions": 2, "patch": "@@ -248,8 +248,8 @@\n \t\t});\n \n \t\tapp.get('/comments/get/:id/:pagination?', middleware.applyCSRF, Comments.getCommentData);\n-\t\tapp.post('/comments/reply', Comments.replyToComment);\n-\t\tapp.post('/comments/publish', Comments.publishA...
js
CWE-352
[ "library.js" ]
library.js
1
const SPAWN_OPT = { shell: true }; const D = require('os').platform().substring(0, 3).toLowerCase() === 'win' ? '"' : '\''; const CMD_CONVERT = { gm: 'gm', im: 'convert', magick: 'magick' }; const CMD_CONVERT2 = { gm: 'gm convert', im: 'convert', magick: 'magick' }; var CACHE = {}; var middlewares = {}; ImageProto.st...
const SPAWN_OPT = { shell: true }; const D = require('os').platform().substring(0, 3).toLowerCase() === 'win' ? '"' : '\''; const CMD_CONVERT = { gm: 'gm', im: 'convert', magick: 'magick' }; const CMD_CONVERT2 = { gm: 'gm convert', im: 'convert', magick: 'magick' }; const SUPPORTEDIMAGES = { jpg: 1, png: 1, gif: 1, ap...
GHSA-4449-hg37-77v8
{'CWE-78'}
8.6
{'https://github.com/totaljs/framework/commit/6192491ab2631e7c1d317c221f18ea613e2c18a5'}
osv
Command injection in total.js There is a command injection vulnerability that affects the package total.js before version 3.4.7. The issue occurs in the image.pipe and image.stream functions. The type parameter is used to build the command that is then executed using child_process.spawn. The issue occurs because child_...
2021-02-05
1
https://github.com/totaljs/framework
https://github.com/totaljs/framework/commit/6192491ab2631e7c1d317c221f18ea613e2c18a5
6192491ab2631e7c1d317c221f18ea613e2c18a5
SINGLE
['6192491ab2631e7c1d317c221f18ea613e2c18a5']
{'79e84ada0a4455a2fe2383bed6436f231290276a'}
6192491ab2631e7c1d317c221f18ea613e2c18a5
1
11/27/2020, 16:36:16
Fixed "Command Injection" in `image.stream()` - thank to Sam Sanoop.
Peter Sirka
null
{'additions': 2, 'deletions': 1, 'total': 3}
[ { "additions": 2, "changes": 3, "deletions": 1, "patch": "@@ -38,6 +38,7 @@ const SPAWN_OPT = { shell: true };\n const D = require('os').platform().substring(0, 3).toLowerCase() === 'win' ? '\"' : '\\'';\n const CMD_CONVERT = { gm: 'gm', im: 'convert', magick: 'magick' };\n const CMD_CONVERT2 = { gm...
js
CWE-78
[ "image.js" ]
image.js
1
limitations under the License. #include "tensorflow/python/lib/core/ndarray_tensor.h" #include <cstring> #include "tensorflow/c/eager/tfe_context_internal.h" #include "tensorflow/c/tf_tensor_internal.h" Status PyArrayDescr_to_TF_DataType(PyArray_Descr* descr, PyObject* key; PyObject* value; Py_ssize_t pos = 0;...
limitations under the License. #include "tensorflow/python/lib/core/ndarray_tensor.h" #include <cstring> #include <optional> #include "tensorflow/c/eager/tfe_context_internal.h" #include "tensorflow/c/tf_tensor_internal.h" Status PyArrayDescr_to_TF_DataType(PyArray_Descr* descr, PyObject* key; PyObject* value; ...
GHSA-452g-f7fp-9jf7
{'CWE-476'}
2.5
{'https://github.com/tensorflow/tensorflow/commit/030af767d357d1b4088c4a25c72cb3906abac489'}
osv
Type confusion during tensor casts lead to dereferencing null pointers ### Impact Calling TF operations with tensors of non-numeric types when the operations expect numeric tensors result in null pointer dereferences. There are multiple ways to reproduce this, listing a few examples here: ```python import tensorflow ...
2021-05-21
1
https://github.com/tensorflow/tensorflow
https://github.com/tensorflow/tensorflow/commit/030af767d357d1b4088c4a25c72cb3906abac489
030af767d357d1b4088c4a25c72cb3906abac489
SINGLE
['030af767d357d1b4088c4a25c72cb3906abac489']
{'ff70c47a396ef1e3cb73c90513da4f5cb71bebba'}
030af767d357d1b4088c4a25c72cb3906abac489
1
04/13/2021, 21:25:01
Fix `tf.raw_ops.ResourceCountUpTo` null pointer dereference. PiperOrigin-RevId: 368294347 Change-Id: I2c16fbfc9b4966c402c3d8e311f0d665a9c852d8
Amit Patankar
null
{'additions': 8, 'deletions': 0, 'total': 8}
[ { "additions": 8, "changes": 8, "deletions": 0, "patch": "@@ -16,6 +16,7 @@ limitations under the License.\n #include \"tensorflow/python/lib/core/ndarray_tensor.h\"\n \n #include <cstring>\n+#include <optional>\n \n #include \"tensorflow/c/eager/tfe_context_internal.h\"\n #include \"tensorflow/c/tf...
cc
CWE-476
[ "tensorflow/python/lib/core/ndarray_tensor.cc" ]
tensorflow/python/lib/core/ndarray_tensor.cc
1
class TargetingController extends AdminController implements KernelControllerEve { // RULES /** * @Route("/rule/list", name="pimcore_admin_targeting_rulelist", methods={"GET"}) * public function ruleListAction(Request $request) foreach ($list->load() as $target) { $targets[] = [ ...
class TargetingController extends AdminController implements KernelControllerEve { // RULES private function correctName(string $name): string { return preg_replace('/[#?*:\\\\<>|"%&@=;+]/', '-', $name); } /** * @Route("/rule/list", name="pimcore_admin_targeting_rulelist", methods={"...
GHSA-455w-gv5p-wgg3
{'CWE-79'}
5.4
{'https://github.com/pimcore/pimcore/commit/665976327ad3c2c87efa2a5a64d696032c0a8109'}
osv
Cross-site Scripting in pimcore pimcore is vulnerable to Stored XSS at Name field in the setting tab of the Global Targeting Rules.
2022-01-26
1
https://github.com/pimcore/pimcore
https://github.com/pimcore/pimcore/commit/665976327ad3c2c87efa2a5a64d696032c0a8109
665976327ad3c2c87efa2a5a64d696032c0a8109
SINGLE
['665976327ad3c2c87efa2a5a64d696032c0a8109']
{'7f8855719f56c42ee3eda27a84b38ab57890e144'}
665976327ad3c2c87efa2a5a64d696032c0a8109
1
01/19/2022, 10:36:40
[Targeting] Escape/validate names of rules properly (#11205) * [Targeting] Escape/validate names of rules properly * Update bundles/AdminBundle/Controller/Admin/TargetingController.php Co-authored-by: Jacob Dreesen <j.dreesen@neusta.de> Co-authored-by: Jacob Dreesen <j.dreesen@neusta.de>
Bernhard Rusch
null
{'additions': 11, 'deletions': 4, 'total': 15}
[ { "additions": 11, "changes": 15, "deletions": 4, "patch": "@@ -37,6 +37,11 @@ class TargetingController extends AdminController implements KernelControllerEve\n {\n // RULES\n \n+ private function correctName(string $name): string\n+ {\n+ return preg_replace('/[#?*:\\\\\\\\<>|\"%&@...
php
CWE-79
[ "bundles/AdminBundle/Controller/Admin/TargetingController.php" ]
bundles/AdminBundle/Controller/Admin/TargetingController.php
1
protected function driverRead(CacheItemInterface $item) // return null if no caching // return value if in caching $keyword = self::PREFIX . $item->getKey(); $x = isset($_COOKIE[ $keyword ]) ? $this->decode(json_decode($_COOKIE[ $keyword ], true)) : false; if ($x == false) { ...
protected function driverRead(CacheItemInterface $item) // return null if no caching // return value if in caching $keyword = self::PREFIX . $item->getKey(); $x = isset($_COOKIE[ $keyword ]) ? json_decode($_COOKIE[ $keyword ], true) : false; if ($x == false) { retur...
GHSA-484f-743f-6jx2
{'CWE-94'}
4.4
{'https://github.com/PHPSocialNetwork/phpfastcache/commit/c4527205cb7a402b595790c74310791f5b04a1a4'}
osv
Object injection in cookie driver in phpfastcache ### Impact An possible object injection has been discovered in cookie driver prior 5.0.13 versions (of 5.x releases). ### Patches The issue has been addressed by enforcing JSON conversion when deserializing ### Workarounds If you can't fix it, use another driver such ...
2019-12-12
1
https://github.com/PHPSocialNetwork/phpfastcache
https://github.com/PHPSocialNetwork/phpfastcache/commit/c4527205cb7a402b595790c74310791f5b04a1a4
c4527205cb7a402b595790c74310791f5b04a1a4
SINGLE
['c4527205cb7a402b595790c74310791f5b04a1a4']
{'afb1d158aee1eaa07857909d43f6ce3570b82a30'}
c4527205cb7a402b595790c74310791f5b04a1a4
1
12/30/2016, 08:40:00
Fixed critical vulnerability on cookie driver
Geolim4
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -99,7 +99,7 @@ protected function driverRead(CacheItemInterface $item)\n // return null if no caching\n // return value if in caching\n $keyword = self::PREFIX . $item->getKey();\n- $x = isset($_COOKIE[ $keyw...
php
CWE-94
[ "src/phpFastCache/Drivers/Cookie/Driver.php" ]
src/phpFastCache/Drivers/Cookie/Driver.php
1
impl ModuleInfo for RegisteredModule { let info = self.module.func_info(index); // Do a binary search to find the stack map for the given offset. // // Because GC safepoints are technically only associated with a single // PC, we should ideally only care about `Ok(index)` value...
impl ModuleInfo for RegisteredModule { let info = self.module.func_info(index); // Do a binary search to find the stack map for the given offset. let index = match info .stack_maps .binary_search_by_key(&func_offset, |i| i.code_offset) { // Found it....
GHSA-4873-36h9-wv49
{'CWE-787', 'CWE-125', 'CWE-590'}
6.3
{'https://github.com/bytecodealliance/wasmtime/commit/398a73f0dd862dbe703212ebae8e34036a18c11c'}
osv
Out-of-bounds read/write and invalid free with `externref`s and GC safepoints in Wasmtime ### Impact There was an invalid free and out-of-bounds read and write bug when running Wasm that uses `externref`s in Wasmtime. To trigger this bug, Wasmtime needs to be running Wasm that uses `externref`s, the host creates non...
2021-09-20
1
https://github.com/bytecodealliance/wasmtime
https://github.com/bytecodealliance/wasmtime/commit/398a73f0dd862dbe703212ebae8e34036a18c11c
398a73f0dd862dbe703212ebae8e34036a18c11c
SINGLE
['398a73f0dd862dbe703212ebae8e34036a18c11c']
{'ec4e48d4cbc28bcfd99e25842a90704e765b800f', '101998733b74624cbd348a2366d05760b40181f3'}
398a73f0dd862dbe703212ebae8e34036a18c11c
1
09/17/2021, 17:28:50
Merge pull request from GHSA-4873-36h9-wv49 Stop doing fuzzy search for stack maps
Nick Fitzgerald
null
{'additions': 52, 'deletions': 48, 'total': 100}
[ { "additions": 52, "changes": 100, "deletions": 48, "patch": "@@ -122,61 +122,65 @@ impl ModuleInfo for RegisteredModule {\n let info = self.module.func_info(index);\n \n // Do a binary search to find the stack map for the given offset.\n- //\n- // Because GC safepoints...
rs
CWE-787
[ "crates/wasmtime/src/module/registry.rs" ]
crates/wasmtime/src/module/registry.rs
1
impl ModuleInfo for RegisteredModule { let info = self.module.func_info(index); // Do a binary search to find the stack map for the given offset. // // Because GC safepoints are technically only associated with a single // PC, we should ideally only care about `Ok(index)` value...
impl ModuleInfo for RegisteredModule { let info = self.module.func_info(index); // Do a binary search to find the stack map for the given offset. let index = match info .stack_maps .binary_search_by_key(&func_offset, |i| i.code_offset) { // Found it....
GHSA-4873-36h9-wv49
{'CWE-787', 'CWE-125', 'CWE-590'}
6.3
{'https://github.com/bytecodealliance/wasmtime/commit/398a73f0dd862dbe703212ebae8e34036a18c11c'}
osv
Out-of-bounds read/write and invalid free with `externref`s and GC safepoints in Wasmtime ### Impact There was an invalid free and out-of-bounds read and write bug when running Wasm that uses `externref`s in Wasmtime. To trigger this bug, Wasmtime needs to be running Wasm that uses `externref`s, the host creates non...
2021-09-20
1
https://github.com/bytecodealliance/wasmtime
https://github.com/bytecodealliance/wasmtime/commit/398a73f0dd862dbe703212ebae8e34036a18c11c
398a73f0dd862dbe703212ebae8e34036a18c11c
SINGLE
['398a73f0dd862dbe703212ebae8e34036a18c11c']
{'ec4e48d4cbc28bcfd99e25842a90704e765b800f', '101998733b74624cbd348a2366d05760b40181f3'}
398a73f0dd862dbe703212ebae8e34036a18c11c
1
09/17/2021, 17:28:50
Merge pull request from GHSA-4873-36h9-wv49 Stop doing fuzzy search for stack maps
Nick Fitzgerald
null
{'additions': 52, 'deletions': 48, 'total': 100}
[ { "additions": 52, "changes": 100, "deletions": 48, "patch": "@@ -122,61 +122,65 @@ impl ModuleInfo for RegisteredModule {\n let info = self.module.func_info(index);\n \n // Do a binary search to find the stack map for the given offset.\n- //\n- // Because GC safepoints...
rs
CWE-125
[ "crates/wasmtime/src/module/registry.rs" ]
crates/wasmtime/src/module/registry.rs
1
export class Sanitizer implements ISanitizer { font: ['color', 'face', 'size'], form: [ 'accept', 'action', 'autocomplete', 'enctype', 'method',
export class Sanitizer implements ISanitizer { font: ['color', 'face', 'size'], form: [ 'accept', 'autocomplete', 'enctype', 'method',
GHSA-4952-p58q-6crx
{'CWE-87', 'CWE-79', 'CWE-75'}
7.4
{'https://github.com/jupyterlab/jupyterlab/commit/504825938c0abfa2fb8ff8d529308830a5ae42ed'}
osv
JupyterLab: XSS due to lack of sanitization of the action attribute of an html <form> ### Impact Untrusted notebook can execute code on load. This is a remote code execution, but requires user action to open a notebook. ### Patches Patched in the following versions: 3.1.4, 3.0.17, 2.3.2, 2.2.10, 1.2.21. ### Referen...
2021-08-23
1
https://github.com/jupyterlab/jupyterlab
https://github.com/jupyterlab/jupyterlab/commit/504825938c0abfa2fb8ff8d529308830a5ae42ed
504825938c0abfa2fb8ff8d529308830a5ae42ed
SINGLE
['504825938c0abfa2fb8ff8d529308830a5ae42ed']
{'ccb65656e3ed9c47d3e6fedbcff2405885d0bcaa'}
504825938c0abfa2fb8ff8d529308830a5ae42ed
1
08/05/2021, 16:42:03
Merge pull request from GHSA-4952-p58q-6crx Remove `form` tags' `action` attribute during sanitizing. Co-authored-by: Afshin Taylor Darian <git@darian.af>
Steven Silvester
null
{'additions': 0, 'deletions': 1, 'total': 1}
[ { "additions": 0, "changes": 1, "deletions": 1, "patch": "@@ -624,7 +624,6 @@ export class Sanitizer implements ISanitizer {\n font: ['color', 'face', 'size'],\n form: [\n 'accept',\n- 'action',\n 'autocomplete',\n 'enctype',\n 'method',", "path...
ts
CWE-79
[ "packages/apputils/src/sanitizer.ts" ]
packages/apputils/src/sanitizer.ts
1
*******************************************************************************/ package org.fusesource.hawtjni.runtime; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList...
*******************************************************************************/ package org.fusesource.hawtjni.runtime; import java.io.*; import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; import java.util.Random; import java.util.regex.Pattern; /** final public String getLibra...
GHSA-49j7-qghp-5wj8
{'CWE-94'}
0
{'https://github.com/fusesource/hawtjni/commit/92c266170ce98edc200c656bd034a237098b8aa5'}
osv
Improper Control of Generation of Code in HawtJNI Race condition in hawtjni-runtime/src/main/java/org/fusesource/hawtjni/runtime/Library.java in HawtJNI before 1.8, when a custom library path is not specified, allows local users to execute arbitrary Java code by overwriting a temporary JAR file with a predictable name ...
2022-05-17
1
https://github.com/fusesource/hawtjni
https://github.com/fusesource/hawtjni/commit/92c266170ce98edc200c656bd034a237098b8aa5
92c266170ce98edc200c656bd034a237098b8aa5
SINGLE
['92c266170ce98edc200c656bd034a237098b8aa5']
{'357bb279b0c8c67b7d357c1363efe86870ad9a81'}
92c266170ce98edc200c656bd034a237098b8aa5
1
05/06/2013, 13:49:55
Simplify shared lib extraction.
Hiram Chirino
null
{'additions': 29, 'deletions': 50, 'total': 79}
[ { "additions": 29, "changes": 79, "deletions": 50, "patch": "@@ -9,13 +9,11 @@\n *******************************************************************************/\n package org.fusesource.hawtjni.runtime;\n \n-import java.io.File;\n-import java.io.FileOutputStream;\n-import java.io.IOException;\n-im...
java
CWE-94
[ "hawtjni-runtime/src/main/java/org/fusesource/hawtjni/runtime/Library.java" ]
hawtjni-runtime/src/main/java/org/fusesource/hawtjni/runtime/Library.java
1
class NbconvertFileHandler(IPythonHandler): SUPPORTED_METHODS = ('GET',) @web.authenticated def get(self, format, path): def get(self, format, path): class NbconvertPostHandler(IPythonHandler): SUPPORTED_METHODS = ('POST',) @web.authenticated def post(self, format): exporter = get_e...
class NbconvertFileHandler(IPythonHandler): SUPPORTED_METHODS = ('GET',) @property def content_security_policy(self): # In case we're serving HTML/SVG, confine any Javascript to a unique # origin so it can't interact with the notebook server. return super(NbconvertFileHandler, sel...
GHSA-49qr-xh3w-h436
{'CWE-79'}
6.1
{'https://github.com/jupyter/notebook/commit/107a89fce5f413fb5728c1c5d2c7788e1fb17491'}
osv
Moderate severity vulnerability that affects notebook Jupyter Notebook before 5.7.1 allows XSS via an untrusted notebook because nbconvert responses are considered to have the same origin as the notebook server. In other words, nbconvert endpoints can execute JavaScript with access to the server API. In notebook/nbconv...
2018-11-21
1
https://github.com/jupyter/notebook
https://github.com/jupyter/notebook/commit/107a89fce5f413fb5728c1c5d2c7788e1fb17491
107a89fce5f413fb5728c1c5d2c7788e1fb17491
SINGLE
['107a89fce5f413fb5728c1c5d2c7788e1fb17491']
{'04a686dbaf9dfe553324a03cb9e6f778cf1e3da1'}
107a89fce5f413fb5728c1c5d2c7788e1fb17491
1
10/22/2018, 13:52:36
Apply CSP sandboxing for nbconvert responses These may contain untrusted content, so they should be treated as being from a different domain to the notebook server.
Thomas Kluyver
null
{'additions': 14, 'deletions': 0, 'total': 14}
[ { "additions": 14, "changes": 14, "deletions": 0, "patch": "@@ -78,6 +78,13 @@ class NbconvertFileHandler(IPythonHandler):\n \n SUPPORTED_METHODS = ('GET',)\n \n+ @property\n+ def content_security_policy(self):\n+ # In case we're serving HTML/SVG, confine any Javascript to a unique\...
py
CWE-79
[ "notebook/nbconvert/handlers.py" ]
notebook/nbconvert/handlers.py
1
limitations under the License. #include "tensorflow/core/kernels/fill_functor.h" #include "tensorflow/core/lib/core/blocking_counter.h" #include "tensorflow/core/lib/core/threadpool.h" #include "tensorflow/core/platform/logging.h" #include "tensorflow/core/platform/macros.h" #include "tensorflow/core/platform/mutex.h"...
limitations under the License. #include "tensorflow/core/kernels/fill_functor.h" #include "tensorflow/core/lib/core/blocking_counter.h" #include "tensorflow/core/lib/core/threadpool.h" #include "tensorflow/core/platform/errors.h" #include "tensorflow/core/platform/logging.h" #include "tensorflow/core/platform/macros.h...
GHSA-4f99-p9c2-3j8x
{'CWE-125', 'CWE-824'}
7.8
{'https://github.com/tensorflow/tensorflow/commit/e6cf28c72ba2eb949ca950d834dd6d66bb01cfae'}
osv
Undefined behavior via `nullptr` reference binding in sparse matrix multiplication ### Impact The [code for sparse matrix multiplication](https://github.com/tensorflow/tensorflow/blob/8d72537c6abf5a44103b57b9c2e22c14f5f49698/tensorflow/core/kernels/sparse_matmul_op.cc#L954-L1086) is vulnerable to undefined behavior via...
2021-11-10
1
https://github.com/tensorflow/tensorflow
https://github.com/tensorflow/tensorflow/commit/e6cf28c72ba2eb949ca950d834dd6d66bb01cfae
e6cf28c72ba2eb949ca950d834dd6d66bb01cfae
SINGLE
['e6cf28c72ba2eb949ca950d834dd6d66bb01cfae']
{'d4fdd7830befb1f3aed8b4d1681471531856ae77'}
e6cf28c72ba2eb949ca950d834dd6d66bb01cfae
1
10/06/2021, 04:54:15
Validate that matrix dimension sizes in SparseMatMul are positive. PiperOrigin-RevId: 401149683 Change-Id: Ib33eafc561a39c8741ece80b2edce6d4aae9a57d
Penporn Koanantakool
null
{'additions': 10, 'deletions': 0, 'total': 10}
[ { "additions": 10, "changes": 10, "deletions": 0, "patch": "@@ -32,6 +32,7 @@ limitations under the License.\n #include \"tensorflow/core/kernels/fill_functor.h\"\n #include \"tensorflow/core/lib/core/blocking_counter.h\"\n #include \"tensorflow/core/lib/core/threadpool.h\"\n+#include \"tensorflow/c...
cc
CWE-125
[ "tensorflow/core/kernels/sparse_matmul_op.cc" ]
tensorflow/core/kernels/sparse_matmul_op.cc
1
htmlFilter.addRules( createBogusAndFillerRules( editor, 'html' ), { applyToAll: true } ); editor.on( 'toHtml', function( evt ) { var evtData = evt.data, data = evtData.dataValue, fixBodyTag; // Before we start protecting markup, make sure there are no externally injected // protection keywords. ...
htmlFilter.addRules( createBogusAndFillerRules( editor, 'html' ), { applyToAll: true } ); editor.on( 'toHtml', function( evt ) { var randomNumber = generateRandomNumber(), evtData = evt.data, data = evtData.dataValue, fixBodyTag; // Before we start protecting markup, make sure there are no exte...
GHSA-4fc4-4p5g-6w89
{'CWE-79'}
5.4
{'https://github.com/ckeditor/ckeditor4/commit/d158413449692d920a778503502dcb22881bc949'}
osv
Cross-site Scripting in CKEditor4 ### Affected packages The vulnerability has been discovered in the core HTML processing module and may affect all plugins used by CKEditor 4. ### Impact A potential vulnerability has been discovered in CKEditor 4 HTML processing core module. The vulnerability allowed to inject malform...
2022-03-16
1
https://github.com/ckeditor/ckeditor4
https://github.com/ckeditor/ckeditor4/commit/d158413449692d920a778503502dcb22881bc949
d158413449692d920a778503502dcb22881bc949
SINGLE
['d158413449692d920a778503502dcb22881bc949']
{'8cff1e5aee3d766068792a374ba6b54a5cb92e2d'}
d158413449692d920a778503502dcb22881bc949
1
02/08/2022, 16:35:34
Code refactoring.
Tomasz Jakut
null
{'additions': 26, 'deletions': 14, 'total': 40}
[ { "additions": 26, "changes": 40, "deletions": 14, "patch": "@@ -50,17 +50,18 @@\n \t\thtmlFilter.addRules( createBogusAndFillerRules( editor, 'html' ), { applyToAll: true } );\n \n \t\teditor.on( 'toHtml', function( evt ) {\n-\t\t\tvar evtData = evt.data,\n+\t\t\tvar randomNumber = generateRandomNu...
js
CWE-79
[ "core/htmldataprocessor.js" ]
core/htmldataprocessor.js
1
class QuantizedBatchNormOp : public OpKernel { void Compute(OpKernelContext* context) override { const Tensor& input = context->input(0); const float input_min = context->input(1).flat<float>()(0); const float input_max = context->input(2).flat<float>()(0); const Tensor& mean = context->input(3); ...
class QuantizedBatchNormOp : public OpKernel { void Compute(OpKernelContext* context) override { const Tensor& input = context->input(0); const auto& input_min_tensor = context->input(1); OP_REQUIRES(context, input_min_tensor.NumElements() == 1, errors::InvalidArgument("input_min must ha...
GHSA-4fg4-p75j-w5xj
{'CWE-125'}
2.5
{'https://github.com/tensorflow/tensorflow/commit/d6ed5bcfe1dcab9e85a4d39931bd18d99018e75b'}
osv
Heap out of bounds in `QuantizedBatchNormWithGlobalNormalization` ### Impact An attacker can cause a segfault and denial of service via accessing data outside of bounds in `tf.raw_ops.QuantizedBatchNormWithGlobalNormalization`: ```python import tensorflow as tf t = tf.constant([1], shape=[1, 1, 1, 1], dtype=tf.quint8...
2021-05-21
1
https://github.com/tensorflow/tensorflow
https://github.com/tensorflow/tensorflow/commit/d6ed5bcfe1dcab9e85a4d39931bd18d99018e75b
d6ed5bcfe1dcab9e85a4d39931bd18d99018e75b
SINGLE
['d6ed5bcfe1dcab9e85a4d39931bd18d99018e75b']
{'55a97caa9e99c7f37a0bbbeb414dc55553d3ae7f'}
d6ed5bcfe1dcab9e85a4d39931bd18d99018e75b
1
04/23/2021, 18:40:06
Add missing validation in `QuantizedBatchNormWithGlobalNormalization` PiperOrigin-RevId: 370123451 Change-Id: Id234d6dab1ec21230bb8e503dba30f899af87f33
Mihai Maruseac
null
{'additions': 67, 'deletions': 10, 'total': 77}
[ { "additions": 67, "changes": 77, "deletions": 10, "patch": "@@ -173,20 +173,50 @@ class QuantizedBatchNormOp : public OpKernel {\n \n void Compute(OpKernelContext* context) override {\n const Tensor& input = context->input(0);\n- const float input_min = context->input(1).flat<float>()(0);\...
cc
CWE-125
[ "tensorflow/core/kernels/quantized_batch_norm_op.cc" ]
tensorflow/core/kernels/quantized_batch_norm_op.cc
1
import fs = require('fs'); export default async function generateDevCert (commonName: string) { if (!commandExists.sync('openssl')) throw new Error('Unable to find openssl - make sure it is installed and available in your PATH'); if (!commonName.match(/^(.|\.){1,64}$/)) throw new Error(`Invalid Common Name...
import fs = require('fs'); export default async function generateDevCert (commonName: string) { if (!commandExists.sync('openssl')) throw new Error('Unable to find openssl - make sure it is installed and available in your PATH'); if (!commonName.match(/^(a-zA-Z0-9|\.){1,64}$/)) throw new Error(`Invalid Com...
GHSA-4gp3-p7ph-x2jr
{'CWE-78'}
9.8
{'https://github.com/guybedford/devcert/commit/571f4e6d077f7f21c6aed655ae380d85a7a5d3b8'}
osv
OS Command Injection in devcert-sanscache devcert-sanscache before 0.4.7 allows remote attackers to execute arbitrary code or cause a Command Injection via the exec function. The variable `commonName` controlled by user input is used as part of the `exec` function without any sanitization.
2020-04-14
1
https://github.com/guybedford/devcert
https://github.com/guybedford/devcert/commit/571f4e6d077f7f21c6aed655ae380d85a7a5d3b8
571f4e6d077f7f21c6aed655ae380d85a7a5d3b8
SINGLE
['571f4e6d077f7f21c6aed655ae380d85a7a5d3b8']
{'651bb8ebb97a029be13656c0476d48db85887451'}
571f4e6d077f7f21c6aed655ae380d85a7a5d3b8
1
01/08/2020, 01:35:58
common name sanitization
Guy Bedford
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -6,7 +6,7 @@ import fs = require('fs');\n export default async function generateDevCert (commonName: string) {\n if (!commandExists.sync('openssl'))\n throw new Error('Unable to find openssl - make sure it is installed and available ...
ts
CWE-78
[ "src/index.ts" ]
src/index.ts
1
CodeMirror.defineMode("javascript", function(config, parserConfig) { var kw = keywords[word] return ret(kw.type, kw.style, word) } if (word == "async" && stream.match(/^(\s|\/\*.*?\*\/)*[\[\(\w]/, false)) return ret("async", "keyword", word) } return ret("varia...
CodeMirror.defineMode("javascript", function(config, parserConfig) { var kw = keywords[word] return ret(kw.type, kw.style, word) } if (word == "async" && stream.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/, false)) return ret("async", "keyword", word) } ret...
GHSA-4gw3-8f77-f72c
{'CWE-400'}
5.3
{'https://github.com/codemirror/CodeMirror/commit/55d0333907117c9231ffdf555ae8824705993bbb'}
osv
Regular expression denial of service in codemirror This affects the package codemirror before 5.58.2; the package org.apache.marmotta.webjars:codemirror before 5.58.2. The vulnerable regular expression is located in https://github.com/codemirror/CodeMirror/blob/cdb228ac736369c685865b122b736cd0d397836c/mode/javascript/...
2021-05-10
1
https://github.com/codemirror/CodeMirror
https://github.com/codemirror/CodeMirror/commit/55d0333907117c9231ffdf555ae8824705993bbb
55d0333907117c9231ffdf555ae8824705993bbb
SINGLE
['55d0333907117c9231ffdf555ae8824705993bbb']
{'cdb228ac736369c685865b122b736cd0d397836c'}
55d0333907117c9231ffdf555ae8824705993bbb
1
10/09/2020, 13:38:39
[javascript mode] Fix potentially-exponential regexp
Marijn Haverbeke
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -126,7 +126,7 @@ CodeMirror.defineMode(\"javascript\", function(config, parserConfig) {\n var kw = keywords[word]\n return ret(kw.type, kw.style, word)\n }\n- if (word == \"async\" && stream.match(/^(\\s|...
js
CWE-400
[ "mode/javascript/javascript.js" ]
mode/javascript/javascript.js
1
call_user_func(function() { $value = \TYPO3\CMS\Core\Utility\GeneralUtility::_GET('value'); $addition = \TYPO3\CMS\Core\Utility\GeneralUtility::_GET('addition'); $scope = \TYPO3\CMS\Core\Utility\GeneralUtility::_GET('scope'); $content = \TYPO3\CMS\Core\Utility\GeneralUtility::hmac($value, $addition);...
call_user_func(function() { $value = \TYPO3\CMS\Core\Utility\GeneralUtility::_GET('value'); $scope = \TYPO3\CMS\Core\Utility\GeneralUtility::_GET('scope'); if (!is_string($value) || empty($value)) { \TYPO3\CMS\Core\Utility\HttpUtility::setResponseCodeAndExit( \TYPO3\CMS\Core\Utility\H...
GHSA-4h44-w6fm-548g
{'CWE-325', 'CWE-200', 'CWE-502', 'CWE-20'}
9.8
{'https://github.com/FriendsOfTYPO3/mediace/commit/fa29ffd3e8b275782a8600d2406e1b1e5e16ae75'}
osv
Potential Remote Code Execution in TYPO3 with mediace extension > ### Meta > * CVSS: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:F/RL:O/RC:C` (9.1) > * CWE-325, CWE-20, CWE-200, CWE-502 ### Problem It has been discovered that an internal verification mechanism can be used to generate arbitrary checksums. This allo...
2020-07-29
1
https://github.com/FriendsOfTYPO3/mediace
https://github.com/FriendsOfTYPO3/mediace/commit/fa29ffd3e8b275782a8600d2406e1b1e5e16ae75
fa29ffd3e8b275782a8600d2406e1b1e5e16ae75
SINGLE
['fa29ffd3e8b275782a8600d2406e1b1e5e16ae75']
{'a06c3fdf310ea4d53e193f21a23e630a3cd9f608'}
fa29ffd3e8b275782a8600d2406e1b1e5e16ae75
1
06/29/2020, 13:39:55
[SECURITY] Restrict file validation hash generation Security-References: CVE-2020-15086
Oliver Hader
null
{'additions': 7, 'deletions': 2, 'total': 9}
[ { "additions": 7, "changes": 9, "deletions": 2, "patch": "@@ -14,10 +14,15 @@\n \n call_user_func(function() {\n $value = \\TYPO3\\CMS\\Core\\Utility\\GeneralUtility::_GET('value');\n- $addition = \\TYPO3\\CMS\\Core\\Utility\\GeneralUtility::_GET('addition');\n $scope = \\TYPO3\\CMS\\Core...
php
CWE-20
[ "Resources/PHP/ValidateHashEID.php" ]
Resources/PHP/ValidateHashEID.php
1
call_user_func(function() { $value = \TYPO3\CMS\Core\Utility\GeneralUtility::_GET('value'); $addition = \TYPO3\CMS\Core\Utility\GeneralUtility::_GET('addition'); $scope = \TYPO3\CMS\Core\Utility\GeneralUtility::_GET('scope'); $content = \TYPO3\CMS\Core\Utility\GeneralUtility::hmac($value, $addition);...
call_user_func(function() { $value = \TYPO3\CMS\Core\Utility\GeneralUtility::_GET('value'); $scope = \TYPO3\CMS\Core\Utility\GeneralUtility::_GET('scope'); if (!is_string($value) || empty($value)) { \TYPO3\CMS\Core\Utility\HttpUtility::setResponseCodeAndExit( \TYPO3\CMS\Core\Utility\H...
GHSA-4h44-w6fm-548g
{'CWE-325', 'CWE-200', 'CWE-502', 'CWE-20'}
9.8
{'https://github.com/FriendsOfTYPO3/mediace/commit/fa29ffd3e8b275782a8600d2406e1b1e5e16ae75'}
osv
Potential Remote Code Execution in TYPO3 with mediace extension > ### Meta > * CVSS: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:F/RL:O/RC:C` (9.1) > * CWE-325, CWE-20, CWE-200, CWE-502 ### Problem It has been discovered that an internal verification mechanism can be used to generate arbitrary checksums. This allo...
2020-07-29
1
https://github.com/FriendsOfTYPO3/mediace
https://github.com/FriendsOfTYPO3/mediace/commit/fa29ffd3e8b275782a8600d2406e1b1e5e16ae75
fa29ffd3e8b275782a8600d2406e1b1e5e16ae75
SINGLE
['fa29ffd3e8b275782a8600d2406e1b1e5e16ae75']
{'a06c3fdf310ea4d53e193f21a23e630a3cd9f608'}
fa29ffd3e8b275782a8600d2406e1b1e5e16ae75
1
06/29/2020, 13:39:55
[SECURITY] Restrict file validation hash generation Security-References: CVE-2020-15086
Oliver Hader
null
{'additions': 7, 'deletions': 2, 'total': 9}
[ { "additions": 7, "changes": 9, "deletions": 2, "patch": "@@ -14,10 +14,15 @@\n \n call_user_func(function() {\n $value = \\TYPO3\\CMS\\Core\\Utility\\GeneralUtility::_GET('value');\n- $addition = \\TYPO3\\CMS\\Core\\Utility\\GeneralUtility::_GET('addition');\n $scope = \\TYPO3\\CMS\\Core...
php
CWE-200
[ "Resources/PHP/ValidateHashEID.php" ]
Resources/PHP/ValidateHashEID.php
1
void FormatConverter<T>::InitSparseToDenseConverter( block_size_.resize(block_map_.size()); for (int i = 0; i < original_rank; i++) { if (block_dim < block_map_.size() && block_map_[block_dim] == i) { int orig_dim = traversal_order_[original_rank + block_dim]; block_size_[block_dim] = dense_size[or...
void FormatConverter<T>::InitSparseToDenseConverter( block_size_.resize(block_map_.size()); for (int i = 0; i < original_rank; i++) { if (block_dim < block_map_.size() && block_map_[block_dim] == i) { if (original_rank + block_dim < traversal_order_.size()) { int orig_dim = traversal_order_[origi...
GHSA-4hvf-hxvg-f67v
{'CWE-787', 'CWE-125'}
8.8
{'https://github.com/tensorflow/tensorflow/commit/6364463d6f5b6254cac3d6aedf999b6a96225038'}
osv
Read and Write outside of bounds in TensorFlow ### Impact An attacker can craft a TFLite model that would allow limited reads and writes outside of arrays in TFLite. This exploits missing validation in [the conversion from sparse tensors to dense tensors](https://github.com/tensorflow/tensorflow/blob/ca6f96b62ad84207fb...
2022-02-09
1
https://github.com/tensorflow/tensorflow
https://github.com/tensorflow/tensorflow/commit/6364463d6f5b6254cac3d6aedf999b6a96225038
6364463d6f5b6254cac3d6aedf999b6a96225038
SINGLE
['6364463d6f5b6254cac3d6aedf999b6a96225038']
{'3e49ff637ad4f05c133d235a568943d19216fa9a'}
6364463d6f5b6254cac3d6aedf999b6a96225038
1
12/16/2021, 23:37:14
[lite] Add some safety checks to avoid out of bound access for sparsity format PiperOrigin-RevId: 416910386 Change-Id: Ic0b4dc048dc4b5a6309c572b8c4c9f776e4db60a
Karim Nosir
null
{'additions': 11, 'deletions': 7, 'total': 18}
[ { "additions": 11, "changes": 18, "deletions": 7, "patch": "@@ -282,10 +282,12 @@ void FormatConverter<T>::InitSparseToDenseConverter(\n block_size_.resize(block_map_.size());\n for (int i = 0; i < original_rank; i++) {\n if (block_dim < block_map_.size() && block_map_[block_dim] == i) {\n- ...
cc
CWE-125
[ "tensorflow/lite/kernels/internal/utils/sparsity_format_converter.cc" ]
tensorflow/lite/kernels/internal/utils/sparsity_format_converter.cc
1
void FormatConverter<T>::InitSparseToDenseConverter( block_size_.resize(block_map_.size()); for (int i = 0; i < original_rank; i++) { if (block_dim < block_map_.size() && block_map_[block_dim] == i) { int orig_dim = traversal_order_[original_rank + block_dim]; block_size_[block_dim] = dense_size[or...
void FormatConverter<T>::InitSparseToDenseConverter( block_size_.resize(block_map_.size()); for (int i = 0; i < original_rank; i++) { if (block_dim < block_map_.size() && block_map_[block_dim] == i) { if (original_rank + block_dim < traversal_order_.size()) { int orig_dim = traversal_order_[origi...
GHSA-4hvf-hxvg-f67v
{'CWE-787', 'CWE-125'}
8.8
{'https://github.com/tensorflow/tensorflow/commit/6364463d6f5b6254cac3d6aedf999b6a96225038'}
osv
Read and Write outside of bounds in TensorFlow ### Impact An attacker can craft a TFLite model that would allow limited reads and writes outside of arrays in TFLite. This exploits missing validation in [the conversion from sparse tensors to dense tensors](https://github.com/tensorflow/tensorflow/blob/ca6f96b62ad84207fb...
2022-02-09
1
https://github.com/tensorflow/tensorflow
https://github.com/tensorflow/tensorflow/commit/6364463d6f5b6254cac3d6aedf999b6a96225038
6364463d6f5b6254cac3d6aedf999b6a96225038
SINGLE
['6364463d6f5b6254cac3d6aedf999b6a96225038']
{'3e49ff637ad4f05c133d235a568943d19216fa9a'}
6364463d6f5b6254cac3d6aedf999b6a96225038
1
12/16/2021, 23:37:14
[lite] Add some safety checks to avoid out of bound access for sparsity format PiperOrigin-RevId: 416910386 Change-Id: Ic0b4dc048dc4b5a6309c572b8c4c9f776e4db60a
Karim Nosir
null
{'additions': 11, 'deletions': 7, 'total': 18}
[ { "additions": 11, "changes": 18, "deletions": 7, "patch": "@@ -282,10 +282,12 @@ void FormatConverter<T>::InitSparseToDenseConverter(\n block_size_.resize(block_map_.size());\n for (int i = 0; i < original_rank; i++) {\n if (block_dim < block_map_.size() && block_map_[block_dim] == i) {\n- ...
cc
CWE-787
[ "tensorflow/lite/kernels/internal/utils/sparsity_format_converter.cc" ]
tensorflow/lite/kernels/internal/utils/sparsity_format_converter.cc
1
def tags_for_index(model) elsif !query.include?(hashtag) query += " #{hashtag}" end out << link_to_function(tag, "crm.search_tagged('#{query}', '#{model.class.to_s.tableize}')", title: tag) end end
def tags_for_index(model) elsif !query.include?(hashtag) query += " #{hashtag}" end out << link_to_function(tag, "crm.search_tagged('#{escape_javascript(query)}', '#{model.class.to_s.tableize}')", title: tag) end end
GHSA-4p8f-mmfj-r45g
{'CWE-79'}
6.1
{'https://github.com/fatfreecrm/fat_free_crm/commit/6d60bc8ed010c4eda05d6645c64849f415f68d65'}
osv
Cross-site scripting in fat_free_crm Fat Free CRM before 0.18.1 has XSS in the tags_helper in app/helpers/tags_helper.rb.
2019-08-21
1
https://github.com/fatfreecrm/fat_free_crm
https://github.com/fatfreecrm/fat_free_crm/commit/6d60bc8ed010c4eda05d6645c64849f415f68d65
6d60bc8ed010c4eda05d6645c64849f415f68d65
SINGLE
['6d60bc8ed010c4eda05d6645c64849f415f68d65']
{'557fe238a65ca94ce21e3940724ab96e55e1b27d'}
6d60bc8ed010c4eda05d6645c64849f415f68d65
1
10/26/2018, 23:55:55
Context-sensitive XSS bugfix.
Antonin Steinhauser
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -17,7 +17,7 @@ def tags_for_index(model)\n elsif !query.include?(hashtag)\n query += \" #{hashtag}\"\n end\n- out << link_to_function(tag, \"crm.search_tagged('#{query}', '#{model.class.to_s.tableize}')\", title: t...
rb
CWE-79
[ "app/helpers/tags_helper.rb" ]
app/helpers/tags_helper.rb
1
use Facade\IgnitionContracts\RunnableSolution; use Illuminate\Support\Facades\Blade; class MakeViewVariableOptionalSolution implements RunnableSolution { public function run(array $parameters = []) } } public function makeOptional(array $parameters = []) { $originalContents = file_get_co...
use Facade\IgnitionContracts\RunnableSolution; use Illuminate\Support\Facades\Blade; use Illuminate\Support\Str; class MakeViewVariableOptionalSolution implements RunnableSolution { public function run(array $parameters = []) } } protected function isSafePath(string $path): bool { if (!S...
GHSA-4qwp-7c67-jmcc
{'CWE-94'}
9.8
{'https://github.com/facade/ignition/commit/11ffca14abd22db779d90b12e193f8000f6d184b'}
osv
Unauthenticated remote code execution in Ignition Ignition before 2.5.2, as used in Laravel and other products, allows unauthenticated remote attackers to execute arbitrary code because of insecure usage of file_get_contents() and file_put_contents(). This is exploitable on sites using debug mode with Laravel before 8....
2021-03-29
1
https://github.com/facade/ignition
https://github.com/facade/ignition/commit/11ffca14abd22db779d90b12e193f8000f6d184b
11ffca14abd22db779d90b12e193f8000f6d184b
SINGLE
['11ffca14abd22db779d90b12e193f8000f6d184b']
{'9fc6c3d3de5271a1b94cff19dce2c9295abf0ffa'}
11ffca14abd22db779d90b12e193f8000f6d184b
1
02/18/2021, 11:46:18
Fix MakeViewVariableOptionalSolution to disallow stream wrappers and files that do not end in .blade.php This is already fixed in 2.5.2, See https://github.com/facade/ignition/pull/334 I could not update to 2.5.2 due to some dependent package required php 7.3, currently clients site is running in php 7.2 On branch 2...
Anas Mirza
null
{'additions': 18, 'deletions': 0, 'total': 18}
[ { "additions": 18, "changes": 18, "deletions": 0, "patch": "@@ -4,6 +4,7 @@\n \n use Facade\\IgnitionContracts\\RunnableSolution;\n use Illuminate\\Support\\Facades\\Blade;\n+use Illuminate\\Support\\Str;\n \n class MakeViewVariableOptionalSolution implements RunnableSolution\n {\n@@ -70,8 +71,25 @@...
php
CWE-94
[ "src/Solutions/MakeViewVariableOptionalSolution.php" ]
src/Solutions/MakeViewVariableOptionalSolution.php
1
struct LaunchConv2DOp<CPUDevice, T> { const int64 out_depth = output->dim_size(3); const int64 patch_depth = filter.dim_size(2); if (in_depth % patch_depth != 0) { ctx->SetStatus(errors::InvalidArgument( "input depth must be evenly divisible by filter depth: ", in_depth, struct LaunchConv2...
struct LaunchConv2DOp<CPUDevice, T> { const int64 out_depth = output->dim_size(3); const int64 patch_depth = filter.dim_size(2); if (patch_depth <= 0) { ctx->SetStatus(errors::InvalidArgument( "filter depth must be stricly positive, got ", patch_depth)); return; } if (in_dept...
GHSA-4vf2-4xcg-65cx
{'CWE-369'}
2.5
{'https://github.com/tensorflow/tensorflow/commit/b12aa1d44352de21d1a6faaf04172d8c2508b42b'}
osv
Division by 0 in `Conv2D` ### Impact An attacker can trigger a division by 0 in `tf.raw_ops.Conv2D`: ```python import tensorflow as tf input = tf.constant([], shape=[0, 0, 0, 0], dtype=tf.float32) filter = tf.constant([], shape=[0, 0, 0, 0], dtype=tf.float32) strides = [1, 1, 1, 1] padding = "SAME" ...
2021-05-21
1
https://github.com/tensorflow/tensorflow
https://github.com/tensorflow/tensorflow/commit/b12aa1d44352de21d1a6faaf04172d8c2508b42b
b12aa1d44352de21d1a6faaf04172d8c2508b42b
SINGLE
['b12aa1d44352de21d1a6faaf04172d8c2508b42b']
{'988087bd83f144af14087fe4fecee2d250d93737'}
b12aa1d44352de21d1a6faaf04172d8c2508b42b
1
04/20/2021, 01:32:56
Fix one more FPE. PiperOrigin-RevId: 369346568 Change-Id: I840fd575962adc879713a4c9cc59e6da3331caa7
Mihai Maruseac
null
{'additions': 13, 'deletions': 0, 'total': 13}
[ { "additions": 13, "changes": 13, "deletions": 0, "patch": "@@ -260,6 +260,11 @@ struct LaunchConv2DOp<CPUDevice, T> {\n const int64 out_depth = output->dim_size(3);\n const int64 patch_depth = filter.dim_size(2);\n \n+ if (patch_depth <= 0) {\n+ ctx->SetStatus(errors::InvalidArgumen...
cc
CWE-369
[ "tensorflow/core/kernels/conv_ops.cc" ]
tensorflow/core/kernels/conv_ops.cc
1
struct Server { port_ranges: Vec<(u16, u16)>, } // latitude and longitude omitted #[derive(serde::Deserialize)] struct City { struct ServerList { impl ServerList { fn new(client: reqwest::blocking::Client, token: &str) -> Self { client .get(&format!("{}/vpn/servers", BASE_URL)) ...
struct Server { port_ranges: Vec<(u16, u16)>, } impl Server { fn validate_hostname(&self) -> bool { self.hostname .chars() .all(|c| c.is_ascii_alphanumeric() || c == '-') } } // latitude and longitude omitted #[derive(serde::Deserialize)] struct City { struct ServerList { ...
GHSA-4vhw-4rw7-jfpv
{'CWE-22'}
9.1
{'https://github.com/NilsIrl/MozWire/pull/17/commits/dd0639bf2876773b66382f47285f7db701f628d9'}
osv
Path traversal in mozwire An issue was discovered in the mozwire crate through 2020-08-18 for Rust. A ../ directory-traversal situation allows overwriting local files that have .conf at the end of the filename.
2021-08-25
1
https://github.com/NilsIrl/MozWire
https://github.com/NilsIrl/MozWire/pull/17/commits/dd0639bf2876773b66382f47285f7db701f628d9
dd0639bf2876773b66382f47285f7db701f628d9
SINGLE
['dd0639bf2876773b66382f47285f7db701f628d9']
{'1e58d8ba41268b36232e6830808565850ec65587'}
dd0639bf2876773b66382f47285f7db701f628d9
1
08/18/2020, 19:05:11
Validate server hostnames to prevent path traversal If Mozilla servers were compromised, hostnames could be used for path traversal attacks. The impact would be very low as it would only be possible to write wireguard configs. Fix #14
Nils
null
{'additions': 23, 'deletions': 2, 'total': 25}
[ { "additions": 23, "changes": 25, "deletions": 2, "patch": "@@ -106,6 +106,14 @@ struct Server {\n port_ranges: Vec<(u16, u16)>,\n }\n \n+impl Server {\n+ fn validate_hostname(&self) -> bool {\n+ self.hostname\n+ .chars()\n+ .all(|c| c.is_ascii_alphanumeric() || c...
rs
CWE-22
[ "src/main.rs" ]
src/main.rs
1
TfLiteStatus EvalSimple(TfLiteContext* context, TfLiteNode* node, const TfLiteTensor* lookup, const TfLiteTensor* value, TfLiteTensor* output) { const int row_size = SizeOfDimension(value, 0); const int row_bytes = value->bytes / row_size; char* output_raw = GetTe...
TfLiteStatus EvalSimple(TfLiteContext* context, TfLiteNode* node, const TfLiteTensor* lookup, const TfLiteTensor* value, TfLiteTensor* output) { const int row_size = SizeOfDimension(value, 0); if (row_size == 0) { // Propagate empty tensor if input is empty r...
GHSA-4vrf-ff7v-hpgr
{'CWE-369'}
2.5
{'https://github.com/tensorflow/tensorflow/commit/f61c57bd425878be108ec787f4d96390579fb83e'}
osv
Division by zero in TFLite's implementation of `EmbeddingLookup` The implementation of the `EmbeddingLookup` TFLite operator is [vulnerable to a division by zero error](https://github.com/tensorflow/tensorflow/blob/e4b29809543b250bc9b19678ec4776299dd569ba/tensorflow/lite/kernels/embedding_lookup.cc#L73-L74): ```cc con...
2021-05-21
1
https://github.com/tensorflow/tensorflow
https://github.com/tensorflow/tensorflow/commit/f61c57bd425878be108ec787f4d96390579fb83e
f61c57bd425878be108ec787f4d96390579fb83e
SINGLE
['f61c57bd425878be108ec787f4d96390579fb83e']
{'e4b29809543b250bc9b19678ec4776299dd569ba'}
f61c57bd425878be108ec787f4d96390579fb83e
1
04/28/2021, 19:57:00
Prevent division by 0 PiperOrigin-RevId: 370966645 Change-Id: I831bfd96c7eb77b02d7ebb744335f59f6e5728cb
Mihai Maruseac
null
{'additions': 4, 'deletions': 0, 'total': 4}
[ { "additions": 4, "changes": 4, "deletions": 0, "patch": "@@ -71,6 +71,10 @@ TfLiteStatus EvalSimple(TfLiteContext* context, TfLiteNode* node,\n const TfLiteTensor* lookup, const TfLiteTensor* value,\n TfLiteTensor* output) {\n const int row_size = S...
cc
CWE-369
[ "tensorflow/lite/kernels/embedding_lookup.cc" ]
tensorflow/lite/kernels/embedding_lookup.cc
1
function output(laureate) { class Parser { // Parse JSON data constructor(data) { this.laureates = eval(`(${data})`).laureates; } inYear(year) {
function output(laureate) { class Parser { // Parse JSON data constructor(data) { this.laureates = JSON.parse(data}).laureates; } inYear(year) {
GHSA-4wv4-mgfq-598v
{'CWE-94'}
0
{'https://github.com/AnneTheDev/nobelprize/commit/00639d375b0efd097bc1eca18d9dc021691b9286'}
osv
Code injection in nobelprizeparser Code injection through use of eval.
2021-03-12
1
https://github.com/AnneTheDev/nobelprize
https://github.com/AnneTheDev/nobelprize/commit/00639d375b0efd097bc1eca18d9dc021691b9286
00639d375b0efd097bc1eca18d9dc021691b9286
SINGLE
['00639d375b0efd097bc1eca18d9dc021691b9286']
{'23abc78c8bf9eddce8ec40f0ec7bbb586a3ebe9f', '29126617df6f313d81588d695d94982cba03d82e'}
00639d375b0efd097bc1eca18d9dc021691b9286
1
02/23/2021, 09:03:46
Merge pull request from GHSA-4wv4-mgfq-598v Replace eval with JSON.parse
AnneTheDev
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -10,7 +10,7 @@ function output(laureate) {\n class Parser {\n // Parse JSON data\n constructor(data) {\n- this.laureates = eval(`(${data})`).laureates;\n+ this.laureates = JSON.parse(data}).laureates;\n }\n \n ...
js
CWE-94
[ "lib/index.js" ]
lib/index.js
1
def key(request, wikiname=None, itemname=None, attachname=None, content=None, se return key def put(request, key, data, filename=None, content_type=None, def _do_remove(request, key): remove(request, key) def _do(request, do, key): if do == 'get': _do_get(request, key) elif ...
def key(request, wikiname=None, itemname=None, attachname=None, content=None, se return key def valid_key(key): # make sure the key looks like keys generated by key() if not isinstance(key, unicode): # key is None (not given in url args) or something unexpected return False try: ...
GHSA-52q8-877j-gghq
{'CWE-22'}
0
{'https://github.com/moinwiki/moin-1.9/commit/6b96a9060069302996b5af47fd4a388fc80172b7'}
osv
remote code execution via cache action in MoinMoin ### Impact The cache action in action/cache.py allows directory traversal through a crafted HTTP request. An attacker who can upload attachments to the wiki can use this to achieve remote code execution. ### Patches Users are strongly advised to upgrade to a patched v...
2020-11-11
1
https://github.com/moinwiki/moin-1.9
https://github.com/moinwiki/moin-1.9/commit/6b96a9060069302996b5af47fd4a388fc80172b7
6b96a9060069302996b5af47fd4a388fc80172b7
SINGLE
['6b96a9060069302996b5af47fd4a388fc80172b7']
{'d1e5fc7d3708d877353ca64dd4aa7cfd1cde4cb4', '31de9139d0aabc171e94032168399b4a0b2a88a2'}
6b96a9060069302996b5af47fd4a388fc80172b7
1
11/08/2020, 16:21:56
Merge pull request from GHSA-52q8-877j-gghq security: fix remote code execution via cache action, CVE-2020-25074
TW
null
{'additions': 20, 'deletions': 7, 'total': 27}
[ { "additions": 20, "changes": 27, "deletions": 7, "patch": "@@ -103,6 +103,19 @@ def key(request, wikiname=None, itemname=None, attachname=None, content=None, se\n return key\n \n \n+def valid_key(key):\n+ # make sure the key looks like keys generated by key()\n+ if not isinstance(key, uni...
py
CWE-22
[ "MoinMoin/action/cache.py" ]
MoinMoin/action/cache.py
1
struct LaunchMaxPoolingGradWithArgmax<CPUDevice, T> { const int input_start = start * input_size_per_batch; const int input_end = limit * input_size_per_batch; for (int64 index = input_start; index < input_end; index++) { int64 grad_out_index = argmax_flat(index); if (!inclu...
struct LaunchMaxPoolingGradWithArgmax<CPUDevice, T> { const int input_start = start * input_size_per_batch; const int input_end = limit * input_size_per_batch; for (int64 index = input_start; index < input_end; index++) { if (index >= argmax.NumElements()) { break; ...
GHSA-545v-42p7-98fq
{'CWE-125'}
2.5
{'https://github.com/tensorflow/tensorflow/commit/dcd7867de0fea4b72a2b34bd41eb74548dc23886'}
osv
Heap out of bounds read in `MaxPoolGradWithArgmax` ### Impact The implementation of `tf.raw_ops.MaxPoolGradWithArgmax` can cause reads outside of bounds of heap allocated data if attacker supplies specially crafted inputs: ```python import tensorflow as tf input = tf.constant([10.0, 10.0, 10.0], shape=[1, 1, 3, 1], d...
2021-05-21
1
https://github.com/tensorflow/tensorflow
https://github.com/tensorflow/tensorflow/commit/dcd7867de0fea4b72a2b34bd41eb74548dc23886
dcd7867de0fea4b72a2b34bd41eb74548dc23886
SINGLE
['dcd7867de0fea4b72a2b34bd41eb74548dc23886']
{'ef0c008ee84bad91ec6725ddc42091e19a30cf0e'}
dcd7867de0fea4b72a2b34bd41eb74548dc23886
1
05/05/2021, 15:38:03
Fix heap buffer overflow PiperOrigin-RevId: 372132844 Change-Id: Idef9895efaf145f2b1c23d31983601ec980cd5e4
Mihai Maruseac
null
{'additions': 3, 'deletions': 0, 'total': 3}
[ { "additions": 3, "changes": 3, "deletions": 0, "patch": "@@ -1014,6 +1014,9 @@ struct LaunchMaxPoolingGradWithArgmax<CPUDevice, T> {\n const int input_start = start * input_size_per_batch;\n const int input_end = limit * input_size_per_batch;\n for (int64 index = input_start...
cc
CWE-125
[ "tensorflow/core/kernels/maxpooling_op.cc" ]
tensorflow/core/kernels/maxpooling_op.cc
1
?> <li class="nav-item dropleft"> <a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><?php echo htmlspecialchars($UserData->name),' ',htmlspecialchars($UserData->surname)?></a> <div class="dropdown-menu" style="min-width: 25rem;" role="menu"> <div ...
?> <li class="nav-item dropleft"> <a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false" ng-non-bindable><?php echo htmlspecialchars($UserData->name),' ',htmlspecialchars($UserData->surname)?></a> <div class="dropdown-menu" style="min-width: 25rem;" role="menu"...
GHSA-54qq-9chj-rxhv
{'CWE-79'}
5.4
{'https://github.com/livehelperchat/livehelperchat/commit/8fdb4f67ac1a095331aa0fb4630ef9dfe8e75dcb'}
osv
Cross-site Scripting in LiveHelperChat LiveHelperChat prior to version 3.93 contains a cross-site scripting vulnerability.
2022-01-29
1
https://github.com/livehelperchat/livehelperchat
https://github.com/livehelperchat/livehelperchat/commit/8fdb4f67ac1a095331aa0fb4630ef9dfe8e75dcb
8fdb4f67ac1a095331aa0fb4630ef9dfe8e75dcb
SINGLE
['8fdb4f67ac1a095331aa0fb4630ef9dfe8e75dcb']
{'d7b85466c217b3750eaccc8703ce54ba8785c4d3'}
8fdb4f67ac1a095331aa0fb4630ef9dfe8e75dcb
1
01/27/2022, 20:08:18
Escape in user box
Remigijus Kiminas
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -12,7 +12,7 @@\n \n ?>\n <li class=\"nav-item dropleft\">\n- <a href=\"#\" class=\"nav-link dropdown-toggle\" data-toggle=\"dropdown\" role=\"button\" aria-expanded=\"false\"><?php echo htmlspecialchars($UserData->name),' ',htmlspecialc...
php
CWE-79
[ "lhc_web/design/defaulttheme/tpl/pagelayouts/parts/user_box.tpl.php" ]
lhc_web/design/defaulttheme/tpl/pagelayouts/parts/user_box.tpl.php
1
class PreviousMap { } getAnnotationURL(sourceMapString) { return sourceMapString.match(/\/\*\s*# sourceMappingURL=(.*)\*\//)[1].trim() } loadAnnotation(css) { let annotations = css.match(/\/\*\s*# sourceMappingURL=.*\*\//gm) if (annotations && annotations.length > 0) { // Locate the last s...
class PreviousMap { } getAnnotationURL(sourceMapString) { return sourceMapString.match(/\/\*\s*# sourceMappingURL=((?:(?!sourceMappingURL=).)*)\*\//)[1].trim() } loadAnnotation(css) { let annotations = css.match(/\/\*\s*# sourceMappingURL=(?:(?!sourceMappingURL=).)*\*\//gm) if (annotations && an...
GHSA-566m-qj78-rww5
{'CWE-400'}
5.3
{'https://github.com/postcss/postcss/commit/2b1d04c867995e55124e0a165b7c6622c1735956'}
osv
Regular Expression Denial of Service in postcss The package postcss versions before 7.0.36 or between 8.0.0 and 8.2.13 are vulnerable to Regular Expression Denial of Service (ReDoS) via getAnnotationURL() and loadAnnotation() in lib/previous-map.js. The vulnerable regexes are caused mainly by the sub-pattern \/\*\s* so...
2022-01-07
1
https://github.com/postcss/postcss
https://github.com/postcss/postcss/commit/2b1d04c867995e55124e0a165b7c6622c1735956
2b1d04c867995e55124e0a165b7c6622c1735956
SINGLE
['2b1d04c867995e55124e0a165b7c6622c1735956']
{'dc6cff1d7f9e0d6cba440d1b4f797a0f57b13595', '2ad1ca9b965dde32223bee28dc259c339cbaaa05'}
2b1d04c867995e55124e0a165b7c6622c1735956
1
04/26/2021, 12:08:17
Merge pull request #1567 from yetingli/main Fix ReDoS in previous-map
Andrey Sitnik
{'com_1': {'author': 'abergmann', 'datetime': '04/27/2021, 06:37:03', 'body': '[CVE-2021-23382](https://nvd.nist.gov/vuln/detail/CVE-2021-23382) was assigned to this commit.'}}
{'additions': 2, 'deletions': 2, 'total': 4}
[ { "additions": 2, "changes": 4, "deletions": 2, "patch": "@@ -48,11 +48,11 @@ class PreviousMap {\n }\n \n getAnnotationURL(sourceMapString) {\n- return sourceMapString.match(/\\/\\*\\s*# sourceMappingURL=(.*)\\*\\//)[1].trim()\n+ return sourceMapString.match(/\\/\\*\\s*# sourceMappingURL=...
js
CWE-400
[ "lib/previous-map.js" ]
lib/previous-map.js
1
import { atob, btoa } from "../libs/AtobBtoa.js"; var result = null; if (dataUrlParts.length === 2) { var extractedInfo = /^data:(\w*\/\w*);*(charset=[\w=-]*)*;*$/.exec( dataUrlParts[0] ); if (Array.isArray(extractedInfo)) {
import { atob, btoa } from "../libs/AtobBtoa.js"; var result = null; if (dataUrlParts.length === 2) { var extractedInfo = /^data:(\w*\/\w*);*(charset=(?!charset=)[\w=-]*)*;*$/.exec( dataUrlParts[0] ); if (Array.isArray(extractedInfo)) {
GHSA-57f3-gghm-9mhc
{'CWE-400'}
7.5
{'https://github.com/MrRio/jsPDF/commit/d8bb3b39efcd129994f7a3b01b632164144ec43e'}
osv
Regular Expression Denial of Service (ReDoS) This affects the package jspdf before 2.3.1. ReDoS is possible via the addImage function.
2021-03-12
1
https://github.com/MrRio/jsPDF
https://github.com/MrRio/jsPDF/commit/d8bb3b39efcd129994f7a3b01b632164144ec43e
d8bb3b39efcd129994f7a3b01b632164144ec43e
SINGLE
['d8bb3b39efcd129994f7a3b01b632164144ec43e']
{'c91995de97c598deaf6fda7109ea886a50f50109'}
d8bb3b39efcd129994f7a3b01b632164144ec43e
1
02/11/2021, 15:50:17
fix ReDoS-vulnerable regexp in addImage (#3091)
Yeting Li
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -630,7 +630,7 @@ import { atob, btoa } from \"../libs/AtobBtoa.js\";\n var result = null;\n \n if (dataUrlParts.length === 2) {\n- var extractedInfo = /^data:(\\w*\\/\\w*);*(charset=[\\w=-]*)*;*$/.exec(\n+ var extractedIn...
js
CWE-400
[ "src/modules/addimage.js" ]
src/modules/addimage.js
1
class UnicodeEncodeOp : public OpKernel { const Tensor& input_splits = context->input(1); const auto input_splits_flat = input_splits.flat<SPLITS_TYPE>(); // Since we limit to a 2-D input (flat_values of rank 1 and a single splits // tensor), our output dimension will be 1 with it's size equal to the ...
class UnicodeEncodeOp : public OpKernel { const Tensor& input_splits = context->input(1); const auto input_splits_flat = input_splits.flat<SPLITS_TYPE>(); // Operation will treat first argument in input_splits as if it were zero // regardless of its actual value since splits should begin with zero and...
GHSA-59q2-x2qc-4c97
{'CWE-125'}
2.5
{'https://github.com/tensorflow/tensorflow/commit/51300ba1cc2f487aefec6e6631fef03b0e08b298'}
osv
Heap OOB access in unicode ops ### Impact An attacker can access data outside of bounds of heap allocated array in `tf.raw_ops.UnicodeEncode`: ```python import tensorflow as tf input_values = tf.constant([58], shape=[1], dtype=tf.int32) input_splits = tf.constant([[81, 101, 0]], shape=[3], dtype=tf.int32) output_enco...
2021-05-21
1
https://github.com/tensorflow/tensorflow
https://github.com/tensorflow/tensorflow/commit/51300ba1cc2f487aefec6e6631fef03b0e08b298
51300ba1cc2f487aefec6e6631fef03b0e08b298
SINGLE
['51300ba1cc2f487aefec6e6631fef03b0e08b298']
{'472c1f12ad9063405737679d4f6bd43094e1d36d'}
51300ba1cc2f487aefec6e6631fef03b0e08b298
1
05/03/2021, 16:53:26
Fix heap buffer overflow in tf.raw_ops.UnicodeEncode. PiperOrigin-RevId: 371717714 Change-Id: If33443b28f158e58078f1268f6b92f2728d219e0
Laura Pak
null
{'additions': 19, 'deletions': 0, 'total': 19}
[ { "additions": 19, "changes": 19, "deletions": 0, "patch": "@@ -533,6 +533,17 @@ class UnicodeEncodeOp : public OpKernel {\n const Tensor& input_splits = context->input(1);\n const auto input_splits_flat = input_splits.flat<SPLITS_TYPE>();\n \n+ // Operation will treat first argument in i...
cc
CWE-125
[ "tensorflow/core/kernels/unicode_ops.cc" ]
tensorflow/core/kernels/unicode_ops.cc
1
Status ImmutableExecutorState::BuildControlFlowInfo(const Graph* g, } else if (IsExit(curr_node)) { // Exit to the parent frame. parent = parent_nodes[curr_id]; frame_name = cf_info->frame_names[parent->id()]; parent = parent_nodes[parent->id()]; } else {
Status ImmutableExecutorState::BuildControlFlowInfo(const Graph* g, } else if (IsExit(curr_node)) { // Exit to the parent frame. parent = parent_nodes[curr_id]; if (!parent) { return errors::InvalidArgument( "Invalid Exit op: Cannot find a corresponding Enter op."); } ...
GHSA-5crj-c72x-m7gq
{'CWE-476'}
5.5
{'https://github.com/tensorflow/tensorflow/commit/05cbebd3c6bb8f517a158b0155debb8df79017ff'}
osv
Null pointer exception when `Exit` node is not preceded by `Enter` op ### Impact The [process of building the control flow graph](https://github.com/tensorflow/tensorflow/blob/8d72537c6abf5a44103b57b9c2e22c14f5f49698/tensorflow/core/common_runtime/immutable_executor_state.cc#L284-L346) for a TensorFlow model is vulnera...
2021-11-10
1
https://github.com/tensorflow/tensorflow
https://github.com/tensorflow/tensorflow/commit/05cbebd3c6bb8f517a158b0155debb8df79017ff
05cbebd3c6bb8f517a158b0155debb8df79017ff
SINGLE
['05cbebd3c6bb8f517a158b0155debb8df79017ff']
{'3586950728a5e7cda93d9eeeedfec59ddb30883c'}
05cbebd3c6bb8f517a158b0155debb8df79017ff
1
10/18/2021, 23:17:46
Fix a NPE issue in invalid Exit op. Now it will report an error instead of crash. PiperOrigin-RevId: 404089902 Change-Id: Ia6ec55445ea70ad045a4d339d354959ad0618f2a
Xiao Yu
null
{'additions': 4, 'deletions': 0, 'total': 4}
[ { "additions": 4, "changes": 4, "deletions": 0, "patch": "@@ -316,6 +316,10 @@ Status ImmutableExecutorState::BuildControlFlowInfo(const Graph* g,\n } else if (IsExit(curr_node)) {\n // Exit to the parent frame.\n parent = parent_nodes[curr_id];\n+ if (!parent) {\n+ retur...
cc
CWE-476
[ "tensorflow/core/common_runtime/immutable_executor_state.cc" ]
tensorflow/core/common_runtime/immutable_executor_state.cc
1
function escapeEntities (value) { let i let j if (value === undefined || typeof value === 'boolean' || typeof value === 'object') { // Cannot escape on these values return value } else if (typeof value === 'number') { // Value is a number, no reason to escape return `${value}` } else { // Loop t...
function escapeEntities (value) { let i let j if (typeof value === 'object') { // Cannot escape on this value if (!value) { return false // it is falsey to return false } else if (Array.isArray(value)) { if (value.length === 0) { return false // empty arrays are falsey } else {...
GHSA-5f38-9jw2-6r6h
{'CWE-79', 'CWE-843'}
5.4
{'https://github.com/rooseveltframework/teddy/commit/64c556717b4879bf8d4c30067cf6e70d899a3dc0'}
osv
Cross-site Scripting in teddy Teddy is a readable and easy to learn templating language. This affects the package teddy before 0.5.9. A type confusion vulnerability can be used to bypass input sanitization when the model content is an array (instead of a string).
2021-10-12
1
https://github.com/rooseveltframework/teddy
https://github.com/rooseveltframework/teddy/commit/64c556717b4879bf8d4c30067cf6e70d899a3dc0
64c556717b4879bf8d4c30067cf6e70d899a3dc0
SINGLE
['64c556717b4879bf8d4c30067cf6e70d899a3dc0']
{'90387d97c7a8f458a08dd3b72a4b0574000af5f8', 'fea0b218069ff00f86f2b24f2fd08be01cd6b8c1'}
64c556717b4879bf8d4c30067cf6e70d899a3dc0
1
10/07/2021, 01:27:38
Merge pull request #518 from kethinov/refactor-escape-entities refactor escape entities for better type checking
Eric Newport
null
{'additions': 15, 'deletions': 4, 'total': 19}
[ { "additions": 15, "changes": 19, "deletions": 4, "patch": "@@ -96,10 +96,21 @@ function escapeEntities (value) {\n let i\n let j\n \n- if (value === undefined || typeof value === 'boolean' || typeof value === 'object') { // Cannot escape on these values\n- return value\n- } else if (typeof...
js
CWE-79
[ "utils.js" ]
utils.js
1
def check_forbidden(path_info) def list_directory(path_info, path, script_name) files = [['../', 'Parent Directory', '', '', '']] glob = ::File.join(path, '*') url_head = (script_name.split('/') + path_info.split('/')).map do |part| Rack::Utils.escape_path part end Dir[glob...
def check_forbidden(path_info) def list_directory(path_info, path, script_name) files = [['../', 'Parent Directory', '', '', '']] url_head = (script_name.split('/') + path_info.split('/')).map do |part| Rack::Utils.escape_path part end Dir.entries(path).reject { |e| e.start_with?...
GHSA-5f9h-9pjv-v6j7
{'CWE-22', 'CWE-548'}
8.6
{'https://github.com/rack/rack/commit/dddb7ad18ed79ca6ab06ccc417a169fde451246e'}
osv
Directory traversal in Rack::Directory app bundled with Rack A directory traversal vulnerability exists in rack < 2.2.0 that allows an attacker perform directory traversal vulnerability in the Rack::Directory app that is bundled with Rack which could result in information disclosure.
2020-07-06
1
https://github.com/rack/rack
https://github.com/rack/rack/commit/dddb7ad18ed79ca6ab06ccc417a169fde451246e
dddb7ad18ed79ca6ab06ccc417a169fde451246e
SINGLE
['dddb7ad18ed79ca6ab06ccc417a169fde451246e']
{'16a51d8e0b64964323c3719b8154106af5cc0feb'}
dddb7ad18ed79ca6ab06ccc417a169fde451246e
1
05/12/2020, 16:23:33
Use Dir.entries instead of Dir[glob] to prevent user-specified glob metacharacters [CVE-2020-8161]
Jack McCracken
null
{'additions': 1, 'deletions': 2, 'total': 3}
[ { "additions": 1, "changes": 3, "deletions": 2, "patch": "@@ -106,13 +106,12 @@ def check_forbidden(path_info)\n \n def list_directory(path_info, path, script_name)\n files = [['../', 'Parent Directory', '', '', '']]\n- glob = ::File.join(path, '*')\n \n url_head = (script_name....
rb
CWE-22
[ "lib/rack/directory.rb" ]
lib/rack/directory.rb
1
public function transformCheckedoutAccessory ($accessory, $accessory_users, $tot 'first_name'=> e($user->first_name), 'last_name'=> e($user->last_name), 'employee_number' => e($user->employee_num), 'checkout_notes' => $user->pivot->note, ...
public function transformCheckedoutAccessory ($accessory, $accessory_users, $tot 'first_name'=> e($user->first_name), 'last_name'=> e($user->last_name), 'employee_number' => e($user->employee_num), 'checkout_notes' => e($user->pivot->note), ...
GHSA-5fh3-25xr-g85h
{'CWE-79'}
5.4
{'https://github.com/snipe/snipe-it/commit/ff81e6d5366c2cfb15618793ad919ae4cbb3ac57'}
osv
snipe-it is vulnerable to Cross-site Scripting snipe-it is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
2021-12-03
1
https://github.com/snipe/snipe-it
https://github.com/snipe/snipe-it/commit/ff81e6d5366c2cfb15618793ad919ae4cbb3ac57
ff81e6d5366c2cfb15618793ad919ae4cbb3ac57
SINGLE
['ff81e6d5366c2cfb15618793ad919ae4cbb3ac57']
{'3b68a6f1befeef504c0a3263e87a2afd55abc430', '00fad35c2a6ddc9813d3322da91086eb06cb7406'}
ff81e6d5366c2cfb15618793ad919ae4cbb3ac57
1
11/25/2021, 03:56:36
Merge pull request #10361 from snipe/fixes/xss_in_accessories_checkout_notes Escape notes in transformCheckedOutAccessory
snipe
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -82,7 +82,7 @@ public function transformCheckedoutAccessory ($accessory, $accessory_users, $tot\n 'first_name'=> e($user->first_name),\n 'last_name'=> e($user->last_name),\n 'employee_number'...
php
CWE-79
[ "app/Http/Transformers/AccessoriesTransformer.php" ]
app/Http/Transformers/AccessoriesTransformer.php
1
import ( "strings" "time" gouuid "github.com/satori/go.uuid" "github.com/unknwon/com" "github.com/gogs/git-module" "gogs.io/gogs/internal/conf" "gogs.io/gogs/internal/cryptoutil" "gogs.io/gogs/internal/db/errors" "gogs.io/gogs/internal/gitutil" "gogs.io/gogs/internal/osutil" "gogs.io/gogs/internal/proces...
import ( "strings" "time" "github.com/pkg/errors" gouuid "github.com/satori/go.uuid" "github.com/unknwon/com" "github.com/gogs/git-module" "gogs.io/gogs/internal/conf" "gogs.io/gogs/internal/cryptoutil" dberrors "gogs.io/gogs/internal/db/errors" "gogs.io/gogs/internal/gitutil" "gogs.io/gogs/internal/osut...
GHSA-5gjh-5j4f-cpwv
{'CWE-434', 'CWE-20'}
8.8
{'https://github.com/gogs/gogs/commit/0fef3c9082269e9a4e817274942a5d7c50617284'}
osv
Unrestricted Upload of File with Dangerous Type in Gogs ### Impact The malicious user is able to upload a crafted `config` file into repository's `.git` directory with to gain SSH access to the server. All installations with [repository upload enabled (default)](https://github.com/gogs/gogs/blob/f36eeedbf89328ee70cc3a...
2022-03-28
1
https://github.com/gogs/gogs
https://github.com/gogs/gogs/commit/0fef3c9082269e9a4e817274942a5d7c50617284
0fef3c9082269e9a4e817274942a5d7c50617284
SINGLE
['0fef3c9082269e9a4e817274942a5d7c50617284']
{'5aca56d2ddafad347dd670f4004ebf367c2c84ef'}
0fef3c9082269e9a4e817274942a5d7c50617284
1
03/13/2022, 14:18:56
repo_editor: check upload `TreePath` and file name (#6838)
Joe Chen
null
{'additions': 13, 'deletions': 4, 'total': 17}
[ { "additions": 13, "changes": 17, "deletions": 4, "patch": "@@ -16,16 +16,18 @@ import (\n \t\"strings\"\n \t\"time\"\n \n+\t\"github.com/pkg/errors\"\n \tgouuid \"github.com/satori/go.uuid\"\n \t\"github.com/unknwon/com\"\n \n \t\"github.com/gogs/git-module\"\n \n \t\"gogs.io/gogs/internal/conf\"\n...
go
CWE-20
[ "internal/db/repo_editor.go" ]
internal/db/repo_editor.go
1
import ( "strings" "time" gouuid "github.com/satori/go.uuid" "github.com/unknwon/com" "github.com/gogs/git-module" "gogs.io/gogs/internal/conf" "gogs.io/gogs/internal/cryptoutil" "gogs.io/gogs/internal/db/errors" "gogs.io/gogs/internal/gitutil" "gogs.io/gogs/internal/osutil" "gogs.io/gogs/internal/proces...
import ( "strings" "time" "github.com/pkg/errors" gouuid "github.com/satori/go.uuid" "github.com/unknwon/com" "github.com/gogs/git-module" "gogs.io/gogs/internal/conf" "gogs.io/gogs/internal/cryptoutil" dberrors "gogs.io/gogs/internal/db/errors" "gogs.io/gogs/internal/gitutil" "gogs.io/gogs/internal/osut...
GHSA-5gjh-5j4f-cpwv
{'CWE-434', 'CWE-20'}
8.8
{'https://github.com/gogs/gogs/commit/0fef3c9082269e9a4e817274942a5d7c50617284'}
osv
Unrestricted Upload of File with Dangerous Type in Gogs ### Impact The malicious user is able to upload a crafted `config` file into repository's `.git` directory with to gain SSH access to the server. All installations with [repository upload enabled (default)](https://github.com/gogs/gogs/blob/f36eeedbf89328ee70cc3a...
2022-03-28
1
https://github.com/gogs/gogs
https://github.com/gogs/gogs/commit/0fef3c9082269e9a4e817274942a5d7c50617284
0fef3c9082269e9a4e817274942a5d7c50617284
SINGLE
['0fef3c9082269e9a4e817274942a5d7c50617284']
{'5aca56d2ddafad347dd670f4004ebf367c2c84ef'}
0fef3c9082269e9a4e817274942a5d7c50617284
1
03/13/2022, 14:18:56
repo_editor: check upload `TreePath` and file name (#6838)
Joe Chen
null
{'additions': 13, 'deletions': 4, 'total': 17}
[ { "additions": 13, "changes": 17, "deletions": 4, "patch": "@@ -16,16 +16,18 @@ import (\n \t\"strings\"\n \t\"time\"\n \n+\t\"github.com/pkg/errors\"\n \tgouuid \"github.com/satori/go.uuid\"\n \t\"github.com/unknwon/com\"\n \n \t\"github.com/gogs/git-module\"\n \n \t\"gogs.io/gogs/internal/conf\"\n...
go
CWE-434
[ "internal/db/repo_editor.go" ]
internal/db/repo_editor.go
1
Status ModelWeights::Initialize(OpKernelContext* const context) { OpInputList sparse_weights_inputs; TF_RETURN_IF_ERROR( context->input_list("sparse_weights", &sparse_weights_inputs)); OpInputList dense_weights_inputs; TF_RETURN_IF_ERROR( context->input_list("dense_weights", &dense_weights_inputs))...
Status ModelWeights::Initialize(OpKernelContext* const context) { OpInputList sparse_weights_inputs; TF_RETURN_IF_ERROR( context->input_list("sparse_weights", &sparse_weights_inputs)); if (sparse_indices_inputs.size() != sparse_weights_inputs.size()) return errors::InvalidArgument( "sparse_indi...
GHSA-5gqf-456p-4836
{'CWE-476'}
2.5
{'https://github.com/tensorflow/tensorflow/commit/f7cc8755ac6683131fdfa7a8a121f9d7a9dec6fb'}
osv
Reference binding to nullptr in `SdcaOptimizer` ### Impact The implementation of `tf.raw_ops.SdcaOptimizer` triggers undefined behavior due to dereferencing a null pointer: ```python import tensorflow as tf sparse_example_indices = [tf.constant((0), dtype=tf.int64), tf.constant((0), dtype=tf.int64)] sparse_feature_in...
2021-05-21
1
https://github.com/tensorflow/tensorflow
https://github.com/tensorflow/tensorflow/commit/f7cc8755ac6683131fdfa7a8a121f9d7a9dec6fb
f7cc8755ac6683131fdfa7a8a121f9d7a9dec6fb
SINGLE
['f7cc8755ac6683131fdfa7a8a121f9d7a9dec6fb']
{'60a45c8b6192a4699f2e2709a2645a751d435cc3'}
f7cc8755ac6683131fdfa7a8a121f9d7a9dec6fb
1
05/05/2021, 18:40:50
Add several missing validations in SDCA PiperOrigin-RevId: 372172877 Change-Id: Id366da962432e18dcbfac847d11e98488bebb70a
Mihai Maruseac
null
{'additions': 36, 'deletions': 0, 'total': 36}
[ { "additions": 36, "changes": 36, "deletions": 0, "patch": "@@ -99,17 +99,31 @@ Status ModelWeights::Initialize(OpKernelContext* const context) {\n OpInputList sparse_weights_inputs;\n TF_RETURN_IF_ERROR(\n context->input_list(\"sparse_weights\", &sparse_weights_inputs));\n+ if (sparse_in...
cc
CWE-476
[ "tensorflow/core/kernels/sdca_internal.cc" ]
tensorflow/core/kernels/sdca_internal.cc
1
Status Examples::Initialize(OpKernelContext* const context, const Tensor* example_labels_t; TF_RETURN_IF_ERROR(context->input("example_labels", &example_labels_t)); auto example_labels = example_labels_t->flat<float>(); OpInputList dense_features_inputs; TF_RETURN_IF_ERROR(
Status Examples::Initialize(OpKernelContext* const context, const Tensor* example_labels_t; TF_RETURN_IF_ERROR(context->input("example_labels", &example_labels_t)); auto example_labels = example_labels_t->flat<float>(); if (example_labels.size() != num_examples) { return errors::InvalidArgument("Expected "...
GHSA-5hj3-vjjf-f5m7
{'CWE-125'}
5.5
{'https://github.com/tensorflow/tensorflow/commit/a4e138660270e7599793fa438cd7b2fc2ce215a6'}
osv
Heap OOB in `SdcaOptimizerV2` ### Impact An attacker can read from outside of bounds of heap allocated data by sending specially crafted illegal arguments to `tf.raw_ops.SdcaOptimizerV2`: ```python import tensorflow as tf tf.raw_ops.SdcaOptimizerV2( sparse_example_indices=[[1]], sparse_feature_indices=[[1]], ...
2021-08-25
1
https://github.com/tensorflow/tensorflow
https://github.com/tensorflow/tensorflow/commit/a4e138660270e7599793fa438cd7b2fc2ce215a6
a4e138660270e7599793fa438cd7b2fc2ce215a6
SINGLE
['a4e138660270e7599793fa438cd7b2fc2ce215a6']
{'578e634b4f1c1c684d4b4294f9e5281b2133b3ed'}
a4e138660270e7599793fa438cd7b2fc2ce215a6
1
07/30/2021, 05:24:27
Add remaining validation to `sdca_internal.cc` PiperOrigin-RevId: 387738010 Change-Id: I28eedcfd87a53aaf34deb075acea1f8c95470808
Mihai Maruseac
null
{'additions': 5, 'deletions': 0, 'total': 5}
[ { "additions": 5, "changes": 5, "deletions": 0, "patch": "@@ -380,6 +380,11 @@ Status Examples::Initialize(OpKernelContext* const context,\n const Tensor* example_labels_t;\n TF_RETURN_IF_ERROR(context->input(\"example_labels\", &example_labels_t));\n auto example_labels = example_labels_t->fl...
cc
CWE-125
[ "tensorflow/core/kernels/sdca_internal.cc" ]
tensorflow/core/kernels/sdca_internal.cc
1
internals.batch = function (batchRequest, resultsData, pos, parts, callback) { var ref = resultsData.resultsMap[parts[i].index]; if (ref) { var value = null; try { eval('value = ref.' + parts[i].value + ';'); } ...
internals.batch = function (batchRequest, resultsData, pos, parts, callback) { var ref = resultsData.resultsMap[parts[i].index]; if (ref) { var value = ref[parts[i].value]||null; if (value) { if (value.match && value.match(/^[\w:]+$/)) { ...
GHSA-5j3g-jfq3-7jwx
{'CWE-94'}
0
{'https://github.com/hapijs/bassmaster/commit/b751602d8cb7194ee62a61e085069679525138c4'}
osv
Arbitrary JavaScript Execution in bassmaster A vulnerability exists in bassmaster <= 1.5.1 that allows for an attacker to provide arbitrary JavaScript that is then executed server side via eval. ## Recommendation Update to bassmaster version 1.5.2 or greater.
2017-10-24
1
https://github.com/hapijs/bassmaster
https://github.com/hapijs/bassmaster/commit/b751602d8cb7194ee62a61e085069679525138c4
b751602d8cb7194ee62a61e085069679525138c4
SINGLE
['b751602d8cb7194ee62a61e085069679525138c4']
{'83f02417beab924ce2fe6ee7d6fcfab11d2dafd5'}
b751602d8cb7194ee62a61e085069679525138c4
1
09/25/2014, 23:06:07
Remove eval statement
nvcexploder
null
{'additions': 2, 'deletions': 8, 'total': 10}
[ { "additions": 2, "changes": 10, "deletions": 8, "patch": "@@ -146,16 +146,10 @@ internals.batch = function (batchRequest, resultsData, pos, parts, callback) {\n var ref = resultsData.resultsMap[parts[i].index];\n \n if (ref) {\n- var value = null;\n-\n- ...
js
CWE-94
[ "lib/batch.js" ]
lib/batch.js
1
public static function isImage($file_path) return false; } /** * Retrieve a file by ID *
public static function isImage($file_path) return false; } /** * Detects whether the file contains PHP or script tags, eg to check for embedded code in GIFs * @param $file_path * @return bool */ public static function isFileFreeFromScriptTags($fi...
GHSA-5jgj-h9wp-53fr
{'CWE-79'}
6.1
{'https://github.com/idno/known/commit/80b716a8392fb71cfce84d03aaf7c045c62f6350'}
osv
Known vulnerable to code execution via SVG file in v1.3.1 An issue in the isSVG() function of Known v1.3.1 allows attackers to execute arbitrary code via a crafted SVG file. The researcher report indicates that versions 1.3.1 and prior are vulnerable. Version 1.2.2 is the last version tagged on GitHub and in Packagist...
2022-07-09
1
https://github.com/idno/known
https://github.com/idno/known/commit/80b716a8392fb71cfce84d03aaf7c045c62f6350
80b716a8392fb71cfce84d03aaf7c045c62f6350
SINGLE
['80b716a8392fb71cfce84d03aaf7c045c62f6350']
{'e86e779cf1db93cd488ee578e92a16008132a114'}
80b716a8392fb71cfce84d03aaf7c045c62f6350
1
11/18/2021, 15:44:26
Checking for script tags in GIFs etc (#3017)
Ben Werdmuller
null
{'additions': 14, 'deletions': 0, 'total': 14}
[ { "additions": 14, "changes": 14, "deletions": 0, "patch": "@@ -285,6 +285,20 @@ public static function isImage($file_path)\n return false;\n }\n \n+ /**\n+ * Detects whether the file contains PHP or script tags, eg to check for embedded code in GIFs\n+ * @...
php
CWE-79
[ "Idno/Entities/File.php" ]
Idno/Entities/File.php
1
// Make sure the fileName is unique but only if chunking is disabled if ($chunks < 2 && file_exists($targetDir . DIRECTORY_SEPARATOR . $fileName)) { $ext = strrpos($fileName, '.'); $fileName_a = substr($fileName, 0, $ext); $fileName_b = substr($fileName, $ext); $count = 1; while (file_exists($targ...
// Make sure the fileName is unique but only if chunking is disabled if ($chunks < 2 && file_exists($targetDir . DIRECTORY_SEPARATOR . $fileName)) { $ext = strrpos($fileName, '.'); $fileName_a = substr($fileName, 0, $ext); $fileName_b = substr($fileName, $ext); $fileName_b = strtolower($fileName_b); ...
GHSA-5pg2-qg87-vmj7
{'CWE-79'}
5.4
{'https://github.com/microweber/microweber/commit/9ebbb4dd35da74025ab6965f722829a7f8f86566'}
osv
Cross-site Scripting in microweber Cross-site Scripting (XSS) - Stored in GitHub repository microweber/microweber prior to 1.2.19.
2022-07-02
1
https://github.com/microweber/microweber
https://github.com/microweber/microweber/commit/9ebbb4dd35da74025ab6965f722829a7f8f86566
9ebbb4dd35da74025ab6965f722829a7f8f86566
SINGLE
['9ebbb4dd35da74025ab6965f722829a7f8f86566']
{'c2991b3a44896320a834a4b611257db587129645'}
9ebbb4dd35da74025ab6965f722829a7f8f86566
1
07/01/2022, 08:07:47
update
Peter Ivanov
null
{'additions': 4, 'deletions': 1, 'total': 5}
[ { "additions": 4, "changes": 5, "deletions": 1, "patch": "@@ -336,9 +336,12 @@\n // Make sure the fileName is unique but only if chunking is disabled\n if ($chunks < 2 && file_exists($targetDir . DIRECTORY_SEPARATOR . $fileName)) {\n $ext = strrpos($fileName, '.');\n+\n $fileName_a = substr(...
php
CWE-79
[ "src/MicroweberPackages/App/functions/plupload.php" ]
src/MicroweberPackages/App/functions/plupload.php
1
var jenkinsRules = { }; ac.prehighlightClassName = "yui-ac-prehighlight"; ac.animSpeed = 0; ac.useShadow = true; ac.autoSnapContainer = true; ac.delimChar = e.getAttribute("autoCompleteDelimChar");
var jenkinsRules = { }; ac.prehighlightClassName = "yui-ac-prehighlight"; ac.animSpeed = 0; ac.formatResult = ac.formatEscapedResult; ac.useShadow = true; ac.autoSnapContainer = true; ac.delimChar = e.getAttribute("autoCompleteDelimChar");
GHSA-5ppx-rgw2-xg23
{'CWE-79'}
4.8
{'https://github.com/jenkinsci/jenkins/commit/f67068170b55633571e5462e52b6124b23d7cb84'}
osv
Improper Neutralization of Input During Web Page Generation in Jenkins Jenkins 2.88 and earlier; 2.73.2 and earlier Autocompletion suggestions for text fields were not escaped, resulting in a persisted cross-site scripting vulnerability if the source for the suggestions allowed specifying text that includes HTML metach...
2022-05-14
1
https://github.com/jenkinsci/jenkins
https://github.com/jenkinsci/jenkins/commit/f67068170b55633571e5462e52b6124b23d7cb84
f67068170b55633571e5462e52b6124b23d7cb84
SINGLE
['f67068170b55633571e5462e52b6124b23d7cb84']
{'566a8ddb885f0bef9bc848e60455c0aabbf0c1d3'}
f67068170b55633571e5462e52b6124b23d7cb84
1
10/24/2017, 16:01:03
[SECURITY-641] Escape autocompletion suggestions
Daniel Beck
null
{'additions': 1, 'deletions': 0, 'total': 1}
[ { "additions": 1, "changes": 1, "deletions": 0, "patch": "@@ -712,6 +712,7 @@ var jenkinsRules = {\n };\n ac.prehighlightClassName = \"yui-ac-prehighlight\";\n ac.animSpeed = 0;\n+ ac.formatResult = ac.formatEscapedResult;\n ac.useShadow = true;\n ac.au...
js
CWE-79
[ "war/src/main/webapp/scripts/hudson-behavior.js" ]
war/src/main/webapp/scripts/hudson-behavior.js
1
public function rules() 'quantity' => ['required', 'integer', 'min:0'], 'price' => ['required', 'numeric', 'min:0'], 'sale_price' => ['nullable', 'numeric'], 'weight' => ['nullable', 'numeric', 'min:0'] ]; } }
public function rules() 'quantity' => ['required', 'integer', 'min:0'], 'price' => ['required', 'numeric', 'min:0'], 'sale_price' => ['nullable', 'numeric'], 'weight' => ['nullable', 'numeric', 'min:0'], 'image' => 'image|mimes:jpeg,png,jpg,gif,svg|max:2048',...
GHSA-5q5w-mqp6-g2gh
{'CWE-434', 'CWE-79'}
5.4
{'https://github.com/jsdecena/laracom/commit/256026193ce994dc4c1365e02f414d8a0cd77ae8'}
osv
Unrestricted Upload of File with Dangerous Type in jsdecena/laracom jsdecena/laracom prior to version 2.0.9 is vulnerable to Unrestricted Upload of File with Dangerous Type.
2022-02-06
1
https://github.com/jsdecena/laracom
https://github.com/jsdecena/laracom/commit/256026193ce994dc4c1365e02f414d8a0cd77ae8
256026193ce994dc4c1365e02f414d8a0cd77ae8
SINGLE
['256026193ce994dc4c1365e02f414d8a0cd77ae8']
{'8ef50622cb9c696d79a7a6b37e9b43266da6545d'}
256026193ce994dc4c1365e02f414d8a0cd77ae8
1
02/01/2022, 22:16:55
Fix vulnerability report from hunter.dev
Roland Jeffrey Decena
null
{'additions': 3, 'deletions': 1, 'total': 4}
[ { "additions": 3, "changes": 4, "deletions": 1, "patch": "@@ -20,7 +20,9 @@ public function rules()\n 'quantity' => ['required', 'integer', 'min:0'],\n 'price' => ['required', 'numeric', 'min:0'],\n 'sale_price' => ['nullable', 'numeric'],\n- 'weight' =...
php
CWE-434
[ "project/app/Shop/Products/Requests/UpdateProductRequest.php" ]
project/app/Shop/Products/Requests/UpdateProductRequest.php
1