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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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-79 | [
"project/app/Shop/Products/Requests/UpdateProductRequest.php"
] | project/app/Shop/Products/Requests/UpdateProductRequest.php | 1 |
var chalk = require('chalk'); var execSync = require('child_process').execSync; var path = require('path'); var execOptions = { function isProcessAReactApp(processCommand) { } function getProcessIdOnPort(port) { return execSync('lsof -i:' + port + ' -P -t -sTCP:LISTEN', execOptions) .split('\n')[0] .trim(... | var chalk = require('chalk'); var execSync = require('child_process').execSync; var execFileSync = require('child_process').execFileSync; var path = require('path'); var execOptions = { function isProcessAReactApp(processCommand) { } function getProcessIdOnPort(port) { return execFileSync('lsof', ['-i:' + port, '... | GHSA-5q6m-3h65-w53x | {'CWE-78'} | 5.6 | {'https://github.com/facebook/create-react-app/commit/f5e415f3a5b66f07dcc60aba1b445fa7cda97268'} | osv | react-dev-utils OS Command Injection in function `getProcessForPort` react-dev-utils prior to v11.0.4 exposes a function, `getProcessForPort`, where an input argument is concatenated into a command string to be executed. This function is typically used from react-scripts (in Create React App projects), where the usage ... | 2021-03-11 | 1 | https://github.com/facebook/create-react-app | https://github.com/facebook/create-react-app/commit/f5e415f3a5b66f07dcc60aba1b445fa7cda97268 | f5e415f3a5b66f07dcc60aba1b445fa7cda97268 | SINGLE | ['f5e415f3a5b66f07dcc60aba1b445fa7cda97268'] | {'22f46a8d5dfc46fe0f613cd7efbc82344823f461'} | f5e415f3a5b66f07dcc60aba1b445fa7cda97268 | 1 | 03/08/2021, 19:03:16 | Security Fix for Command Injection - huntr.dev (#10644)
* Update getProcessForPort.js
* Update getProcessForPort.js
Co-authored-by: Zhou Peng <zpbrent@gmail.com>
Co-authored-by: Dan Abramov <dan.abramov@gmail.com> | huntr.dev | the place to protect open source | null | {'additions': 2, 'deletions': 1, 'total': 3} | [
{
"additions": 2,
"changes": 3,
"deletions": 1,
"patch": "@@ -9,6 +9,7 @@\n \n var chalk = require('chalk');\n var execSync = require('child_process').execSync;\n+var execFileSync = require('child_process').execFileSync;\n var path = require('path');\n \n var execOptions = {\n@@ -25,7 +26,7 @@ funct... | js | CWE-78 | [
"packages/react-dev-utils/getProcessForPort.js"
] | packages/react-dev-utils/getProcessForPort.js | 1 |
class SymbolicShapeRefiner { GetUnknownOutputShape(node, output_port); InferenceContext* ctx = GetContext(node); if (ctx == nullptr) { return errors::InvalidArgument("Missing context"); } ctx->set_output(output_port, shape); return Status::OK(); | class SymbolicShapeRefiner { GetUnknownOutputShape(node, output_port); InferenceContext* ctx = GetContext(node); if (ctx == nullptr) { return errors::InvalidArgument("SetUnknownShape: Missing context"); } if (output_port < 0 || output_port >= ctx->num_outputs()) { return errors::Inv... | GHSA-5qw5-89mw-wcg2 | {'CWE-787'} | 8.8 | {'https://github.com/tensorflow/tensorflow/commit/97282c6d0d34476b6ba033f961590b783fa184cd'} | osv | Out of bounds write in Tensorflow ### Impact
TensorFlow is vulnerable to a heap OOB write in [Grappler](https://github.com/tensorflow/tensorflow/blob/a1320ec1eac186da1d03f033109191f715b2b130/tensorflow/core/grappler/costs/graph_properties.cc#L1132-L1141):
```cc
Status SetUnknownShape(const NodeDef* node, int output_po... | 2022-02-09 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/97282c6d0d34476b6ba033f961590b783fa184cd | 97282c6d0d34476b6ba033f961590b783fa184cd | SINGLE | ['97282c6d0d34476b6ba033f961590b783fa184cd'] | {'557a09455bc98108bc29b3b78e818f9d7dca920f'} | 97282c6d0d34476b6ba033f961590b783fa184cd | 1 | 11/08/2021, 13:48:40 | Prevent a crash due to heap OOB write in grappler.
PiperOrigin-RevId: 408318417
Change-Id: If095feb8c001e3a8ac4a85b7387b81e8309df47d | Mihai Maruseac | null | {'additions': 6, 'deletions': 1, 'total': 7} | [
{
"additions": 6,
"changes": 7,
"deletions": 1,
"patch": "@@ -1134,7 +1134,12 @@ class SymbolicShapeRefiner {\n GetUnknownOutputShape(node, output_port);\n InferenceContext* ctx = GetContext(node);\n if (ctx == nullptr) {\n- return errors::InvalidArgument(\"Missing context\");\n... | cc | CWE-787 | [
"tensorflow/core/grappler/costs/graph_properties.cc"
] | tensorflow/core/grappler/costs/graph_properties.cc | 1 |
func reqRepoWriter() macaron.Handler { } } func orgAssignment(args ...bool) macaron.Handler { var ( assignOrg bool func RegisterRoutes(m *macaron.Macaron) { Post(bind(api.CreateHookOption{}), repo.CreateHook) m.Combo("/:id").Patch(bind(api.EditHookOption{}), repo.EditHook). Delete(repo.DeleteHoo... | func reqRepoWriter() macaron.Handler { } } func reqRepoAdmin() macaron.Handler { return func(c *context.Context) { if !c.Repo.IsAdmin() { c.Error(http.StatusForbidden) return } } } func orgAssignment(args ...bool) macaron.Handler { var ( assignOrg bool func RegisterRoutes(m *macaron.Macaron) { ... | GHSA-5r2v-6gm6-vpvh | {'CWE-200'} | 9.8 | {'https://github.com/gogs/gogs/commit/c3af3ff1d0484de3bd789ee6c6e47f35d590e945'} | osv | Insecure Permissions in Gogs routes/api/v1/api.go in Gogs 0.11.86 lacks permission checks for routes: deploy keys, collaborators, and hooks. | 2021-05-18 | 1 | https://github.com/gogs/gogs | https://github.com/gogs/gogs/commit/c3af3ff1d0484de3bd789ee6c6e47f35d590e945 | c3af3ff1d0484de3bd789ee6c6e47f35d590e945 | SINGLE | ['c3af3ff1d0484de3bd789ee6c6e47f35d590e945'] | {'1592e578ed3ac7190baed6165b093002b931520c'} | c3af3ff1d0484de3bd789ee6c6e47f35d590e945 | 1 | 08/02/2019, 01:36:05 | routes/api: fix permission checks for routes
Reported by @ManassehZhou #5764 | unknwon | null | {'additions': 14, 'deletions': 5, 'total': 19} | [
{
"additions": 14,
"changes": 19,
"deletions": 5,
"patch": "@@ -112,6 +112,15 @@ func reqRepoWriter() macaron.Handler {\n \t}\n }\n \n+func reqRepoAdmin() macaron.Handler {\n+\treturn func(c *context.Context) {\n+\t\tif !c.Repo.IsAdmin() {\n+\t\t\tc.Error(http.StatusForbidden)\n+\t\t\treturn\n+\t\t}... | go | CWE-200 | [
"routes/api/v1/api.go"
] | routes/api/v1/api.go | 1 |
NAN_METHOD(DetectCharacterEncoding) { if(U_FAILURE(errorCode)) { Nan::ThrowError("Failed to set ICU charset detector’s text."); return; } charsetMatch = ucsdet_detect(charsetDetector, &errorCode); if(U_FAILURE(errorCode)) { Nan::ThrowError("Failed to detect charset."); return; } const char *charsetNa... | NAN_METHOD(DetectCharacterEncoding) { if(U_FAILURE(errorCode)) { Nan::ThrowError("Failed to set ICU charset detector’s text."); ucsdet_close(charsetDetector); return; } charsetMatch = ucsdet_detect(charsetDetector, &errorCode); if(U_FAILURE(errorCode)) { Nan::ThrowError("Failed to detect charset."); u... | GHSA-5rwj-j5m3-3chj | {'CWE-401'} | 7.5 | {'https://github.com/sonicdoe/detect-character-encoding/commit/d44356927b92e3b13e178071bf6d7c671766f588'} | osv | Missing Release of Memory after Effective Lifetime in detect-character-encoding ### Impact
In detect-character-encoding v0.3.0 and earlier, allocated memory is not released.
### Patches
The problem has been patched in [detect-character-encoding v0.3.1](https://github.com/sonicdoe/detect-character-encoding/releases/t... | 2021-09-01 | 1 | https://github.com/sonicdoe/detect-character-encoding | https://github.com/sonicdoe/detect-character-encoding/commit/d44356927b92e3b13e178071bf6d7c671766f588 | d44356927b92e3b13e178071bf6d7c671766f588 | SINGLE | ['d44356927b92e3b13e178071bf6d7c671766f588'] | {'2e3aa333a573960edf2d782bca3b25a01e49678b'} | d44356927b92e3b13e178071bf6d7c671766f588 | 1 | 03/09/2017, 18:19:58 | Fix memory leak by properly closing `charsetDetector` | Michael Hertsch | null | {'additions': 5, 'deletions': 0, 'total': 5} | [
{
"additions": 5,
"changes": 5,
"deletions": 0,
"patch": "@@ -28,27 +28,31 @@ NAN_METHOD(DetectCharacterEncoding) {\n \n \tif(U_FAILURE(errorCode)) {\n \t\tNan::ThrowError(\"Failed to set ICU charset detector’s text.\");\n+\t\tucsdet_close(charsetDetector);\n \t\treturn;\n \t}\n \n \tcharsetMatch = ... | cpp | CWE-401 | [
"icuWrapper.cpp"
] | icuWrapper.cpp | 1 |
if (! empty($ok)) { exit("$ok"); } else { exit("ERROR: $error"); } | if (! empty($ok)) { exit("$ok"); } else { exit("ERROR: ".htmlspecialchars($error));; } | GHSA-5vr6-hm68-5j9p | {'CWE-79'} | 6.1 | {'https://github.com/librenms/librenms/pull/13554/commits/4f231a0f49b6c953d506913364ffd7fb3a660630'} | osv | Cross-site Scripting in LibreNMS LibreNMS 21.11.0 is affected by is affected by a Cross Site Scripting (XSS) vulnerability in includes/html/forms/poller-groups.inc.php. | 2021-12-03 | 1 | https://github.com/librenms/librenms | https://github.com/librenms/librenms/pull/13554/commits/4f231a0f49b6c953d506913364ffd7fb3a660630 | 4f231a0f49b6c953d506913364ffd7fb3a660630 | SINGLE | ['4f231a0f49b6c953d506913364ffd7fb3a660630'] | {'fff7b45a7599f8f13a55250dc5f2b957f3394194'} | 4f231a0f49b6c953d506913364ffd7fb3a660630 | 1 | 11/22/2021, 22:31:45 | fix XSS vulnerability in poller-groups.inc.php | AL-KASSAR | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -44,5 +44,5 @@\n if (! empty($ok)) {\n exit(\"$ok\");\n } else {\n- exit(\"ERROR: $error\");\n+ exit(\"ERROR: \".htmlspecialchars($error));;\n }",
"path": "includes/html/forms/poller-groups.inc.php",
"raw_url": "https://g... | php | CWE-79 | [
"includes/html/forms/poller-groups.inc.php"
] | includes/html/forms/poller-groups.inc.php | 1 |
<div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span></button> ... | <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span></button> ... | GHSA-5w74-jx7m-x6hv | {'CWE-79'} | 6.1 | {'https://github.com/mautic/mautic/commit/3add236e9cc00ea9b211b52cccc4660379b2ee8b'} | osv | XSS vulnerability in theme config file in Mautic ### Impact
Mautic before v2.13.0 has stored XSS via a theme config file.
### Patches
Update to 2.13.0 or later.
### Workarounds
None.
### For more information
If you have any questions or comments about this advisory:
* Email us at [security@mautic.org](mailto:securit... | 2021-01-19 | 1 | https://github.com/mautic/mautic | https://github.com/mautic/mautic/commit/3add236e9cc00ea9b211b52cccc4660379b2ee8b | 3add236e9cc00ea9b211b52cccc4660379b2ee8b | SINGLE | ['3add236e9cc00ea9b211b52cccc4660379b2ee8b'] | {'4663997084ffec035a345e01ba9f1eacf1c0ba30', '5f58b75d721b909c999a9295c1f94bc0064b359d'} | 3add236e9cc00ea9b211b52cccc4660379b2ee8b | 1 | 04/17/2018, 16:29:20 | Merge remote-tracking branch 'security/master.config-xss-2018-03-13' | Alan Hartless | null | {'additions': 5, 'deletions': 5, 'total': 10} | [
{
"additions": 5,
"changes": 10,
"deletions": 5,
"patch": "@@ -107,7 +107,7 @@\n <div class=\"modal-header\">\n <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">\n ... | php | CWE-79 | [
"app/bundles/CoreBundle/Views/Theme/list.html.php"
] | app/bundles/CoreBundle/Views/Theme/list.html.php | 1 |
print('<div class="tag-management-form generalbox"><label class="accesshide" for="id_tagfilter">'. get_string('search') .'</label>'. '<input type="hidden" name="tc" value="'.$tagcollid.'" />'. '<input type="hidden" name="perpage" value="'.$perpage.'" />'. '<input id="id_tagfilter" name="filter" type="text"... | print('<div class="tag-management-form generalbox"><label class="accesshide" for="id_tagfilter">'. get_string('search') .'</label>'. '<input type="hidden" name="tc" value="'.$tagcollid.'" />'. '<input type="hidden" name="perpage" value="'.$perpage.'" />'. '<input id="id_tagfilter" name="filter" type="text"... | GHSA-5x33-h32w-6vr2 | {'CWE-79'} | 6.1 | {'https://github.com/moodle/moodle/commit/e8632a4ad0b4da3763cbbe5949594aa449b483bb'} | osv | Cross site-scripting (XSS) moodle The filter in the tag manager required extra sanitizing to prevent a reflected XSS risk. This affects 3.9 to 3.9.1, 3.8 to 3.8.4, 3.7 to 3.7.7, 3.5 to 3.5.13 and earlier unsupported versions. Fixed in 3.9.2, 3.8.5, 3.7.8 and 3.5.14. | 2021-03-29 | 1 | https://github.com/moodle/moodle | https://github.com/moodle/moodle/commit/e8632a4ad0b4da3763cbbe5949594aa449b483bb | e8632a4ad0b4da3763cbbe5949594aa449b483bb | SINGLE | ['e8632a4ad0b4da3763cbbe5949594aa449b483bb'] | {'630078eb4a189a17378ea6cf19be989da2114c1c'} | e8632a4ad0b4da3763cbbe5949594aa449b483bb | 1 | 08/04/2020, 10:04:27 | MDL-69340 tag: Correct the filter input HTML in the tag manager | Michael Hawkins | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -211,7 +211,7 @@\n print('<div class=\"tag-management-form generalbox\"><label class=\"accesshide\" for=\"id_tagfilter\">'. get_string('search') .'</label>'.\n '<input type=\"hidden\" name=\"tc\" value=\"'.$tagcollid.'\" />'.\n '<i... | php | CWE-79 | [
"tag/manage.php"
] | tag/manage.php | 1 |
limitations under the License. ==============================================================================*/ #include "tensorflow/core/framework/shape_inference.h" #include "tensorflow/core/framework/bounds_check.h" #include "tensorflow/core/framework/full_type_util.h" #include "tensorflow/core/framework/node_def.... | limitations under the License. ==============================================================================*/ #include "tensorflow/core/framework/shape_inference.h" #include <cstdint> #include "tensorflow/core/framework/bounds_check.h" #include "tensorflow/core/framework/full_type_util.h" #include "tensorflow/core... | GHSA-627q-g293-49q7 | {'CWE-400'} | 6.5 | {'https://github.com/tensorflow/tensorflow/commit/1361fb7e29449629e1df94d44e0427ebec8c83c7'} | osv | Abort caused by allocating a vector that is too large in Tensorflow ### Impact
During shape inference, TensorFlow can [allocate a large vector](https://github.com/tensorflow/tensorflow/blob/a1320ec1eac186da1d03f033109191f715b2b130/tensorflow/core/framework/shape_inference.cc#L788-L790) based on a value from a tensor co... | 2022-02-07 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/1361fb7e29449629e1df94d44e0427ebec8c83c7 | 1361fb7e29449629e1df94d44e0427ebec8c83c7 | SINGLE | ['1361fb7e29449629e1df94d44e0427ebec8c83c7'] | {'f6e7c84316c9fe416ea32086fa3c64fee21fafab'} | 1361fb7e29449629e1df94d44e0427ebec8c83c7 | 1 | 11/10/2021, 23:52:57 | Fix abort caused by allocating a too large vector.
We need to make sure that the number of dimensions in a shape is within limits.
PiperOrigin-RevId: 408997911
Change-Id: If59e1c23f2ec9c2d4ff4d8632fd62b2a7773a4eb | Mihai Maruseac | null | {'additions': 15, 'deletions': 0, 'total': 15} | [
{
"additions": 15,
"changes": 15,
"deletions": 0,
"patch": "@@ -14,6 +14,8 @@ limitations under the License.\n ==============================================================================*/\n #include \"tensorflow/core/framework/shape_inference.h\"\n \n+#include <cstdint>\n+\n #include \"tensorflo... | cc | CWE-400 | [
"tensorflow/core/framework/shape_inference.cc"
] | tensorflow/core/framework/shape_inference.cc | 1 |
TF_CALL_NUMBER_TYPES(REGISTER_GPU_KERNEL); REGISTER_GPU_KERNEL(bool); #undef REGISTER_GPU_KERNEL class GetSessionTensorOp : public OpKernel { public: explicit GetSessionTensorOp(OpKernelConstruction* context) class GetSessionTensorOp : public OpKernel { const Tensor& handle = ctx->input(0); const string& ... | TF_CALL_NUMBER_TYPES(REGISTER_GPU_KERNEL); REGISTER_GPU_KERNEL(bool); #undef REGISTER_GPU_KERNEL class GetSessionTensorOp : public OpKernel { public: explicit GetSessionTensorOp(OpKernelConstruction* context) class GetSessionTensorOp : public OpKernel { const Tensor& handle = ctx->input(0); const string& n... | GHSA-62gx-355r-9fhg | {'CWE-476'} | 2.5 | {'https://github.com/tensorflow/tensorflow/commit/ff70c47a396ef1e3cb73c90513da4f5cb71bebba'} | osv | Session operations in eager mode lead to null pointer dereferences ### Impact
In eager mode (default in TF 2.0 and later), session operations are invalid. However, users could still call the raw ops associated with them and trigger a null pointer dereference:
```python
import tensorflow as tf
tf.raw_ops.GetSessionTens... | 2021-05-21 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/ff70c47a396ef1e3cb73c90513da4f5cb71bebba | ff70c47a396ef1e3cb73c90513da4f5cb71bebba | SINGLE | ['ff70c47a396ef1e3cb73c90513da4f5cb71bebba'] | {'eebb96c2830d48597d055d247c0e9aebaea94cd5'} | ff70c47a396ef1e3cb73c90513da4f5cb71bebba | 1 | 04/13/2021, 21:24:00 | Fix `tf.raw_ops.GetSessionTensor` and `tf.raw_ops.DeleteSessionTensor` null pointer dereferences.
PiperOrigin-RevId: 368294154
Change-Id: Ie10f07a0a9a1c2b685e08153d48a0ca4b93f9fc9 | Amit Patankar | null | {'additions': 10, 'deletions': 4, 'total': 14} | [
{
"additions": 10,
"changes": 14,
"deletions": 4,
"patch": "@@ -91,7 +91,6 @@ TF_CALL_NUMBER_TYPES(REGISTER_GPU_KERNEL);\n REGISTER_GPU_KERNEL(bool);\n #undef REGISTER_GPU_KERNEL\n \n-\n class GetSessionTensorOp : public OpKernel {\n public:\n explicit GetSessionTensorOp(OpKernelConstruction* con... | cc | CWE-476 | [
"tensorflow/core/kernels/session_ops.cc"
] | tensorflow/core/kernels/session_ops.cc | 1 |
class="btn btn-link btn-sm <?php if (isset($abandoned)): ?>font-weight-bold text $(document).ready(function () { var searchOrdersByProduct = new mw.autoComplete({ element: "#js-orders-search-by-products", placeholder: "<?php if ($productKeyword) { ech... | class="btn btn-link btn-sm <?php if (isset($abandoned)): ?>font-weight-bold text $(document).ready(function () { var searchOrdersByProduct = new mw.autoComplete({ element: "#js-orders-search-by-products", placeholder: "<?php if ($productKeyword) { ech... | GHSA-6346-5r4h-ff5x | {'CWE-79'} | 6.1 | {'https://github.com/microweber/microweber/commit/724e2d186a33c0c27273107dc4f160a09384877f'} | osv | Microweber vulnerable to cross-site scripting (XSS) Microweber is a drag and drop website builder and a powerful next generation CMS. Microweber versions 1.2.15 and prior are vulnerable to cross-site scripting. This could lead to injection of arbitrary JaveScript code, defacement of a page, or stealing cookies. A patch... | 2022-05-05 | 1 | https://github.com/microweber/microweber | https://github.com/microweber/microweber/commit/724e2d186a33c0c27273107dc4f160a09384877f | 724e2d186a33c0c27273107dc4f160a09384877f | SINGLE | ['724e2d186a33c0c27273107dc4f160a09384877f'] | {'5eb846301d61b22eda84a997026d050a14a518f4'} | 724e2d186a33c0c27273107dc4f160a09384877f | 1 | 05/03/2022, 08:41:32 | Update order_filtering.blade.php | Bozhidar Slaveykov | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -158,7 +158,7 @@ class=\"btn btn-link btn-sm <?php if (isset($abandoned)): ?>font-weight-bold text\n $(document).ready(function () {\n var searchOrdersByProduct = new mw.autoComplete({\n elem... | php | CWE-79 | [
"src/MicroweberPackages/Order/resources/views/admin/orders/partials/order_filtering.blade.php"
] | src/MicroweberPackages/Order/resources/views/admin/orders/partials/order_filtering.blade.php | 1 |
/** * windows-cpu module for Node.js to get various load statistics. * @module windows-cpu * @version 0.1.4 * @author Kyle Ross <kylerross1324@gmail.com> * @license MIT License * * @requires os * @requires child_process * * @example * * var cpu = require('windows-cpu'); */ (function() { var platform... | /** * windows-cpu module for Node.js to get various load statistics. * @module windows-cpu * @version 1.0.0 * @author Kyle Ross * @license MIT License */ "use strict"; const fs = require('fs'); const path = require('path'); const cp = require('child_process'); const platform = require('os').platform(); const e... | GHSA-63m4-fhf2-cmf7 | {'CWE-78'} | 9.8 | {'https://github.com/KyleRoss/windows-cpu/commit/b75e19aa2f7459a9506bceb577ba2341fe273117'} | osv | Command Execution in windows-cpu Version of `windows-cpu` before 0.1.5 will execute arbitrary code passed into the first argument of the `findLoad` method, resulting in remote code execution.
## Proof of Concept
```
var win = require('windows-cpu');
wind.findLoad('foo & calc.exe');
```
## Recommendation
Update to ... | 2020-09-01 | 1 | https://github.com/KyleRoss/windows-cpu | https://github.com/KyleRoss/windows-cpu/commit/b75e19aa2f7459a9506bceb577ba2341fe273117 | b75e19aa2f7459a9506bceb577ba2341fe273117 | SINGLE | ['b75e19aa2f7459a9506bceb577ba2341fe273117'] | {'da656c1a9d5edbf4e8bf0640f349aeb714a4f1a0'} | b75e19aa2f7459a9506bceb577ba2341fe273117 | 1 | 04/13/2017, 04:32:09 | ES6 Refactor + fix vulnerability | Kyle Ross | null | {'additions': 120, 'deletions': 143, 'total': 263} | [
{
"additions": 120,
"changes": 263,
"deletions": 143,
"patch": "@@ -1,120 +1,92 @@\n /**\n * windows-cpu module for Node.js to get various load statistics.\n * @module windows-cpu\n- * @version 0.1.4\n- * @author Kyle Ross <kylerross1324@gmail.com>\n+ * @version 1.0.0\n+ * @author Kyle Ross\n * @... | js | CWE-78 | [
"index.js"
] | index.js | 1 |
use FacturaScripts\Core\Base\DataBase\DataBaseWhere; use FacturaScripts\Core\Lib\Widget\VisualItemLoadEngine; use FacturaScripts\Dinamic\Model\CodeModel; use FacturaScripts\Dinamic\Model\PageOption; use FacturaScripts\Dinamic\Model\User; use Symfony\Component\HttpFoundation\Response; public function privateCore(&$resp... | use FacturaScripts\Core\Base\DataBase\DataBaseWhere; use FacturaScripts\Core\Lib\Widget\VisualItemLoadEngine; use FacturaScripts\Dinamic\Model\CodeModel; use FacturaScripts\Dinamic\Model\Page; use FacturaScripts\Dinamic\Model\PageOption; use FacturaScripts\Dinamic\Model\User; use Symfony\Component\HttpFoundation\Respo... | GHSA-6465-r752-2h8v | {'CWE-79'} | 6.1 | {'https://github.com/neorazorx/facturascripts/commit/8e31d8434014a6d1e8791a489d84268fd74b0c9a'} | osv | Cross-site Scripting in facturascripts Reflected cross-site scripting using url based payload in GitHub repository neorazorx/facturascripts prior to 2022.08. This can lead to theft of a user's cookies, which in turn could lead to account takeover or do other malicious activities in a victim's browser. | 2022-05-13 | 1 | https://github.com/neorazorx/facturascripts | https://github.com/neorazorx/facturascripts/commit/8e31d8434014a6d1e8791a489d84268fd74b0c9a | 8e31d8434014a6d1e8791a489d84268fd74b0c9a | SINGLE | ['8e31d8434014a6d1e8791a489d84268fd74b0c9a'] | {'ec88bc72ff2f6eb79a27112c777a7d601e946ed5'} | 8e31d8434014a6d1e8791a489d84268fd74b0c9a | 1 | 05/09/2022, 22:12:41 | We check the url parameter of the link to ensure that it is a valid controller.
------
Comprobamos el parámetro url del enlace para asegurar que sea un controlador válido. | Carlos Garcia Gomez | null | {'additions': 18, 'deletions': 1, 'total': 19} | [
{
"additions": 18,
"changes": 19,
"deletions": 1,
"patch": "@@ -24,6 +24,7 @@\n use FacturaScripts\\Core\\Base\\DataBase\\DataBaseWhere;\n use FacturaScripts\\Core\\Lib\\Widget\\VisualItemLoadEngine;\n use FacturaScripts\\Dinamic\\Model\\CodeModel;\n+use FacturaScripts\\Dinamic\\Model\\Page;\n use F... | php | CWE-79 | [
"Core/Controller/EditPageOption.php"
] | Core/Controller/EditPageOption.php | 1 |
/android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i, // Xiaomi Hongmi /android.+(mi[\s\-_]*(?:a\d|one|one[\s_]plus|note lte)?[\s_]*(?:\d?\w?)[\s_]*(?:plus)?)\s+build/i, // Xiaomi Mi /a... | /android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i, // Xiaomi Hongmi /android.+(mi[\s\-_]*(?:a\d|one|one[\s_]plus|note lte)?[\s_]*(?:\d?\w?)[\s_]*(?:plus)?)\s+build/i, // Xiaomi Mi /a... | GHSA-662x-fhqg-9p8v | {'CWE-400'} | 7.5 | {'https://github.com/faisalman/ua-parser-js/commit/233d3bae22a795153a7e6638887ce159c63e557d'} | osv | Regular Expression Denial of Service in ua-parser-js The package ua-parser-js before 0.7.22 are vulnerable to Regular Expression Denial of Service (ReDoS) via the regex for Redmi Phones and Mi Pad Tablets UA. | 2021-05-07 | 1 | https://github.com/faisalman/ua-parser-js | https://github.com/faisalman/ua-parser-js/commit/233d3bae22a795153a7e6638887ce159c63e557d | 233d3bae22a795153a7e6638887ce159c63e557d | SINGLE | ['233d3bae22a795153a7e6638887ce159c63e557d'] | {'5230745280ba8aee775b0f5d2c8a2332f8ef2c4e'} | 233d3bae22a795153a7e6638887ce159c63e557d | 1 | 09/12/2020, 08:47:15 | Fix potential ReDoS vulnerability | Faisal Salman | null | {'additions': 2, 'deletions': 2, 'total': 4} | [
{
"additions": 2,
"changes": 4,
"deletions": 2,
"patch": "@@ -585,9 +585,9 @@\n /android.+(hm[\\s\\-_]*note?[\\s_]*(?:\\d\\w)?)\\s+build/i, // Xiaomi Hongmi\n /android.+(mi[\\s\\-_]*(?:a\\d|one|one[\\s_]plus|note lte)?[\\s_]*(?:\\d?\\w?)[\\s_]*(?:plus)?)\\s+buil... | js | CWE-400 | [
"src/ua-parser.js"
] | src/ua-parser.js | 1 |
pub struct RcuCell<T> { link: LinkWrapper<T>, } unsafe impl<T> Send for RcuCell<T> {} unsafe impl<T> Sync for RcuCell<T> {} impl<T> Default for RcuCell<T> { fn default() -> Self { | pub struct RcuCell<T> { link: LinkWrapper<T>, } unsafe impl<T: Send> Send for RcuCell<T> {} unsafe impl<T: Sync> Sync for RcuCell<T> {} impl<T> Default for RcuCell<T> { fn default() -> Self { | GHSA-686h-j8r8-wmfm | {'CWE-362', 'CWE-77'} | 8.1 | {'https://github.com/Xudong-Huang/rcu_cell/pull/4/commits/1faf18eee11f14969b77ae0f76dcd9ebd437d0c2'} | osv | Data races in rcu_cell Affected versions of this crate unconditionally implement Send/Sync for `RcuCell<T>`.
This allows users to send `T: !Send` to other threads (while `T` enclosed within `RcuCell<T>`), and allows users to concurrently access `T: !Sync` by using the APIs of `RcuCell<T>` that provide access to `&T`.
... | 2021-08-25 | 1 | https://github.com/Xudong-Huang/rcu_cell | https://github.com/Xudong-Huang/rcu_cell/pull/4/commits/1faf18eee11f14969b77ae0f76dcd9ebd437d0c2 | 1faf18eee11f14969b77ae0f76dcd9ebd437d0c2 | SINGLE | ['1faf18eee11f14969b77ae0f76dcd9ebd437d0c2'] | {'0e4dc8cd07002a583462994ab4bcfecdf3338fae'} | 1faf18eee11f14969b77ae0f76dcd9ebd437d0c2 | 1 | 01/20/2021, 03:33:02 | Fix Send/Sync impl of RcuCell<T> | JOE1994 | null | {'additions': 2, 'deletions': 2, 'total': 4} | [
{
"additions": 2,
"changes": 4,
"deletions": 2,
"patch": "@@ -372,8 +372,8 @@ pub struct RcuCell<T> {\n link: LinkWrapper<T>,\n }\n \n-unsafe impl<T> Send for RcuCell<T> {}\n-unsafe impl<T> Sync for RcuCell<T> {}\n+unsafe impl<T: Send> Send for RcuCell<T> {}\n+unsafe impl<T: Sync> Sync for RcuCe... | rs | CWE-362 | [
"src/lib.rs"
] | src/lib.rs | 1 |
func VerifyGet(cfg schema.AuthenticationBackendConfiguration) middlewares.Reques targetURL, err := ctx.GetOriginalURL() if err != nil { ctx.Error(fmt.Errorf("Unable to parse target URL: %s", err), operationFailedMessage) return } | func VerifyGet(cfg schema.AuthenticationBackendConfiguration) middlewares.Reques targetURL, err := ctx.GetOriginalURL() if err != nil { ctx.Logger.Error(fmt.Errorf("Unable to parse target URL: %s", err)) ctx.ReplyUnauthorized() return } | GHSA-68wm-pfjf-wqp6 | {'CWE-287'} | 10 | {'https://github.com/authelia/authelia/commit/c62dbd43d6e69ae81530e7c4f8763857f8ff1dda'} | osv | Authentication bypassed with malformed request URI on nginx ### Impact
This affects uses who are using nginx ngx_http_auth_request_module with Authelia, it allows a malicious individual who crafts a malformed HTTP request to bypass the authentication mechanism. It additionally could theoretically affect other proxy ser... | 2021-12-20 | 1 | https://github.com/authelia/authelia | https://github.com/authelia/authelia/commit/c62dbd43d6e69ae81530e7c4f8763857f8ff1dda | c62dbd43d6e69ae81530e7c4f8763857f8ff1dda | SINGLE | ['c62dbd43d6e69ae81530e7c4f8763857f8ff1dda'] | {'a56cffa129a0fedb830971855ab695a95cf96312'} | c62dbd43d6e69ae81530e7c4f8763857f8ff1dda | 1 | 05/21/2021, 12:03:44 | fix(handlers): align response status codes for the verify endpoint (#2016)
This aligns all response status codes on the /api/verify endpoint when an error occurs, making it impossible to determine the actual reason for the failure. | James Elliott | null | {'additions': 3, 'deletions': 1, 'total': 4} | [
{
"additions": 3,
"changes": 4,
"deletions": 1,
"patch": "@@ -428,7 +428,9 @@ func VerifyGet(cfg schema.AuthenticationBackendConfiguration) middlewares.Reques\n \t\ttargetURL, err := ctx.GetOriginalURL()\n \n \t\tif err != nil {\n-\t\t\tctx.Error(fmt.Errorf(\"Unable to parse target URL: %s\", err), ... | go | CWE-287 | [
"internal/handlers/handler_verify.go"
] | internal/handlers/handler_verify.go | 1 |
public function review($userid, $filtered = false) { $join .= " LEFT JOIN {user_info_data} uid{$idx} ON uid{$idx}.userid = u.id AND uid{$idx}.fieldid = :fieldid{$idx} "; $sqlparams["fieldid{$idx}"] = $param['field']; $whereparts[] = "uid{$idx}.id IS NOT NULL"; ... | public function review($userid, $filtered = false) { $join .= " LEFT JOIN {user_info_data} uid{$idx} ON uid{$idx}.userid = u.id AND uid{$idx}.fieldid = :fieldid{$idx} "; $sqlparams["fieldid{$idx}"] = $param['field']; $whereparts[] = "uid{$idx}.id IS NOT NULL"; ... | GHSA-69c3-5xxf-58q2 | {'CWE-89'} | 9.8 | {'https://github.com/moodle/moodle/commit/a0f47c8bc4d6f5971025de7d63f22475701d2f86'} | osv | SQL injection in moodle A flaw was found in moodle where an SQL injection risk was identified in Badges code relating to configuring criteria. | 2022-05-19 | 1 | https://github.com/moodle/moodle | https://github.com/moodle/moodle/commit/a0f47c8bc4d6f5971025de7d63f22475701d2f86 | a0f47c8bc4d6f5971025de7d63f22475701d2f86 | SINGLE | ['a0f47c8bc4d6f5971025de7d63f22475701d2f86'] | {'9478dc6b07b162f63b823480aecd4e2fb4e3c59f'} | a0f47c8bc4d6f5971025de7d63f22475701d2f86 | 1 | 03/31/2022, 10:17:31 | MDL-74333 badges: Check profile criteria valid when reviewing | Michael Hawkins | null | {'additions': 2, 'deletions': 2, 'total': 4} | [
{
"additions": 2,
"changes": 4,
"deletions": 2,
"patch": "@@ -202,8 +202,8 @@ public function review($userid, $filtered = false) {\n $join .= \" LEFT JOIN {user_info_data} uid{$idx} ON uid{$idx}.userid = u.id AND uid{$idx}.fieldid = :fieldid{$idx} \";\n $sqlparams[\"f... | php | CWE-89 | [
"badges/criteria/award_criteria_profile.php"
] | badges/criteria/award_criteria_profile.php | 1 |
exports.set = function(obj, path, value) { var v = arr[arr.length - 1]; var ispush = v.lastIndexOf('[]') !== -1; var a = builder.join(';') + ';var v=typeof(a)===\'function\'?a(U.get(b)):a;w' + (v[0] === '[' ? '' : '.') + (ispush ? v.replace(REGREPLACEARR, '.push(v)') : (v + '=v')) + ';return v'; var fn = new Funct... | exports.set = function(obj, path, value) { var v = arr[arr.length - 1]; var ispush = v.lastIndexOf('[]') !== -1; var a = builder.join(';') + ';var v=typeof(a)===\'function\'?a(U.get(b)):a;w' + (v[0] === '[' ? '' : '.') + (ispush ? v.replace(REGREPLACEARR, '.push(v)') : (v + '=v')) + ';return v'; if ((/__proto__|c... | GHSA-6cf8-qhqj-vjqm | {'CWE-400'} | 0 | {'https://github.com/totaljs/framework/commit/b3f901561d66ab799a4a99279893b94cad7ae4ff'} | osv | Prototype pollution in total.js There is a prototype pollution vulnerability in the package total.js before version 3.4.7. The set function can be used to set a value into the object according to the path. However the keys of the path being set are not properly sanitized, leading to a prototype pollution vulnerability.... | 2021-02-05 | 1 | https://github.com/totaljs/framework | https://github.com/totaljs/framework/commit/b3f901561d66ab799a4a99279893b94cad7ae4ff | b3f901561d66ab799a4a99279893b94cad7ae4ff | SINGLE | ['b3f901561d66ab799a4a99279893b94cad7ae4ff'] | {'1e1faeb20d2291038e10b98f2046a4058135e767'} | b3f901561d66ab799a4a99279893b94cad7ae4ff | 1 | 12/31/2020, 10:41:21 | Fixed `U.set()` by adding check for `Prototype pollution`. | Peter Sirka | null | {'additions': 4, 'deletions': 0, 'total': 4} | [
{
"additions": 4,
"changes": 4,
"deletions": 0,
"patch": "@@ -6621,6 +6621,10 @@ exports.set = function(obj, path, value) {\n \tvar v = arr[arr.length - 1];\n \tvar ispush = v.lastIndexOf('[]') !== -1;\n \tvar a = builder.join(';') + ';var v=typeof(a)===\\'function\\'?a(U.get(b)):a;w' + (v[0] === '[... | js | CWE-400 | [
"utils.js"
] | utils.js | 1 |
class QuantizedMulOp : public OpKernel { tensor_num_elements = x.NumElements(); tensor_offset = offset_x; } VectorTensorMultiply<T, Toutput>( vector_data, vector_offset, vector_num_elements, tensor_data, tensor_offset, tensor_num_elements, z_data); | class QuantizedMulOp : public OpKernel { tensor_num_elements = x.NumElements(); tensor_offset = offset_x; } if (vector_num_elements == 0) { context->SetStatus( errors::InvalidArgument("vector must have at least 1 element")); return; } VectorTensorMult... | GHSA-6f84-42vf-ppwp | {'CWE-369'} | 2.5 | {'https://github.com/tensorflow/tensorflow/commit/a1b11d2fdd1e51bfe18bb1ede804f60abfa92da6'} | osv | Division by 0 in `QuantizedMul` ### Impact
An attacker can trigger a division by 0 in `tf.raw_ops.QuantizedMul`:
```python
import tensorflow as tf
x = tf.zeros([4, 1], dtype=tf.quint8)
y = tf.constant([], dtype=tf.quint8)
min_x = tf.constant(0.0)
max_x = tf.constant(0.0010000000474974513)
min_y = tf.constant(0.0)
max... | 2021-05-21 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/a1b11d2fdd1e51bfe18bb1ede804f60abfa92da6 | a1b11d2fdd1e51bfe18bb1ede804f60abfa92da6 | SINGLE | ['a1b11d2fdd1e51bfe18bb1ede804f60abfa92da6'] | {'55900e961ed4a23b438392024912154a2c2f5e85'} | a1b11d2fdd1e51bfe18bb1ede804f60abfa92da6 | 1 | 04/20/2021, 17:52:46 | Fix one division by zero
PiperOrigin-RevId: 369474832
Change-Id: I1082858ed78d9b2e4738ce30b231955973d49e1e | Mihai Maruseac | null | {'additions': 5, 'deletions': 0, 'total': 5} | [
{
"additions": 5,
"changes": 5,
"deletions": 0,
"patch": "@@ -347,6 +347,11 @@ class QuantizedMulOp : public OpKernel {\n tensor_num_elements = x.NumElements();\n tensor_offset = offset_x;\n }\n+ if (vector_num_elements == 0) {\n+ context->SetStatus(\n+ e... | cc | CWE-369 | [
"tensorflow/core/kernels/quantized_mul_op.cc"
] | tensorflow/core/kernels/quantized_mul_op.cc | 1 |
class FractionalAvgPoolGradOp : public OpKernel { const int64 out_cols = out_backprop.dim_size(2); const int64 out_depth = out_backprop.dim_size(3); auto row_seq_tensor_flat = row_seq_tensor.flat<int64>(); auto col_seq_tensor_flat = col_seq_tensor.flat<int64>(); auto orig_input_tensor_shape_flat =... | class FractionalAvgPoolGradOp : public OpKernel { const int64 out_cols = out_backprop.dim_size(2); const int64 out_depth = out_backprop.dim_size(3); OP_REQUIRES(context, row_seq_tensor.NumElements() > out_rows, errors::InvalidArgument("Given out_backprop shape ", ... | GHSA-6f89-8j54-29xf | {'CWE-787', 'CWE-119'} | 2.5 | {'https://github.com/tensorflow/tensorflow/commit/12c727cee857fa19be717f336943d95fca4ffe4f'} | osv | Heap buffer overflow in `FractionalAvgPoolGrad` ### Impact
The implementation of `tf.raw_ops.FractionalAvgPoolGrad` is vulnerable to a heap buffer overflow:
```python
import tensorflow as tf
orig_input_tensor_shape = tf.constant([1, 3, 2, 3], shape=[4], dtype=tf.int64)
out_backprop = tf.constant([2], shape=[1, 1, 1... | 2021-05-21 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/12c727cee857fa19be717f336943d95fca4ffe4f | 12c727cee857fa19be717f336943d95fca4ffe4f | SINGLE | ['12c727cee857fa19be717f336943d95fca4ffe4f'] | {'dcba796a28364d6d7f003f6fe733d82726dda713'} | 12c727cee857fa19be717f336943d95fca4ffe4f | 1 | 05/06/2021, 21:02:47 | Validate inputs of `FractionalAvgPoolGrad`.
PiperOrigin-RevId: 372420640
Change-Id: Icc583928e6cdc3062e12498e4d2337a8fe3da016 | Mihai Maruseac | null | {'additions': 13, 'deletions': 0, 'total': 13} | [
{
"additions": 13,
"changes": 13,
"deletions": 0,
"patch": "@@ -250,6 +250,19 @@ class FractionalAvgPoolGradOp : public OpKernel {\n const int64 out_cols = out_backprop.dim_size(2);\n const int64 out_depth = out_backprop.dim_size(3);\n \n+ OP_REQUIRES(context, row_seq_tensor.NumElements()... | cc | CWE-119 | [
"tensorflow/core/kernels/fractional_avg_pool_op.cc"
] | tensorflow/core/kernels/fractional_avg_pool_op.cc | 1 |
class FractionalAvgPoolGradOp : public OpKernel { const int64 out_cols = out_backprop.dim_size(2); const int64 out_depth = out_backprop.dim_size(3); auto row_seq_tensor_flat = row_seq_tensor.flat<int64>(); auto col_seq_tensor_flat = col_seq_tensor.flat<int64>(); auto orig_input_tensor_shape_flat =... | class FractionalAvgPoolGradOp : public OpKernel { const int64 out_cols = out_backprop.dim_size(2); const int64 out_depth = out_backprop.dim_size(3); OP_REQUIRES(context, row_seq_tensor.NumElements() > out_rows, errors::InvalidArgument("Given out_backprop shape ", ... | GHSA-6f89-8j54-29xf | {'CWE-787', 'CWE-119'} | 2.5 | {'https://github.com/tensorflow/tensorflow/commit/12c727cee857fa19be717f336943d95fca4ffe4f'} | osv | Heap buffer overflow in `FractionalAvgPoolGrad` ### Impact
The implementation of `tf.raw_ops.FractionalAvgPoolGrad` is vulnerable to a heap buffer overflow:
```python
import tensorflow as tf
orig_input_tensor_shape = tf.constant([1, 3, 2, 3], shape=[4], dtype=tf.int64)
out_backprop = tf.constant([2], shape=[1, 1, 1... | 2021-05-21 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/12c727cee857fa19be717f336943d95fca4ffe4f | 12c727cee857fa19be717f336943d95fca4ffe4f | SINGLE | ['12c727cee857fa19be717f336943d95fca4ffe4f'] | {'dcba796a28364d6d7f003f6fe733d82726dda713'} | 12c727cee857fa19be717f336943d95fca4ffe4f | 1 | 05/06/2021, 21:02:47 | Validate inputs of `FractionalAvgPoolGrad`.
PiperOrigin-RevId: 372420640
Change-Id: Icc583928e6cdc3062e12498e4d2337a8fe3da016 | Mihai Maruseac | null | {'additions': 13, 'deletions': 0, 'total': 13} | [
{
"additions": 13,
"changes": 13,
"deletions": 0,
"patch": "@@ -250,6 +250,19 @@ class FractionalAvgPoolGradOp : public OpKernel {\n const int64 out_cols = out_backprop.dim_size(2);\n const int64 out_depth = out_backprop.dim_size(3);\n \n+ OP_REQUIRES(context, row_seq_tensor.NumElements()... | cc | CWE-787 | [
"tensorflow/core/kernels/fractional_avg_pool_op.cc"
] | tensorflow/core/kernels/fractional_avg_pool_op.cc | 1 |
class WebSocketServer extends EventEmitter { let protocol = req.headers['sec-websocket-protocol']; if (protocol) { protocol = protocol.trim().split(/ *, */); // // Optionally call external protocol selection handler. function abortHandshake(socket, code, message, headers) { socket.removeL... | class WebSocketServer extends EventEmitter { let protocol = req.headers['sec-websocket-protocol']; if (protocol) { protocol = protocol.split(',').map(trim); // // Optionally call external protocol selection handler. function abortHandshake(socket, code, message, headers) { socket.removeLi... | GHSA-6fc8-4gx4-v693 | {'CWE-400', 'CWE-345'} | 5.3 | {'https://github.com/websockets/ws/commit/00c425ec77993773d823f018f64a5c44e17023ff'} | osv | ReDoS in Sec-Websocket-Protocol header ### Impact
A specially crafted value of the `Sec-Websocket-Protocol` header can be used to significantly slow down a ws server.
### Proof of concept
```js
for (const length of [1000, 2000, 4000, 8000, 16000, 32000]) {
const value = 'b' + ' '.repeat(length) + 'x';
const star... | 2021-05-28 | 1 | https://github.com/websockets/ws | https://github.com/websockets/ws/commit/00c425ec77993773d823f018f64a5c44e17023ff | 00c425ec77993773d823f018f64a5c44e17023ff | SINGLE | ['00c425ec77993773d823f018f64a5c44e17023ff'] | {'990306d1446faf346c76452409a4c11455690514'} | 00c425ec77993773d823f018f64a5c44e17023ff | 1 | 05/25/2021, 09:00:58 | [security] Fix ReDoS vulnerability
A specially crafted value of the `Sec-Websocket-Protocol` header could
be used to significantly slow down a ws server.
PoC and fix were sent privately by Robert McLaughlin from University of
California, Santa Barbara. | Luigi Pinca | null | {'additions': 13, 'deletions': 1, 'total': 14} | [
{
"additions": 13,
"changes": 14,
"deletions": 1,
"patch": "@@ -286,7 +286,7 @@ class WebSocketServer extends EventEmitter {\n let protocol = req.headers['sec-websocket-protocol'];\n \n if (protocol) {\n- protocol = protocol.trim().split(/ *, */);\n+ protocol = protocol.split(',').... | js | CWE-400 | [
"lib/websocket-server.js"
] | lib/websocket-server.js | 1 |
public function listAction(Request $request) $condition = $field . ' BETWEEN ' . $db->quote($value) . ' AND ' . $db->quote($maxTime); $conditionFilters[] = $condition; } else { $conditionFilters[] = $field . $operator . " '" . ... | public function listAction(Request $request) $condition = $field . ' BETWEEN ' . $db->quote($value) . ' AND ' . $db->quote($maxTime); $conditionFilters[] = $condition; } else { $conditionFilters[] = $field . $operator . ' ' . $... | GHSA-6gm7-j668-w6h9 | {'CWE-89'} | 7.5 | {'https://github.com/pimcore/pimcore/commit/a697830359df06246acca502ee2455614de68017'} | osv | SQL Injection in Pimcore Pimcore prior to version 10.3.5 is vulnerable SQL injection in RecyclebinController.php. This vulnerability affects data confidentiality. | 2022-04-09 | 1 | https://github.com/pimcore/pimcore | https://github.com/pimcore/pimcore/commit/a697830359df06246acca502ee2455614de68017 | a697830359df06246acca502ee2455614de68017 | SINGLE | ['a697830359df06246acca502ee2455614de68017'] | {'e649598b4d2892c0bef9dea24cdf8f7006dc1ef1'} | a697830359df06246acca502ee2455614de68017 | 1 | 04/04/2022, 08:59:41 | [Recyclebin] Quote condition filter | dpahuja | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -119,7 +119,7 @@ public function listAction(Request $request)\n $condition = $field . ' BETWEEN ' . $db->quote($value) . ' AND ' . $db->quote($maxTime);\n $conditionFilters[] = $condition;\n ... | php | CWE-89 | [
"bundles/AdminBundle/Controller/Admin/RecyclebinController.php"
] | bundles/AdminBundle/Controller/Admin/RecyclebinController.php | 1 |
REGISTER_OP("ReverseSequence") return errors::InvalidArgument( "batch_dim must be < input rank: ", batch_dim, " vs. ", input_rank); } if (seq_dim >= input_rank) { return errors::InvalidArgument( "seq_dim must be < input rank: ", seq_dim, " vs. ", input_rank); }... | REGISTER_OP("ReverseSequence") return errors::InvalidArgument( "batch_dim must be < input rank: ", batch_dim, " vs. ", input_rank); } if (seq_dim >= input_rank) { return errors::InvalidArgument( "seq_dim must be < input rank: ", seq_dim, " vs. ", input_rank); ... | GHSA-6gmv-pjp9-p8w8 | {'CWE-125'} | 8.1 | {'https://github.com/tensorflow/tensorflow/commit/37c01fb5e25c3d80213060460196406c43d31995'} | osv | Out of bounds read in Tensorflow ### Impact
The [implementation of shape inference for `ReverseSequence`](https://github.com/tensorflow/tensorflow/blob/5100e359aef5c8021f2e71c7b986420b85ce7b3d/tensorflow/core/ops/array_ops.cc#L1636-L1671) does not fully validate the value of `batch_dim` and can result in a heap OOB re... | 2022-02-09 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/37c01fb5e25c3d80213060460196406c43d31995 | 37c01fb5e25c3d80213060460196406c43d31995 | SINGLE | ['37c01fb5e25c3d80213060460196406c43d31995'] | {'3218043d6d3a019756607643cf65574fbfef5d7a'} | 37c01fb5e25c3d80213060460196406c43d31995 | 1 | 11/23/2021, 22:27:30 | Fix out of bound error in ReverseSequence Op shape function
PiperOrigin-RevId: 411896080
Change-Id: I7e59a38e2f960886edf2b6c54ed5a84e86a9b193 | Isha Arkatkar | null | {'additions': 10, 'deletions': 0, 'total': 10} | [
{
"additions": 10,
"changes": 10,
"deletions": 0,
"patch": "@@ -1653,11 +1653,21 @@ REGISTER_OP(\"ReverseSequence\")\n return errors::InvalidArgument(\n \"batch_dim must be < input rank: \", batch_dim, \" vs. \", input_rank);\n }\n+\n if (seq_dim >= input_rank) {\n ... | cc | CWE-125 | [
"tensorflow/core/ops/array_ops.cc"
] | tensorflow/core/ops/array_ops.cc | 1 |
void UncompressElementOp::Compute(OpKernelContext* ctx) { Tensor tensor = ctx->input(0); const Variant& variant = tensor.scalar<Variant>()(); const CompressedElement* compressed = variant.get<CompressedElement>(); std::vector<Tensor> components; OP_REQUIRES_OK(ctx, UncompressElement(*compressed, &components... | void UncompressElementOp::Compute(OpKernelContext* ctx) { Tensor tensor = ctx->input(0); const Variant& variant = tensor.scalar<Variant>()(); const CompressedElement* compressed = variant.get<CompressedElement>(); OP_REQUIRES( ctx, compressed != nullptr, errors::InvalidArgument( "Input do... | GHSA-6gv8-p3vj-pxvr | {'CWE-476'} | 7.7 | {'https://github.com/tensorflow/tensorflow/commit/7bdf50bb4f5c54a4997c379092888546c97c3ebd'} | osv | Null pointer dereference in `UncompressElement` ### Impact
The code for `tf.raw_ops.UncompressElement` can be made to trigger a null pointer dereference:
```python
import tensorflow as tf
data = tf.data.Dataset.from_tensors([0.0])
tf.raw_ops.UncompressElement(
compressed=tf.data.experimental.to_variant(data),
ou... | 2021-08-25 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/7bdf50bb4f5c54a4997c379092888546c97c3ebd | 7bdf50bb4f5c54a4997c379092888546c97c3ebd | SINGLE | ['7bdf50bb4f5c54a4997c379092888546c97c3ebd'] | {'a21a1226a1dbc08e257e4344324d5881fbd95d4e'} | 7bdf50bb4f5c54a4997c379092888546c97c3ebd | 1 | 07/10/2021, 00:45:15 | Ensure non-empty compressed input in tf.raw_ops.UncompressElement
PiperOrigin-RevId: 383955815
Change-Id: I072a84fd02738dd2f51b3f42836ed80067dba4a8 | Laura Pak | null | {'additions': 5, 'deletions': 0, 'total': 5} | [
{
"additions": 5,
"changes": 5,
"deletions": 0,
"patch": "@@ -48,6 +48,11 @@ void UncompressElementOp::Compute(OpKernelContext* ctx) {\n Tensor tensor = ctx->input(0);\n const Variant& variant = tensor.scalar<Variant>()();\n const CompressedElement* compressed = variant.get<CompressedElement>(... | cc | CWE-476 | [
"tensorflow/core/kernels/data/experimental/compression_ops.cc"
] | tensorflow/core/kernels/data/experimental/compression_ops.cc | 1 |
if ( isset($_POST['StoreOptions']) ) { $definition = array( 'days_log' => new ezcInputFormDefinitionElement(ezcInputFormDefinitionElement::OPTIONAL, 'int'), 'log_js' => new ezcInputFormDefinitionElement(ezcInputFormDefinitionElement::OPTIONAL, 'boolean'), | if ( isset($_POST['StoreOptions']) ) { if (!isset($_POST['csfr_token']) || !$currentUser->validateCSFRToken($_POST['csfr_token'])) { erLhcoreClassModule::redirect(); exit; } $definition = array( 'days_log' => new ezcInputFormDefinitionElement(ezcInputFormDefinitionElement::OP... | GHSA-6jmh-9gqm-5xrx | {'CWE-352'} | 4.3 | {'https://github.com/livehelperchat/livehelperchat/commit/f59ffb02984c0ce2fbb19ac39365066507de9370'} | osv | Cross-Site Request Forgery (CSRF) in livehelperchat A CSRF issue is found in the audit configuration under settings. It was found that no CSRF token validation is getting done on the server-side. If we remove the CSRF token and keep the CSRF token field empty, the action is getting performed. | 2022-01-26 | 1 | https://github.com/livehelperchat/livehelperchat | https://github.com/livehelperchat/livehelperchat/commit/f59ffb02984c0ce2fbb19ac39365066507de9370 | f59ffb02984c0ce2fbb19ac39365066507de9370 | SINGLE | ['f59ffb02984c0ce2fbb19ac39365066507de9370'] | {'58df43e89c5b2c11be4994a71e84c93d469dc7bd'} | f59ffb02984c0ce2fbb19ac39365066507de9370 | 1 | 01/13/2022, 19:04:29 | Missing csfr check | Remigijus Kiminas | null | {'additions': 5, 'deletions': 0, 'total': 5} | [
{
"additions": 5,
"changes": 5,
"deletions": 0,
"patch": "@@ -7,6 +7,11 @@\n \n if ( isset($_POST['StoreOptions']) ) {\n \n+ if (!isset($_POST['csfr_token']) || !$currentUser->validateCSFRToken($_POST['csfr_token'])) {\n+ erLhcoreClassModule::redirect();\n+ exit;\n+ }\n+ \n ... | php | CWE-352 | [
"lhc_web/modules/lhaudit/configuration.php"
] | lhc_web/modules/lhaudit/configuration.php | 1 |
use Conner\Tagging\Model\Tagged; use \Intervention\Image\ImageManagerStatic as Image; use MicroweberPackages\Media\Models\Media; use MicroweberPackages\Media\Models\MediaThumbnail; use MicroweberPackages\Utils\Media\Thumbnailer; public function thumbnail_img($params) public function create_media_dir($params) ... | use Conner\Tagging\Model\Tagged; use \Intervention\Image\ImageManagerStatic as Image; use MicroweberPackages\Helper\HTMLClean; use MicroweberPackages\Media\Models\Media; use MicroweberPackages\Media\Models\MediaThumbnail; use MicroweberPackages\Utils\Media\Thumbnailer; public function thumbnail_img($params) publ... | GHSA-6m26-25q2-cq46 | {'CWE-79'} | 4.8 | {'https://github.com/microweber/microweber/commit/c897d0dc159849763a813184d9b75b966c6360bf'} | osv | Cross-site Scripting in microweber Microweber Cross-site Scripting (XSS) - Stored XSS vulnerability on admin page up to version 1.3. | 2022-02-27 | 1 | https://github.com/microweber/microweber | https://github.com/microweber/microweber/commit/c897d0dc159849763a813184d9b75b966c6360bf | c897d0dc159849763a813184d9b75b966c6360bf | SINGLE | ['c897d0dc159849763a813184d9b75b966c6360bf'] | {'7d3e768be798979e82778c47fbabfbd944ec8ea7'} | c897d0dc159849763a813184d9b75b966c6360bf | 1 | 02/25/2022, 09:57:42 | add xss clean to create media dir method | Bozhidar Slaveykov | null | {'additions': 6, 'deletions': 1, 'total': 7} | [
{
"additions": 6,
"changes": 7,
"deletions": 1,
"patch": "@@ -4,6 +4,7 @@\n \n use Conner\\Tagging\\Model\\Tagged;\n use \\Intervention\\Image\\ImageManagerStatic as Image;\n+use MicroweberPackages\\Helper\\HTMLClean;\n use MicroweberPackages\\Media\\Models\\Media;\n use MicroweberPackages\\Media\\M... | php | CWE-79 | [
"src/MicroweberPackages/Media/MediaManager.php"
] | src/MicroweberPackages/Media/MediaManager.php | 1 |
module.exports.commit = function (files, message, newVer, tagName, callback) { function (done) { cp.exec( [gitApp, "tag", "-a", tagName, "-m", message].join(" "), gitExtra, done ); | module.exports.commit = function (files, message, newVer, tagName, callback) { function (done) { cp.exec( [gitApp, "tag", "-a", escapeQuotes(tagName), "-m", message].join(" "), gitExtra, done ); | GHSA-6m8p-4fxj-pgc2 | {'CWE-78'} | 7.8 | {'https://github.com/mikaelbr/mversion/commit/b7a8b32600e60759a7ad3921ec4a2750bf173482'} | osv | OS Command Injection in mversion The issue occurs because tagName user input is formatted inside the exec function is executed without any checks. | 2021-05-17 | 1 | https://github.com/mikaelbr/mversion | https://github.com/mikaelbr/mversion/commit/b7a8b32600e60759a7ad3921ec4a2750bf173482 | b7a8b32600e60759a7ad3921ec4a2750bf173482 | SINGLE | ['b7a8b32600e60759a7ad3921ec4a2750bf173482'] | {'a9ddbc2bc86eb48f6976b85d195b6a94e81ffb22'} | b7a8b32600e60759a7ad3921ec4a2750bf173482 | 1 | 06/23/2020, 22:02:33 | Fix Remote Command Execution | hbkhan | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -61,7 +61,7 @@ module.exports.commit = function (files, message, newVer, tagName, callback) {\n \n function (done) {\n cp.exec(\n- [gitApp, \"tag\", \"-a\", tagName, \"-m\", message].join(\" \"),\n+ [gitApp, \"tag\"... | js | CWE-78 | [
"lib/git.js"
] | lib/git.js | 1 |
PyArray_NewFromDescr_int( int i; npy_intp nbytes; if (descr->subarray) { PyObject *ret; npy_intp newdims[2*NPY_MAXDIMS]; PyArray_NewFromDescr_int( return ret; } if ((unsigned int)nd > (unsigned int)NPY_MAXDIMS) { PyErr_Format(PyExc_ValueError, ... | PyArray_NewFromDescr_int( int i; npy_intp nbytes; if ((unsigned int)nd > (unsigned int)NPY_MAXDIMS) { PyErr_Format(PyExc_ValueError, "number of dimensions must be within [0, %d]", NPY_MAXDIMS); Py_DECREF(descr); return NULL; } if (... | GHSA-6p56-wp2h-9hxr | {'CWE-120'} | 5.3 | {'https://github.com/numpy/numpy/commit/ae317fd9ff3e79c0eac357d723bfc29cbd625f2e'} | osv | NumPy Buffer Overflow (Disputed) A Buffer Overflow vulnerability exists in NumPy 1.9.x in the PyArray_NewFromDescr_int function of ctors.c when specifying arrays of large dimensions (over 32) from Python code, which could let a malicious user cause a Denial of Service.
NOTE: The vendor does not agree this is a vulnera... | 2022-01-07 | 1 | https://github.com/numpy/numpy | https://github.com/numpy/numpy/commit/ae317fd9ff3e79c0eac357d723bfc29cbd625f2e | ae317fd9ff3e79c0eac357d723bfc29cbd625f2e | SINGLE | ['ae317fd9ff3e79c0eac357d723bfc29cbd625f2e'] | {'938fe1f871e22b8f5556b946135fa700e5ebcce1', '16f7824b4d935b6aee98298ca4123d57174a6f2e'} | ae317fd9ff3e79c0eac357d723bfc29cbd625f2e | 1 | 05/11/2021, 19:39:32 | Merge pull request #18989 from yetanothercheer/gh-18939-potential_buffer_overflow
BUG: fix potential buffer overflow(#18939) | Charles Harris | null | {'additions': 8, 'deletions': 8, 'total': 16} | [
{
"additions": 8,
"changes": 16,
"deletions": 8,
"patch": "@@ -668,6 +668,14 @@ PyArray_NewFromDescr_int(\n int i;\n npy_intp nbytes;\n \n+ if ((unsigned int)nd > (unsigned int)NPY_MAXDIMS) {\n+ PyErr_Format(PyExc_ValueError,\n+ \"number of dimensions must be wi... | c | CWE-120 | [
"numpy/core/src/multiarray/ctors.c"
] | numpy/core/src/multiarray/ctors.c | 1 |
require './vendor/autoload.php'; } // 开启调试模式 建议开发阶段开启 部署阶段注释或者设为false define('APP_DEBUG',True); | require './vendor/autoload.php'; } // cookie安全,给PHPSESSID加上Strict if (PHP_VERSION_ID >= 70300) { session_set_cookie_params([ 'samesite' => 'Strict' ]); } else { session_set_cookie_params( NULL, '/; samesite=Strict', ); } // 开启调试模式 建议开发阶段开启 部署阶段注释或者设为false define('APP_DEBU... | GHSA-6pqm-xvfc-w7p4 | {'CWE-352'} | 6.5 | {'https://github.com/star7th/showdoc/commit/654e871a3923e79076818a9a03533fe88222c871'} | osv | showdoc is vulnerable to Cross-Site Request Forgery (CSRF) showdoc is vulnerable to Cross-Site Request Forgery (CSRF). | 2021-12-03 | 1 | https://github.com/star7th/showdoc | https://github.com/star7th/showdoc/commit/654e871a3923e79076818a9a03533fe88222c871 | 654e871a3923e79076818a9a03533fe88222c871 | SINGLE | ['654e871a3923e79076818a9a03533fe88222c871'] | {'a9886f26c08225e0adca75c67dfca3f7c42b87d0'} | 654e871a3923e79076818a9a03533fe88222c871 | 1 | 11/22/2021, 12:22:29 | Cookie security /Cookie 安全 | star7th | null | {'additions': 12, 'deletions': 0, 'total': 12} | [
{
"additions": 12,
"changes": 12,
"deletions": 0,
"patch": "@@ -8,6 +8,18 @@\n require './vendor/autoload.php';\n }\n \n+// cookie安全,给PHPSESSID加上Strict\n+if (PHP_VERSION_ID >= 70300) {\n+ session_set_cookie_params([\n+ 'samesite' => 'Strict'\n+ ]);\n+} else { \n+ session_set_cook... | php | CWE-352 | [
"server/index.php"
] | server/index.php | 1 |
pimcore.document.pages.settings = Class.create(pimcore.document.settings_abstrac var updateSerpPreview = function () { var metaPanel = this.layout.getComponent("metaDataPanel"); var title = metaPanel.getComponent("title").getValue(); var description = metaPa... | pimcore.document.pages.settings = Class.create(pimcore.document.settings_abstrac var updateSerpPreview = function () { var metaPanel = this.layout.getComponent("metaDataPanel"); var title = htmlspecialchars(metaPanel.getComponent("title").getValue()); var de... | GHSA-6qcc-whgp-pjj2 | {'CWE-79'} | 5.4 | {'https://github.com/pimcore/pimcore/commit/8ab06bfbb5a05a1b190731d9c7476ec45f5ee878'} | osv | Cross-site Scripting in Pimcore Pimcore version 10.3.2 and prior is vulnerable to stored cross-site scripting. A patch is available and anticipated to be part of version 10.3.3. | 2022-03-05 | 1 | https://github.com/pimcore/pimcore | https://github.com/pimcore/pimcore/commit/8ab06bfbb5a05a1b190731d9c7476ec45f5ee878 | 8ab06bfbb5a05a1b190731d9c7476ec45f5ee878 | SINGLE | ['8ab06bfbb5a05a1b190731d9c7476ec45f5ee878'] | {'cef6fb5a9f385f77b9a1af508ecc45a147476458'} | 8ab06bfbb5a05a1b190731d9c7476ec45f5ee878 | 1 | 03/02/2022, 19:06:51 | escaping fields in SERP preview | JiaJia Ji | null | {'additions': 2, 'deletions': 2, 'total': 4} | [
{
"additions": 2,
"changes": 4,
"deletions": 2,
"patch": "@@ -79,8 +79,8 @@ pimcore.document.pages.settings = Class.create(pimcore.document.settings_abstrac\n var updateSerpPreview = function () {\n \n var metaPanel = this.layout.getComponent(\"metaDataPanel\");\n- ... | js | CWE-79 | [
"bundles/AdminBundle/Resources/public/js/pimcore/document/pages/settings.js"
] | bundles/AdminBundle/Resources/public/js/pimcore/document/pages/settings.js | 1 |
class ReverseSequenceOp : public OpKernel { : OpKernel(context) { OP_REQUIRES_OK(context, context->GetAttr("batch_dim", &batch_dim_)); OP_REQUIRES_OK(context, context->GetAttr("seq_dim", &seq_dim_)); } void Compute(OpKernelContext* context) override { | class ReverseSequenceOp : public OpKernel { : OpKernel(context) { OP_REQUIRES_OK(context, context->GetAttr("batch_dim", &batch_dim_)); OP_REQUIRES_OK(context, context->GetAttr("seq_dim", &seq_dim_)); OP_REQUIRES(context, batch_dim_ >= 0, errors::InvalidArgument("Invalid batch_dim ", b... | GHSA-6qgm-fv6v-rfpv | {'CWE-120', 'CWE-119'} | 2.5 | {'https://github.com/tensorflow/tensorflow/commit/ecf768cbe50cedc0a45ce1ee223146a3d3d26d23'} | osv | Overflow/denial of service in `tf.raw_ops.ReverseSequence` ### Impact
The implementation of `tf.raw_ops.ReverseSequence` allows for stack overflow and/or `CHECK`-fail based denial of service.
```python
import tensorflow as tf
input = tf.zeros([1, 1, 1], dtype=tf.int32)
seq_lengths = tf.constant([0], shape=[1], dtype=... | 2021-05-21 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/ecf768cbe50cedc0a45ce1ee223146a3d3d26d23 | ecf768cbe50cedc0a45ce1ee223146a3d3d26d23 | SINGLE | ['ecf768cbe50cedc0a45ce1ee223146a3d3d26d23'] | {'5b3b071975e01f0d250c928b2a8f901cd53b90a7'} | ecf768cbe50cedc0a45ce1ee223146a3d3d26d23 | 1 | 05/05/2021, 19:07:57 | Add missing validations to reverse_sequence_op
PiperOrigin-RevId: 372178683
Change-Id: Iac97ebab5b342f1262c77a7d9bcb4267b305ce5b | Mihai Maruseac | null | {'additions': 4, 'deletions': 0, 'total': 4} | [
{
"additions": 4,
"changes": 4,
"deletions": 0,
"patch": "@@ -115,6 +115,10 @@ class ReverseSequenceOp : public OpKernel {\n : OpKernel(context) {\n OP_REQUIRES_OK(context, context->GetAttr(\"batch_dim\", &batch_dim_));\n OP_REQUIRES_OK(context, context->GetAttr(\"seq_dim\", &seq_dim_)... | cc | CWE-120 | [
"tensorflow/core/kernels/reverse_sequence_op.cc"
] | tensorflow/core/kernels/reverse_sequence_op.cc | 1 |
class ReverseSequenceOp : public OpKernel { : OpKernel(context) { OP_REQUIRES_OK(context, context->GetAttr("batch_dim", &batch_dim_)); OP_REQUIRES_OK(context, context->GetAttr("seq_dim", &seq_dim_)); } void Compute(OpKernelContext* context) override { | class ReverseSequenceOp : public OpKernel { : OpKernel(context) { OP_REQUIRES_OK(context, context->GetAttr("batch_dim", &batch_dim_)); OP_REQUIRES_OK(context, context->GetAttr("seq_dim", &seq_dim_)); OP_REQUIRES(context, batch_dim_ >= 0, errors::InvalidArgument("Invalid batch_dim ", b... | GHSA-6qgm-fv6v-rfpv | {'CWE-120', 'CWE-119'} | 2.5 | {'https://github.com/tensorflow/tensorflow/commit/ecf768cbe50cedc0a45ce1ee223146a3d3d26d23'} | osv | Overflow/denial of service in `tf.raw_ops.ReverseSequence` ### Impact
The implementation of `tf.raw_ops.ReverseSequence` allows for stack overflow and/or `CHECK`-fail based denial of service.
```python
import tensorflow as tf
input = tf.zeros([1, 1, 1], dtype=tf.int32)
seq_lengths = tf.constant([0], shape=[1], dtype=... | 2021-05-21 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/ecf768cbe50cedc0a45ce1ee223146a3d3d26d23 | ecf768cbe50cedc0a45ce1ee223146a3d3d26d23 | SINGLE | ['ecf768cbe50cedc0a45ce1ee223146a3d3d26d23'] | {'5b3b071975e01f0d250c928b2a8f901cd53b90a7'} | ecf768cbe50cedc0a45ce1ee223146a3d3d26d23 | 1 | 05/05/2021, 19:07:57 | Add missing validations to reverse_sequence_op
PiperOrigin-RevId: 372178683
Change-Id: Iac97ebab5b342f1262c77a7d9bcb4267b305ce5b | Mihai Maruseac | null | {'additions': 4, 'deletions': 0, 'total': 4} | [
{
"additions": 4,
"changes": 4,
"deletions": 0,
"patch": "@@ -115,6 +115,10 @@ class ReverseSequenceOp : public OpKernel {\n : OpKernel(context) {\n OP_REQUIRES_OK(context, context->GetAttr(\"batch_dim\", &batch_dim_));\n OP_REQUIRES_OK(context, context->GetAttr(\"seq_dim\", &seq_dim_)... | cc | CWE-119 | [
"tensorflow/core/kernels/reverse_sequence_op.cc"
] | tensorflow/core/kernels/reverse_sequence_op.cc | 1 |
async def message(self, ctx: commands.Context): @message.command(name="mention") @commands.guild_only() async def with_mention(self, ctx: commands.Context, message: str = None): """Set stream alert message when mentions are enabled. Use `{mention}` in the message to insert the selected me... | async def message(self, ctx: commands.Context): @message.command(name="mention") @commands.guild_only() async def with_mention(self, ctx: commands.Context, *, message: str = None): """Set stream alert message when mentions are enabled. Use `{mention}` in the message to insert the selected... | GHSA-7257-96vg-qf6x | {'CWE-74', 'CWE-94'} | 8.5 | {'https://github.com/Cog-Creators/Red-DiscordBot/pull/4183/commits/e269ea0d3bc88417163c18431b1df38a9be92bfc'} | osv | Remote Code Execution in Red Discord Bot ### Impact
A RCE exploit has been discovered in the Streams module: this exploit allows Discord users with specifically crafted "going live" messages to inject code into the Streams module's going live message. By abusing this exploit, it's possible to perform destructive action... | 2020-08-21 | 1 | https://github.com/Cog-Creators/Red-DiscordBot | https://github.com/Cog-Creators/Red-DiscordBot/pull/4183/commits/e269ea0d3bc88417163c18431b1df38a9be92bfc | e269ea0d3bc88417163c18431b1df38a9be92bfc | SINGLE | ['e269ea0d3bc88417163c18431b1df38a9be92bfc'] | {'9798538438ceb37c0592aa358f6f0c5784878d71'} | e269ea0d3bc88417163c18431b1df38a9be92bfc | 1 | 08/11/2020, 22:40:06 | Added consume all to streams. | Kowlin | null | {'additions': 13, 'deletions': 9, 'total': 22} | [
{
"additions": 13,
"changes": 22,
"deletions": 9,
"patch": "@@ -497,14 +497,13 @@ async def message(self, ctx: commands.Context):\n \n @message.command(name=\"mention\")\n @commands.guild_only()\n- async def with_mention(self, ctx: commands.Context, message: str = None):\n+ async def w... | py | CWE-94 | [
"redbot/cogs/streams/streams.py"
] | redbot/cogs/streams/streams.py | 1 |
var commandsHandler = withUser(func(w http.ResponseWriter, r *http.Request, d *d } } if !d.server.EnableExec || !d.user.CanExecute(strings.Split(raw, " ")[0]) { if err := conn.WriteMessage(websocket.TextMessage, cmdNotAllowed); err != nil { //nolint:govet wsErr(conn, r, http.StatusInternalServerError, err) ... | var commandsHandler = withUser(func(w http.ResponseWriter, r *http.Request, d *d } } command, err := runner.ParseCommand(d.settings, raw) if err != nil { if err := conn.WriteMessage(websocket.TextMessage, []byte(err.Error())); err != nil { //nolint:govet wsErr(conn, r, http.StatusInternalServerError, err) ... | GHSA-72wf-hwcq-65h9 | {'CWE-352'} | 8.8 | {'https://github.com/filebrowser/filebrowser/commit/74b7cd8e81840537a8206317344f118093153e8d'} | osv | Cross-Site Request Forgery in Filebrowser A Cross-Site Request Forgery (CSRF) vulnerability exists in Filebrowser < 2.18.0 that allows attackers to create a backdoor user with admin privilege and get access to the filesystem via a malicious HTML webpage that is sent to the victim. | 2022-02-05 | 1 | https://github.com/filebrowser/filebrowser | https://github.com/filebrowser/filebrowser/commit/74b7cd8e81840537a8206317344f118093153e8d | 74b7cd8e81840537a8206317344f118093153e8d | SINGLE | ['74b7cd8e81840537a8206317344f118093153e8d'] | {'6cb51b4eb4751b49e7d3458c4a23589ccf16790b'} | 74b7cd8e81840537a8206317344f118093153e8d | 1 | 10/31/2021, 16:13:16 | fix: security issue in command runner (closes #1621) | Oleg Lobanov | null | {'additions': 6, 'deletions': 6, 'total': 12} | [
{
"additions": 6,
"changes": 12,
"deletions": 6,
"patch": "@@ -59,19 +59,19 @@ var commandsHandler = withUser(func(w http.ResponseWriter, r *http.Request, d *d\n \t\t}\n \t}\n \n-\tif !d.server.EnableExec || !d.user.CanExecute(strings.Split(raw, \" \")[0]) {\n-\t\tif err := conn.WriteMessage(websock... | go | CWE-352 | [
"http/commands.go"
] | http/commands.go | 1 |
?> <h2><?php echo $t['multi-user']; ?></h2> <span class="heading"><?php echo $t['Username']; ?></span><br> <?php echo $_SESSION['username'];?><br><br> <?php } ?> | ?> <h2><?php echo $t['multi-user']; ?></h2> <span class="heading"><?php echo $t['Username']; ?></span><br> <?php echo xssClean($_SESSION['username'], "html");?><br><br> <?php } ?> | GHSA-73q9-7pwj-gm46 | {'CWE-79'} | 5.4 | {'https://github.com/icecoder/icecoder/commit/51cf24b2a39138e6a7b5739ef59eb38cd7c39763'} | osv | icecoder is vulnerable to Cross-site Scripting icecoder is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | 2022-01-21 | 1 | https://github.com/icecoder/icecoder | https://github.com/icecoder/icecoder/commit/51cf24b2a39138e6a7b5739ef59eb38cd7c39763 | 51cf24b2a39138e6a7b5739ef59eb38cd7c39763 | SINGLE | ['51cf24b2a39138e6a7b5739ef59eb38cd7c39763'] | {'cd964f816f31828011593405e024ee3b4c0f6ed3'} | 51cf24b2a39138e6a7b5739ef59eb38cd7c39763 | 1 | 01/17/2022, 12:38:29 | rXSS cleaned username in editor info display | Matt Pass | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -150,7 +150,7 @@\n ?>\n <h2><?php echo $t['multi-user']; ?></h2>\n <span class=\"heading\"><?php echo $t['Username']; ?></span><br>\n- <?php echo $_SESSION['username'];?><br><br>\n+ ... | php | CWE-79 | [
"editor.php"
] | editor.php | 1 |
import sys import datetime from functools import wraps from werkzeug.utils import secure_filename from werkzeug.security import generate_password_hash, check_password_hash from flask import Flask, request, jsonify, render_template, flash, redirect, url_for, session, send_file, make_response from flask_login import log... | import sys import datetime from functools import wraps from werkzeug.utils import secure_filename, safe_join from werkzeug.security import generate_password_hash, check_password_hash from flask import Flask, request, jsonify, render_template, flash, redirect, url_for, session, send_file, make_response from flask_login... | GHSA-7488-6x3r-23w5 | {'CWE-22'} | 9.3 | {'https://github.com/ganga-devs/ganga/commit/730e7aba192407d35eb37dd7938d49071124be8c'} | osv | ganga before 8.5.10 allows absolute path traversal because the Flask send_file function is used unsafely The ganga-devs/ganga repository before 8.5.10 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely. | 2022-07-13 | 1 | https://github.com/ganga-devs/ganga | https://github.com/ganga-devs/ganga/commit/730e7aba192407d35eb37dd7938d49071124be8c | 730e7aba192407d35eb37dd7938d49071124be8c | SINGLE | ['730e7aba192407d35eb37dd7938d49071124be8c'] | {'0c0f9e33b36ee7ead0855f1464f8d4efad26bdbc'} | 730e7aba192407d35eb37dd7938d49071124be8c | 1 | 05/09/2022, 23:19:28 | # Absolute Path Traversal due to incorrect use of `send_file` call (#2025)
A path traversal attack (also known as directory traversal) aims to access files and directories that are stored outside the web root folder. By manipulating variables that reference files with “dot-dot-slash (../)” sequences and its variations... | porcupineyhairs | null | {'additions': 2, 'deletions': 2, 'total': 4} | [
{
"additions": 2,
"changes": 4,
"deletions": 2,
"patch": "@@ -12,7 +12,7 @@\n import sys\n import datetime\n from functools import wraps\n-from werkzeug.utils import secure_filename\n+from werkzeug.utils import secure_filename, safe_join\n from werkzeug.security import generate_password_hash, check_... | py | CWE-22 | [
"ganga/GangaGUI/gui/routes.py"
] | ganga/GangaGUI/gui/routes.py | 1 |
export function deepMerge(target: any, source: any): any { if (source === undefined || source === null) return target; for (const key of Object.keys(source)) { if (source[key] === undefined) continue; if (target[key] && isObject(source[key])) { deepMerge(target[key], source[key]); | export function deepMerge(target: any, source: any): any { if (source === undefined || source === null) return target; for (const key of Object.keys(source)) { if (source[key] === undefined || key === '__proto__') continue; if (target[key] && isObject(source[key])) { deepMerge(target[key], source[k... | GHSA-74cr-77xc-8g6r | {'CWE-400', 'CWE-1321'} | 7.3 | {'https://github.com/apollographql/apollo-server/commit/cea7397582a293af6a5f60947da34b95e669c6c1'} | osv | Prototype Pollution in @apollo/gateway Versions of `@apollo/gateway` prior to 0.6.2 are vulnerable to Prototype Pollution. The package uses deepMerge() to merge objects, which may allow attackers to alter the Object prototype through queries with GraphQL aliases. Carefully constructed payloads can override properties o... | 2019-06-13 | 1 | https://github.com/apollographql/apollo-server | https://github.com/apollographql/apollo-server/commit/cea7397582a293af6a5f60947da34b95e669c6c1 | cea7397582a293af6a5f60947da34b95e669c6c1 | SINGLE | ['cea7397582a293af6a5f60947da34b95e669c6c1'] | {'116e1b46ae8a58d5b77038d66588f208eb9b6e2a'} | cea7397582a293af6a5f60947da34b95e669c6c1 | 1 | 06/04/2019, 22:58:07 | Ignore __proto__ fields in deepMerge | Trevor Scheer | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -4,7 +4,7 @@ export function deepMerge(target: any, source: any): any {\n if (source === undefined || source === null) return target;\n \n for (const key of Object.keys(source)) {\n- if (source[key] === undefined) continue;\n+ if... | ts | CWE-400 | [
"packages/apollo-gateway/src/utilities/deepMerge.ts"
] | packages/apollo-gateway/src/utilities/deepMerge.ts | 1 |
* limitations under the License. */ function loadSessionsTable(sessions) { $.each(sessions, function(index, session) { $("#interactive-sessions .sessions-table-body").append( "<tr>" + tdWrap(uiLink("session/" + session.id, session.id)) + tdWrap(appIdLink(session)) + tdWrap(sessio... | * limitations under the License. */ function escapeHtml(unescapedText) { return $("<div>").text(unescapedText).html() } function loadSessionsTable(sessions) { $.each(sessions, function(index, session) { $("#interactive-sessions .sessions-table-body").append( "<tr>" + tdWrap(uiLink("session/" ... | GHSA-74qp-233x-p5j8 | {'CWE-79'} | 5.4 | {'https://github.com/apache/incubator-livy/commit/4d8a912699683b973eee76d4e91447d769a0cb0d'} | osv | Cross-site scripting (XSS) in Apache Livy Livy server version 0.7.0-incubating (only) is vulnerable to a cross site scripting issue in the session name. A malicious user could use this flaw to access logs and results of other users' sessions and run jobs with their privileges. This issue is fixed in Livy 0.7.1-incubati... | 2021-05-13 | 1 | https://github.com/apache/incubator-livy | https://github.com/apache/incubator-livy/commit/4d8a912699683b973eee76d4e91447d769a0cb0d | 4d8a912699683b973eee76d4e91447d769a0cb0d | SINGLE | ['4d8a912699683b973eee76d4e91447d769a0cb0d'] | {'97cf2f75929ef6c152afc468adbead269bd0758f'} | 4d8a912699683b973eee76d4e91447d769a0cb0d | 1 | 08/15/2020, 00:25:54 | Add html escape to session name
## What changes were proposed in this pull request?
The PR adds HTML escaping to session names.
## How was this patch tested?
Manual test.
Author: Marco Gaido <mgaido@apache.org>
Closes #302 from mgaido91/escape_html. | Marco Gaido | null | {'additions': 7, 'deletions': 3, 'total': 10} | [
{
"additions": 7,
"changes": 10,
"deletions": 3,
"patch": "@@ -15,13 +15,17 @@\n * limitations under the License.\n */\n \n+function escapeHtml(unescapedText) {\n+ return $(\"<div>\").text(unescapedText).html()\n+}\n+\n function loadSessionsTable(sessions) {\n $.each(sessions, function(index, s... | js | CWE-79 | [
"server/src/main/resources/org/apache/livy/server/ui/static/js/all-sessions.js"
] | server/src/main/resources/org/apache/livy/server/ui/static/js/all-sessions.js | 1 |
Status ValidateShapes(OpKernelContext* ctx, const Tensor& hypothesis_indices, return errors::InvalidArgument( "truth_shape should be a vector, but got shape: ", truth_shape.shape().DebugString()); if (hypothesis_shape.NumElements() != hypothesis_indices.dim_size(1)) return errors::InvalidArgu... | Status ValidateShapes(OpKernelContext* ctx, const Tensor& hypothesis_indices, return errors::InvalidArgument( "truth_shape should be a vector, but got shape: ", truth_shape.shape().DebugString()); if (hypothesis_values.NumElements() != hypothesis_indices.dim_size(0)) return errors::InvalidArg... | GHSA-75f6-78jr-4656 | {'CWE-476'} | 2.5 | {'https://github.com/tensorflow/tensorflow/commit/f4c364a5d6880557f6f5b6eb5cee2c407f0186b3'} | osv | Null pointer dereference in `EditDistance` ### Impact
An attacker can trigger a null pointer dereference in the implementation of `tf.raw_ops.EditDistance`:
```python
import tensorflow as tf
hypothesis_indices = tf.constant([247, 247, 247], shape=[1, 3], dtype=tf.int64)
hypothesis_values = tf.constant([-9.9999],... | 2021-05-21 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/f4c364a5d6880557f6f5b6eb5cee2c407f0186b3 | f4c364a5d6880557f6f5b6eb5cee2c407f0186b3 | SINGLE | ['f4c364a5d6880557f6f5b6eb5cee2c407f0186b3'] | {'79865b542f9ffdc9caeb255631f7c56f1d4b6517'} | f4c364a5d6880557f6f5b6eb5cee2c407f0186b3 | 1 | 05/05/2021, 01:06:03 | Fix multiple issues in EditDistance
PiperOrigin-RevId: 372033948
Change-Id: Ieb957c29894af05bdfeb1a0402fced808dfcfd7b | Mihai Maruseac | null | {'additions': 47, 'deletions': 0, 'total': 47} | [
{
"additions": 47,
"changes": 47,
"deletions": 0,
"patch": "@@ -64,6 +64,12 @@ Status ValidateShapes(OpKernelContext* ctx, const Tensor& hypothesis_indices,\n return errors::InvalidArgument(\n \"truth_shape should be a vector, but got shape: \",\n truth_shape.shape().DebugString(... | cc | CWE-476 | [
"tensorflow/core/kernels/edit_distance_op.cc"
] | tensorflow/core/kernels/edit_distance_op.cc | 1 |
struct LaunchConvOp<CPUDevice, T> { errors::InvalidArgument("CPU implementation of Conv3D " "currently only supports dilated rates " "of 1.")); functor::CuboidConvolution<CPUDevice, T>()( context->eigen_device<C... | struct LaunchConvOp<CPUDevice, T> { errors::InvalidArgument("CPU implementation of Conv3D " "currently only supports dilated rates " "of 1.")); OP_REQUIRES(context, filter.dim_size(3) == input.dim_size(input.dims() - 1)... | GHSA-772p-x54p-hjrv | {'CWE-369'} | 2.5 | {'https://github.com/tensorflow/tensorflow/commit/799f835a3dfa00a4d852defa29b15841eea9d64f'} | osv | Division by zero in `Conv3D` ### Impact
A malicious user could trigger a division by 0 in `Conv3D` implementation:
```python
import tensorflow as tf
input_tensor = tf.constant([], shape=[0, 0, 0, 0, 0], dtype=tf.float32)
filter_tensor = tf.constant([], shape=[0, 0, 0, 0, 0], dtype=tf.float32)
tf.raw_ops.Conv3D(input... | 2021-05-21 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/799f835a3dfa00a4d852defa29b15841eea9d64f | 799f835a3dfa00a4d852defa29b15841eea9d64f | SINGLE | ['799f835a3dfa00a4d852defa29b15841eea9d64f'] | {'42033603003965bffac51ae171b51801565e002d'} | 799f835a3dfa00a4d852defa29b15841eea9d64f | 1 | 04/19/2021, 16:56:46 | Fix 2 issues with `Conv3D`.
We have an issue where the dimensions are not matching and this causes Eigen to crash on an assert.
Then, we have an issue where we accidentally do a division by 0.
PiperOrigin-RevId: 369242785
Change-Id: Ie94067b2d41f58699af99ebb5af335ad9defd931 | Mihai Maruseac | null | {'additions': 7, 'deletions': 0, 'total': 7} | [
{
"additions": 7,
"changes": 7,
"deletions": 0,
"patch": "@@ -69,6 +69,11 @@ struct LaunchConvOp<CPUDevice, T> {\n errors::InvalidArgument(\"CPU implementation of Conv3D \"\n \"currently only supports dilated rates \"\n ... | cc | CWE-369 | [
"tensorflow/core/kernels/conv_ops_3d.cc"
] | tensorflow/core/kernels/conv_ops_3d.cc | 1 |
StatusOr<FullTypeDef> SpecializeType(const AttrSlice& attrs, // verifications are needed, they should be done by separately, and in a // way that can be reused for type inference. for (int j = 0; j < t->args_size(); j++) { auto* arg = t->mutable_args(i); if (arg->type_id() == TFT_VAR) { ... | StatusOr<FullTypeDef> SpecializeType(const AttrSlice& attrs, // verifications are needed, they should be done by separately, and in a // way that can be reused for type inference. for (int j = 0; j < t->args_size(); j++) { auto* arg = t->mutable_args(j); if (arg->type_id() == TFT_VAR) { ... | GHSA-77gp-3h4r-6428 | {'CWE-787', 'CWE-125'} | 8.8 | {'https://github.com/tensorflow/tensorflow/commit/0657c83d08845cc434175934c642299de2c0f042'} | osv | Out of bounds read and write in Tensorflow ### Impact
There is a typo in TensorFlow's [`SpecializeType`](https://github.com/tensorflow/tensorflow/blob/a1320ec1eac186da1d03f033109191f715b2b130/tensorflow/core/framework/full_type_util.cc#L81-L102) which results in heap OOB read/write:
```cc
for (int i = 0; i < op_def.ou... | 2022-02-09 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/0657c83d08845cc434175934c642299de2c0f042 | 0657c83d08845cc434175934c642299de2c0f042 | SINGLE | ['0657c83d08845cc434175934c642299de2c0f042'] | {'6e65b0b4ad12fdaa223e87b4ae6d8cb762fcae2b'} | 0657c83d08845cc434175934c642299de2c0f042 | 1 | 11/09/2021, 12:44:43 | Fix heap OOB read/write due to incorrect indexing.
PiperOrigin-RevId: 408578046
Change-Id: Ifc9ffea49e5890f55fcb2c27568611052c3ddcfa | Mihai Maruseac | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -100,7 +100,7 @@ StatusOr<FullTypeDef> SpecializeType(const AttrSlice& attrs,\n // verifications are needed, they should be done by separately, and in a\n // way that can be reused for type inference.\n for (int j = 0; j < t->a... | cc | CWE-125 | [
"tensorflow/core/framework/full_type_util.cc"
] | tensorflow/core/framework/full_type_util.cc | 1 |
StatusOr<FullTypeDef> SpecializeType(const AttrSlice& attrs, // verifications are needed, they should be done by separately, and in a // way that can be reused for type inference. for (int j = 0; j < t->args_size(); j++) { auto* arg = t->mutable_args(i); if (arg->type_id() == TFT_VAR) { ... | StatusOr<FullTypeDef> SpecializeType(const AttrSlice& attrs, // verifications are needed, they should be done by separately, and in a // way that can be reused for type inference. for (int j = 0; j < t->args_size(); j++) { auto* arg = t->mutable_args(j); if (arg->type_id() == TFT_VAR) { ... | GHSA-77gp-3h4r-6428 | {'CWE-787', 'CWE-125'} | 8.8 | {'https://github.com/tensorflow/tensorflow/commit/0657c83d08845cc434175934c642299de2c0f042'} | osv | Out of bounds read and write in Tensorflow ### Impact
There is a typo in TensorFlow's [`SpecializeType`](https://github.com/tensorflow/tensorflow/blob/a1320ec1eac186da1d03f033109191f715b2b130/tensorflow/core/framework/full_type_util.cc#L81-L102) which results in heap OOB read/write:
```cc
for (int i = 0; i < op_def.ou... | 2022-02-09 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/0657c83d08845cc434175934c642299de2c0f042 | 0657c83d08845cc434175934c642299de2c0f042 | SINGLE | ['0657c83d08845cc434175934c642299de2c0f042'] | {'6e65b0b4ad12fdaa223e87b4ae6d8cb762fcae2b'} | 0657c83d08845cc434175934c642299de2c0f042 | 1 | 11/09/2021, 12:44:43 | Fix heap OOB read/write due to incorrect indexing.
PiperOrigin-RevId: 408578046
Change-Id: Ifc9ffea49e5890f55fcb2c27568611052c3ddcfa | Mihai Maruseac | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -100,7 +100,7 @@ StatusOr<FullTypeDef> SpecializeType(const AttrSlice& attrs,\n // verifications are needed, they should be done by separately, and in a\n // way that can be reused for type inference.\n for (int j = 0; j < t->a... | cc | CWE-787 | [
"tensorflow/core/framework/full_type_util.cc"
] | tensorflow/core/framework/full_type_util.cc | 1 |
static void SpatialMaxPoolWithArgMaxHelper( // CHECK(input_backprop_index >= in_start && input_backprop_index < // in_end) FastBoundsCheck(input_backprop_index - in_start, in_end - in_start); input_backprop_flat(input_backprop_index) += out_backprop_flat(index); } } }; | static void SpatialMaxPoolWithArgMaxHelper( // CHECK(input_backprop_index >= in_start && input_backprop_index < // in_end) FastBoundsCheck(input_backprop_index - in_start, in_end - in_start); if (index < out_backprop.NumElements()) { input_backprop_flat(input_backprop_index) +... | GHSA-79fv-9865-4qcv | {'CWE-787', 'CWE-119'} | 2.5 | {'https://github.com/tensorflow/tensorflow/commit/a74768f8e4efbda4def9f16ee7e13cf3922ac5f7'} | osv | Heap buffer overflow in `MaxPoolGrad` ### Impact
The implementation of `tf.raw_ops.MaxPoolGrad` is vulnerable to a heap buffer overflow:
```python
import tensorflow as tf
orig_input = tf.constant([0.0], shape=[1, 1, 1, 1], dtype=tf.float32)
orig_output = tf.constant([0.0], shape=[1, 1, 1, 1], dtype=tf.float32)
grad... | 2021-05-21 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/a74768f8e4efbda4def9f16ee7e13cf3922ac5f7 | a74768f8e4efbda4def9f16ee7e13cf3922ac5f7 | SINGLE | ['a74768f8e4efbda4def9f16ee7e13cf3922ac5f7'] | {'ab1e644b48c82cb71493f4362b4dd38f4577a1cf'} | a74768f8e4efbda4def9f16ee7e13cf3922ac5f7 | 1 | 05/06/2021, 21:24:09 | Prevent heap OOB error in `MaxPoolGrad`
PiperOrigin-RevId: 372424854
Change-Id: Idac0f23867ad8b0601cafbaaa52d5e64269e63a7 | Mihai Maruseac | null | {'additions': 3, 'deletions': 1, 'total': 4} | [
{
"additions": 3,
"changes": 4,
"deletions": 1,
"patch": "@@ -199,7 +199,9 @@ static void SpatialMaxPoolWithArgMaxHelper(\n // CHECK(input_backprop_index >= in_start && input_backprop_index <\n // in_end)\n FastBoundsCheck(input_backprop_index - in_start, in_end - in_start);\... | cc | CWE-119 | [
"tensorflow/core/kernels/maxpooling_op.cc"
] | tensorflow/core/kernels/maxpooling_op.cc | 1 |
static void SpatialMaxPoolWithArgMaxHelper( // CHECK(input_backprop_index >= in_start && input_backprop_index < // in_end) FastBoundsCheck(input_backprop_index - in_start, in_end - in_start); input_backprop_flat(input_backprop_index) += out_backprop_flat(index); } } }; | static void SpatialMaxPoolWithArgMaxHelper( // CHECK(input_backprop_index >= in_start && input_backprop_index < // in_end) FastBoundsCheck(input_backprop_index - in_start, in_end - in_start); if (index < out_backprop.NumElements()) { input_backprop_flat(input_backprop_index) +... | GHSA-79fv-9865-4qcv | {'CWE-787', 'CWE-119'} | 2.5 | {'https://github.com/tensorflow/tensorflow/commit/a74768f8e4efbda4def9f16ee7e13cf3922ac5f7'} | osv | Heap buffer overflow in `MaxPoolGrad` ### Impact
The implementation of `tf.raw_ops.MaxPoolGrad` is vulnerable to a heap buffer overflow:
```python
import tensorflow as tf
orig_input = tf.constant([0.0], shape=[1, 1, 1, 1], dtype=tf.float32)
orig_output = tf.constant([0.0], shape=[1, 1, 1, 1], dtype=tf.float32)
grad... | 2021-05-21 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/a74768f8e4efbda4def9f16ee7e13cf3922ac5f7 | a74768f8e4efbda4def9f16ee7e13cf3922ac5f7 | SINGLE | ['a74768f8e4efbda4def9f16ee7e13cf3922ac5f7'] | {'ab1e644b48c82cb71493f4362b4dd38f4577a1cf'} | a74768f8e4efbda4def9f16ee7e13cf3922ac5f7 | 1 | 05/06/2021, 21:24:09 | Prevent heap OOB error in `MaxPoolGrad`
PiperOrigin-RevId: 372424854
Change-Id: Idac0f23867ad8b0601cafbaaa52d5e64269e63a7 | Mihai Maruseac | null | {'additions': 3, 'deletions': 1, 'total': 4} | [
{
"additions": 3,
"changes": 4,
"deletions": 1,
"patch": "@@ -199,7 +199,9 @@ static void SpatialMaxPoolWithArgMaxHelper(\n // CHECK(input_backprop_index >= in_start && input_backprop_index <\n // in_end)\n FastBoundsCheck(input_backprop_index - in_start, in_end - in_start);\... | cc | CWE-787 | [
"tensorflow/core/kernels/maxpooling_op.cc"
] | tensorflow/core/kernels/maxpooling_op.cc | 1 |
public function scopeSearch(Builder $query, array $search = []) return $query; } if (!array_intersect(array_keys($search), $this->searchable)) { return $query; } return $query->where($search); } } | public function scopeSearch(Builder $query, array $search = []) return $query; } $allowed_search = array_intersect_key($search, array_flip($this->searchable)); if (! $allowed_search) { return $query; } return $query->where($allowed_search); } } | GHSA-79mg-4w23-4fqc | {'CWE-89', 'CWE-287'} | 8.1 | {'https://github.com/fiveai/Cachet/commit/27bca8280419966ba80c6fa283d985ddffa84bb6'} | osv | Unauthenticated SQL Injection in Cachet ### Impact
In Cachet versions through 2.3.18, there is a SQL injection which is in the `SearchableTrait#scopeSearch()`. Attackers without authentication can utilize this vulnerability to exfiltrate sensitive data from the database such as administrator's password and session.
##... | 2021-08-30 | 1 | https://github.com/fiveai/Cachet | https://github.com/fiveai/Cachet/commit/27bca8280419966ba80c6fa283d985ddffa84bb6 | 27bca8280419966ba80c6fa283d985ddffa84bb6 | SINGLE | ['27bca8280419966ba80c6fa283d985ddffa84bb6'] | {'8c1a2c27d4a46777a78bceefa7f3fee297ebe7be'} | 27bca8280419966ba80c6fa283d985ddffa84bb6 | 1 | 01/15/2021, 14:17:35 | Ensure only allowed searchable columns are used in DB Query | Seb Dangerfield | null | {'additions': 3, 'deletions': 2, 'total': 5} | [
{
"additions": 3,
"changes": 5,
"deletions": 2,
"patch": "@@ -34,10 +34,11 @@ public function scopeSearch(Builder $query, array $search = [])\n return $query;\n }\n \n- if (!array_intersect(array_keys($search), $this->searchable)) {\n+ $allowed_search = array_inters... | php | CWE-287 | [
"app/Models/Traits/SearchableTrait.php"
] | app/Models/Traits/SearchableTrait.php | 1 |
public function scopeSearch(Builder $query, array $search = []) return $query; } if (!array_intersect(array_keys($search), $this->searchable)) { return $query; } return $query->where($search); } } | public function scopeSearch(Builder $query, array $search = []) return $query; } $allowed_search = array_intersect_key($search, array_flip($this->searchable)); if (! $allowed_search) { return $query; } return $query->where($allowed_search); } } | GHSA-79mg-4w23-4fqc | {'CWE-89', 'CWE-287'} | 8.1 | {'https://github.com/fiveai/Cachet/commit/27bca8280419966ba80c6fa283d985ddffa84bb6'} | osv | Unauthenticated SQL Injection in Cachet ### Impact
In Cachet versions through 2.3.18, there is a SQL injection which is in the `SearchableTrait#scopeSearch()`. Attackers without authentication can utilize this vulnerability to exfiltrate sensitive data from the database such as administrator's password and session.
##... | 2021-08-30 | 1 | https://github.com/fiveai/Cachet | https://github.com/fiveai/Cachet/commit/27bca8280419966ba80c6fa283d985ddffa84bb6 | 27bca8280419966ba80c6fa283d985ddffa84bb6 | SINGLE | ['27bca8280419966ba80c6fa283d985ddffa84bb6'] | {'8c1a2c27d4a46777a78bceefa7f3fee297ebe7be'} | 27bca8280419966ba80c6fa283d985ddffa84bb6 | 1 | 01/15/2021, 14:17:35 | Ensure only allowed searchable columns are used in DB Query | Seb Dangerfield | null | {'additions': 3, 'deletions': 2, 'total': 5} | [
{
"additions": 3,
"changes": 5,
"deletions": 2,
"patch": "@@ -34,10 +34,11 @@ public function scopeSearch(Builder $query, array $search = [])\n return $query;\n }\n \n- if (!array_intersect(array_keys($search), $this->searchable)) {\n+ $allowed_search = array_inters... | php | CWE-89 | [
"app/Models/Traits/SearchableTrait.php"
] | app/Models/Traits/SearchableTrait.php | 1 |
(function ($) { 'use strict'; // Polyfill for browsers with no classList support // Remove in v2 if (!('classList' in document.createElement('_'))) { dropdownAlignRight: false, windowPadding: 0, virtualScroll: 600, display: false }; if (version.major === '4') { emptyMenu =... | (function ($) { 'use strict'; var DISALLOWED_ATTRIBUTES = ['sanitize', 'whiteList', 'sanitizeFn']; var uriAttrs = [ 'background', 'cite', 'href', 'itemtype', 'longdesc', 'poster', 'src', 'xlink:href' ]; var ARIA_ATTRIBUTE_PATTERN = /^aria-[\w-]*$/i; var DefaultWhitelist ... | GHSA-7c82-mp33-r854 | {'CWE-79'} | 6.1 | {'https://github.com/snapappointments/bootstrap-select/commit/ab6e068748040cf3cda5859f6349b382402b8767'} | osv | Cross-site scripting in bootstrap-select bootstrap-select before 1.13.6 allows Cross-Site Scripting (XSS). It does not escape title values in OPTION elements. This may allow attackers to execute arbitrary JavaScript in a victim's browser. | 2021-05-07 | 1 | https://github.com/snapappointments/bootstrap-select | https://github.com/snapappointments/bootstrap-select/commit/ab6e068748040cf3cda5859f6349b382402b8767 | ab6e068748040cf3cda5859f6349b382402b8767 | SINGLE | ['ab6e068748040cf3cda5859f6349b382402b8767'] | {'bbd306de22fbcede9016cf7e335fd8ce34d6629d'} | ab6e068748040cf3cda5859f6349b382402b8767 | 1 | 03/07/2019, 23:05:50 | add sanitize option for data-content (#2199) | Casey Holzer | null | {'additions': 167, 'deletions': 6, 'total': 173} | [
{
"additions": 167,
"changes": 173,
"deletions": 6,
"patch": "@@ -1,6 +1,128 @@\n (function ($) {\n 'use strict';\n \n+ var DISALLOWED_ATTRIBUTES = ['sanitize', 'whiteList', 'sanitizeFn'];\n+\n+ var uriAttrs = [\n+ 'background',\n+ 'cite',\n+ 'href',\n+ 'itemtype',\n+ 'longdesc',\... | js | CWE-79 | [
"js/bootstrap-select.js"
] | js/bootstrap-select.js | 1 |
class MaxPooling3dGradGradOp : public OpKernel { Pool3dParameters params{context, ksize_, stride_, padding_, data_format_, tensor_in.shape()}; Tensor* output = nullptr; OP_REQUIRES_OK(context, context->forward_input_or_allocate_output( class MaxPooling3dGradGradOp : pub... | class MaxPooling3dGradGradOp : public OpKernel { Pool3dParameters params{context, ksize_, stride_, padding_, data_format_, tensor_in.shape()}; if (!context->status().ok()) return; // params is invalid Tensor* output = nullptr; OP_REQUIRES_OK(context, context->forwa... | GHSA-7cqx-92hp-x6wh | {'CWE-787', 'CWE-119'} | 2.5 | {'https://github.com/tensorflow/tensorflow/commit/63c6a29d0f2d692b247f7bf81f8732d6442fad09'} | osv | Heap buffer overflow in `MaxPool3DGradGrad` ### Impact
The implementation of `tf.raw_ops.MaxPool3DGradGrad` is vulnerable to a heap buffer overflow:
```python
import tensorflow as tf
values = [0.01] * 11
orig_input = tf.constant(values, shape=[11, 1, 1, 1, 1], dtype=tf.float32)
orig_output = tf.constant([0.01], shap... | 2021-05-21 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/63c6a29d0f2d692b247f7bf81f8732d6442fad09 | 63c6a29d0f2d692b247f7bf81f8732d6442fad09 | SINGLE | ['63c6a29d0f2d692b247f7bf81f8732d6442fad09'] | {'596c05a159b6fbb9e39ca10b3f7753b7244fa1e9'} | 63c6a29d0f2d692b247f7bf81f8732d6442fad09 | 1 | 05/06/2021, 01:07:02 | Add missing validation, prevent heap OOB
PiperOrigin-RevId: 372246723
Change-Id: I1a454a643810e77d7d14821b342098c56a09fbbf | Mihai Maruseac | null | {'additions': 12, 'deletions': 0, 'total': 12} | [
{
"additions": 12,
"changes": 12,
"deletions": 0,
"patch": "@@ -693,6 +693,7 @@ class MaxPooling3dGradGradOp : public OpKernel {\n \n Pool3dParameters params{context, ksize_, stride_,\n padding_, data_format_, tensor_in.shape()};\n+ if (!context->status().ok... | cc | CWE-119 | [
"tensorflow/core/kernels/pooling_ops_3d.cc"
] | tensorflow/core/kernels/pooling_ops_3d.cc | 1 |
class MaxPooling3dGradGradOp : public OpKernel { Pool3dParameters params{context, ksize_, stride_, padding_, data_format_, tensor_in.shape()}; Tensor* output = nullptr; OP_REQUIRES_OK(context, context->forward_input_or_allocate_output( class MaxPooling3dGradGradOp : pub... | class MaxPooling3dGradGradOp : public OpKernel { Pool3dParameters params{context, ksize_, stride_, padding_, data_format_, tensor_in.shape()}; if (!context->status().ok()) return; // params is invalid Tensor* output = nullptr; OP_REQUIRES_OK(context, context->forwa... | GHSA-7cqx-92hp-x6wh | {'CWE-787', 'CWE-119'} | 2.5 | {'https://github.com/tensorflow/tensorflow/commit/63c6a29d0f2d692b247f7bf81f8732d6442fad09'} | osv | Heap buffer overflow in `MaxPool3DGradGrad` ### Impact
The implementation of `tf.raw_ops.MaxPool3DGradGrad` is vulnerable to a heap buffer overflow:
```python
import tensorflow as tf
values = [0.01] * 11
orig_input = tf.constant(values, shape=[11, 1, 1, 1, 1], dtype=tf.float32)
orig_output = tf.constant([0.01], shap... | 2021-05-21 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/63c6a29d0f2d692b247f7bf81f8732d6442fad09 | 63c6a29d0f2d692b247f7bf81f8732d6442fad09 | SINGLE | ['63c6a29d0f2d692b247f7bf81f8732d6442fad09'] | {'596c05a159b6fbb9e39ca10b3f7753b7244fa1e9'} | 63c6a29d0f2d692b247f7bf81f8732d6442fad09 | 1 | 05/06/2021, 01:07:02 | Add missing validation, prevent heap OOB
PiperOrigin-RevId: 372246723
Change-Id: I1a454a643810e77d7d14821b342098c56a09fbbf | Mihai Maruseac | null | {'additions': 12, 'deletions': 0, 'total': 12} | [
{
"additions": 12,
"changes": 12,
"deletions": 0,
"patch": "@@ -693,6 +693,7 @@ class MaxPooling3dGradGradOp : public OpKernel {\n \n Pool3dParameters params{context, ksize_, stride_,\n padding_, data_format_, tensor_in.shape()};\n+ if (!context->status().ok... | cc | CWE-787 | [
"tensorflow/core/kernels/pooling_ops_3d.cc"
] | tensorflow/core/kernels/pooling_ops_3d.cc | 1 |
export class URLSearchParams { function validateBaseUrl(url: string) { // from this MIT-licensed gist: https://gist.github.com/dperini/729294 return /^(?:(?:(?:https?|ftp):)?\/\/)(?:(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-... | export class URLSearchParams { function validateBaseUrl(url: string) { // from this MIT-licensed gist: https://gist.github.com/dperini/729294 return /^(?:(?:(?:https?|ftp):)?\/\/)(?:(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00... | GHSA-7f53-fmmv-mfjv | {'CWE-400'} | 7.5 | {'https://github.com/facebook/react-native/commit/ca09ae82715e33c9ac77b3fa55495cf84ba891c7'} | osv | Regular expression denial of service in react-native A regular expression denial of service (ReDoS) vulnerability in the validateBaseUrl function can cause the application to use excessive resources, become unresponsive, or crash. This was introduced in react-native version 0.59.0 and fixed in version 0.64.1. | 2021-07-20 | 1 | https://github.com/facebook/react-native | https://github.com/facebook/react-native/commit/ca09ae82715e33c9ac77b3fa55495cf84ba891c7 | ca09ae82715e33c9ac77b3fa55495cf84ba891c7 | SINGLE | ['ca09ae82715e33c9ac77b3fa55495cf84ba891c7'] | {'166a5ddf88aca0d0235e48c624681eec095e9ef8'} | ca09ae82715e33c9ac77b3fa55495cf84ba891c7 | 1 | 04/29/2021, 21:51:29 | Update validateBaseUrl to use latest regex
Summary:
Updating the regex to avoid a potential regular expression denial-of-service vulnerability.
Changelog: Update validateBaseUrl to use a more robust regular expression. Fixes CVE-2020-1920, GHSL-2020-293
Reviewed By: lunaleaps
Differential Revision: D25507604
fbshi... | Neal Poole | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -107,7 +107,7 @@ export class URLSearchParams {\n \n function validateBaseUrl(url: string) {\n // from this MIT-licensed gist: https://gist.github.com/dperini/729294\n- return /^(?:(?:(?:https?|ftp):)?\\/\\/)(?:(?:[1-9]\\d?|1\\d\\d|2[01... | js | CWE-400 | [
"Libraries/Blob/URL.js"
] | Libraries/Blob/URL.js | 1 |
class ResourceScatterUpdateOp : public OpKernel { params->dim_size(0), ")")); } else { int64_t num_updates = updates.NumElements(); OP_REQUIRES(c, num_updates % N == 0, errors::InvalidArgument( "shape of indices (", indices.shape... | class ResourceScatterUpdateOp : public OpKernel { params->dim_size(0), ")")); } else { int64_t num_updates = updates.NumElements(); OP_REQUIRES( c, TensorShapeUtils::StartsWith(updates.shape(), indices.shape()), errors::InvalidArgument( ... | GHSA-7fvx-3jfc-2cpc | {'CWE-125'} | 7.3 | {'https://github.com/tensorflow/tensorflow/commit/01cff3f986259d661103412a20745928c727326f'} | osv | Heap OOB in `ResourceScatterUpdate` ### Impact
An attacker can trigger a read from outside of bounds of heap allocated data by sending invalid arguments to `tf.raw_ops.ResourceScatterUpdate`:
```python
import tensorflow as tf
v = tf.Variable([b'vvv'])
tf.raw_ops.ResourceScatterUpdate(
resource=v.handle,
indices=[... | 2021-08-25 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/01cff3f986259d661103412a20745928c727326f | 01cff3f986259d661103412a20745928c727326f | SINGLE | ['01cff3f986259d661103412a20745928c727326f'] | {'96f364a1ca3009f98980021c4b32be5fdcca33a1'} | 01cff3f986259d661103412a20745928c727326f | 1 | 08/02/2021, 20:33:05 | Fix heap OOB due to dimension mismatch in `ResourceScatterUpdate`
PiperOrigin-RevId: 388292801
Change-Id: Id9bd7244d98d41b1517d4771850b32782c0cc949 | Mihai Maruseac | null | {'additions': 6, 'deletions': 5, 'total': 11} | [
{
"additions": 6,
"changes": 11,
"deletions": 5,
"patch": "@@ -955,11 +955,12 @@ class ResourceScatterUpdateOp : public OpKernel {\n params->dim_size(0), \")\"));\n } else {\n int64_t num_updates = updates.NumElements();\n- OP_REQUIRES(c, num_updates % N ... | cc | CWE-125 | [
"tensorflow/core/kernels/resource_variable_ops.cc"
] | tensorflow/core/kernels/resource_variable_ops.cc | 1 |
func (c *Conn) handleIncomingPacket(buf []byte) (*alert, error) { c.log.Trace("<- ChangeCipherSpec") c.setRemoteEpoch(c.getRemoteEpoch() + 1) case *applicationData: c.decrypted <- content.data default: return &alert{alertLevelFatal, alertUnexpectedMessage}, fmt.Errorf("unhandled contentType %d", content.cont... | func (c *Conn) handleIncomingPacket(buf []byte) (*alert, error) { c.log.Trace("<- ChangeCipherSpec") c.setRemoteEpoch(c.getRemoteEpoch() + 1) case *applicationData: if h.epoch == 0 { return &alert{alertLevelFatal, alertUnexpectedMessage}, fmt.Errorf("ApplicationData with epoch of 0") } c.decrypted <- co... | GHSA-7gfg-6934-mqq2 | {'CWE-287'} | 5.6 | {'https://github.com/pion/dtls/commit/fd73a5df2ff0e1fb6ae6a51e2777d7a16cc4f4e0'} | osv | Improper Authenication in Pion DTLS handleIncomingPacket in conn.go in Pion DTLS before 1.5.2 lacks a check for application data with epoch 0, which allows remote attackers to inject arbitrary unencrypted data after handshake completion. | 2021-06-29 | 1 | https://github.com/pion/dtls | https://github.com/pion/dtls/commit/fd73a5df2ff0e1fb6ae6a51e2777d7a16cc4f4e0 | fd73a5df2ff0e1fb6ae6a51e2777d7a16cc4f4e0 | SINGLE | ['fd73a5df2ff0e1fb6ae6a51e2777d7a16cc4f4e0'] | {'82948855ecb86a9e0b86c8dd43d010cbc545dc94'} | fd73a5df2ff0e1fb6ae6a51e2777d7a16cc4f4e0 | 1 | 10/11/2019, 09:12:16 | Assert that ApplicationData has epoch != 0
Otherwise we may accept unencrypted/unauthenticated ApplicationData
from a remote | Sean DuBois | null | {'additions': 4, 'deletions': 0, 'total': 4} | [
{
"additions": 4,
"changes": 4,
"deletions": 0,
"patch": "@@ -559,6 +559,10 @@ func (c *Conn) handleIncomingPacket(buf []byte) (*alert, error) {\n \t\tc.log.Trace(\"<- ChangeCipherSpec\")\n \t\tc.setRemoteEpoch(c.getRemoteEpoch() + 1)\n \tcase *applicationData:\n+\t\tif h.epoch == 0 {\n+\t\t\treturn... | go | CWE-287 | [
"conn.go"
] | conn.go | 1 |
import org.apache.kylin.metadata.project.RealizationEntry; import org.apache.kylin.metadata.realization.RealizationStatusEnum; import org.apache.kylin.metadata.realization.RealizationType; import org.apache.kylin.metrics.property.QueryCubePropertyEnum; import org.apache.kylin.rest.constant.Constant; import org.apache.... | import org.apache.kylin.metadata.project.RealizationEntry; import org.apache.kylin.metadata.realization.RealizationStatusEnum; import org.apache.kylin.metadata.realization.RealizationType; import org.apache.kylin.metrics.MetricsManager; import org.apache.kylin.metrics.property.QueryCubePropertyEnum; import org.apache.... | GHSA-7hmh-8gwv-mfvq | {'CWE-89'} | 6.5 | {'https://github.com/apache/kylin/commit/e373c64c96a54a7abfe4bccb82e8feb60db04749'} | osv | SQL Injection in Kylin Kylin has some restful apis which will concatenate SQLs with the user input string, a user is likely to be able to run malicious database queries. | 2020-07-27 | 1 | https://github.com/apache/kylin | https://github.com/apache/kylin/commit/e373c64c96a54a7abfe4bccb82e8feb60db04749 | e373c64c96a54a7abfe4bccb82e8feb60db04749 | SINGLE | ['e373c64c96a54a7abfe4bccb82e8feb60db04749'] | {'ebfc745dd681d7e0c129ded50bd50ff509d2a393'} | e373c64c96a54a7abfe4bccb82e8feb60db04749 | 1 | 02/07/2020, 12:22:59 | Fix sql injection issue | nichunen | null | {'additions': 51, 'deletions': 30, 'total': 81} | [
{
"additions": 51,
"changes": 81,
"deletions": 30,
"patch": "@@ -71,6 +71,7 @@\n import org.apache.kylin.metadata.project.RealizationEntry;\n import org.apache.kylin.metadata.realization.RealizationStatusEnum;\n import org.apache.kylin.metadata.realization.RealizationType;\n+import org.apache.kylin.... | java | CWE-89 | [
"server-base/src/main/java/org/apache/kylin/rest/service/CubeService.java"
] | server-base/src/main/java/org/apache/kylin/rest/service/CubeService.java | 1 |
hello.utils.extend(hello.utils, { // (URI Fragments within 302 Location URI are lost over HTTPS) // Loading the redirect.html before triggering the OAuth Flow seems to fix it. else if ('oauth_redirect' in p) { location.assign(decodeURIComponent(p.oauth_redirect)); return; } | hello.utils.extend(hello.utils, { // (URI Fragments within 302 Location URI are lost over HTTPS) // Loading the redirect.html before triggering the OAuth Flow seems to fix it. else if ('oauth_redirect' in p) { var url = decodeURIComponent(p.oauth_redirect); if (isValidUrl(url)) { location.assign(url);... | GHSA-7jh9-6cpf-h4m7 | {'CWE-79'} | 0 | {'https://github.com/MrSwitch/hello.js/commit/d6f5137f30de6e0ef7048191ee6ae575fdc2f669'} | osv | XSS in hello.js This affects the package hello.js before 1.18.6. The code get the param oauth_redirect from url and pass it to location.assign without any check and sanitisation. So we can simply pass some XSS payloads into the url param oauth_redirect, such as javascript:alert(1). | 2021-01-13 | 1 | https://github.com/MrSwitch/hello.js | https://github.com/MrSwitch/hello.js/commit/d6f5137f30de6e0ef7048191ee6ae575fdc2f669 | d6f5137f30de6e0ef7048191ee6ae575fdc2f669 | SINGLE | ['d6f5137f30de6e0ef7048191ee6ae575fdc2f669'] | {'3b79ec93781b3d7b9c0b56f598e060301d1f3e73'} | d6f5137f30de6e0ef7048191ee6ae575fdc2f669 | 1 | 10/06/2020, 11:20:56 | fix(xss): oauth_redirect should be a valid url | Andrew Dodson | null | {'additions': 5, 'deletions': 1, 'total': 6} | [
{
"additions": 5,
"changes": 6,
"deletions": 1,
"patch": "@@ -1388,8 +1388,12 @@ hello.utils.extend(hello.utils, {\n \t\t// (URI Fragments within 302 Location URI are lost over HTTPS)\n \t\t// Loading the redirect.html before triggering the OAuth Flow seems to fix it.\n \t\telse if ('oauth_redirect'... | js | CWE-79 | [
"src/hello.js"
] | src/hello.js | 1 |
var AuthenticationContext = (function () { this._openedWindows = []; this._requestType = this.REQUEST_TYPE.LOGIN; window._adalInstance = this; this._storageSupport = { localStorage: null, sessionStorage: null }; // validate before constructor ass... | var AuthenticationContext = (function () { this._openedWindows = []; this._requestType = this.REQUEST_TYPE.LOGIN; window._adalInstance = this; // validate before constructor assignments if (config.displayCall && typeof config.displayCall !== 'function') { var AuthenticationCont... | GHSA-7mpx-vg3c-cmr4 | {'CWE-287'} | 8.2 | {'https://github.com/salvoravida/react-adal/commit/74158dba1647b12fe96fa401e306a6287fe9e2a9'} | osv | Improper Authentication in react-adal This affects versions of react-adal < 0.5.1. It is possible for a specially crafted JWT token and request URL can cause the nonce, session and refresh values to be incorrectly validated, causing the application to treat an attacker-generated JWT token as authentic. The logical defe... | 2021-04-13 | 1 | https://github.com/salvoravida/react-adal | https://github.com/salvoravida/react-adal/commit/74158dba1647b12fe96fa401e306a6287fe9e2a9 | 74158dba1647b12fe96fa401e306a6287fe9e2a9 | SINGLE | ['74158dba1647b12fe96fa401e306a6287fe9e2a9'] | {'e82bc421d70805ff308e11a1f0f1fcd7fb2b3186'} | 74158dba1647b12fe96fa401e306a6287fe9e2a9 | 1 | 10/05/2020, 20:19:06 | ADAL.js update | Kris Hardy | null | {'additions': 32, 'deletions': 51, 'total': 83} | [
{
"additions": 32,
"changes": 83,
"deletions": 51,
"patch": "@@ -135,10 +135,6 @@ var AuthenticationContext = (function () {\n this._openedWindows = [];\n this._requestType = this.REQUEST_TYPE.LOGIN;\n window._adalInstance = this;\n- this._storageSupport = {\n- ... | js | CWE-287 | [
"src/adal.js"
] | src/adal.js | 1 |
public URL createURL(String spaces, String name, String queryString, String anch XWikiDocument.backupContext(backup, context); try { sxDocument.setAsContextDoc(context); return processSx(spaceNames, name, queryString, context, exportContext); } finally { XWik... | public URL createURL(String spaces, String name, String queryString, String anch XWikiDocument.backupContext(backup, context); try { sxDocument.setAsContextDoc(context); return processSx(sxDocument.getId(), queryString, context, exportContext); } finally { XW... | GHSA-7ph6-5cmq-xgjq | {'CWE-22'} | 6.8 | {'https://github.com/xwiki/xwiki-platform/commit/ab778254fb8f71c774e1c1239368c44fe3b6bba5'} | osv | Path traversal in xwiki-platform-skin-skinx XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. AbstractSxExportURLFactoryActionHandler#processSx does not escape anything from SSX document reference when serializing it on filesystem, so it's easy to mess up the HTML ... | 2022-02-09 | 1 | https://github.com/xwiki/xwiki-platform | https://github.com/xwiki/xwiki-platform/commit/ab778254fb8f71c774e1c1239368c44fe3b6bba5 | ab778254fb8f71c774e1c1239368c44fe3b6bba5 | SINGLE | ['ab778254fb8f71c774e1c1239368c44fe3b6bba5'] | {'9e4d40d03960b20233f6887bc142fe4474f620c4'} | ab778254fb8f71c774e1c1239368c44fe3b6bba5 | 1 | 07/07/2021, 14:02:50 | XWIKI-18819: It's possible to save pretty much anything anywhere by creating and using an SSX/JSX containing "../" in its reference | Thomas Mortagne | null | {'additions': 7, 'deletions': 11, 'total': 18} | [
{
"additions": 7,
"changes": 18,
"deletions": 11,
"patch": "@@ -100,13 +100,13 @@ public URL createURL(String spaces, String name, String queryString, String anch\n XWikiDocument.backupContext(backup, context);\n try {\n sxDocument.setAsContextDoc(context);\n- ... | java | CWE-22 | [
"xwiki-platform-core/xwiki-platform-skin/xwiki-platform-skin-skinx/src/main/java/org/xwiki/skinx/internal/AbstractSxExportURLFactoryActionHandler.java"
] | xwiki-platform-core/xwiki-platform-skin/xwiki-platform-skin-skinx/src/main/java/org/xwiki/skinx/internal/AbstractSxExportURLFactoryActionHandler.java | 1 |
<h1><a href="https://threejs.org">three.js</a></h1> const oldIframe = iframe; iframe = oldIframe.cloneNode(); if ( hash ) { iframe.src = splitHash[ 0 ] + '.html' + splitHash[ 1 ]; subtitle = titles[ splitHash[ 0 ] ] + splitHash[ 1 ] + ' – '; | <h1><a href="https://threejs.org">three.js</a></h1> const oldIframe = iframe; iframe = oldIframe.cloneNode(); if ( hash && titles[ splitHash[ 0 ] ] ) { iframe.src = splitHash[ 0 ] + '.html' + splitHash[ 1 ]; subtitle = titles[ splitHash[ 0 ] ] + splitHash[ 1 ] + ' – '; | GHSA-7vvq-7r29-5vg3 | {'CWE-79'} | 7.1 | {'https://github.com/mrdoob/three.js/commit/0c31bc605e21965aad8a6479bb1969351773f76d'} | osv | Cross site scripting in three.js # CVE has been withdrawn
Versions of three.js prior to 0.137.0 load untrusted iframes and allow for attackers to inject arbitrary javascript into a users browser. | 2022-01-27 | 1 | https://github.com/mrdoob/three.js | https://github.com/mrdoob/three.js/commit/0c31bc605e21965aad8a6479bb1969351773f76d | 0c31bc605e21965aad8a6479bb1969351773f76d | SINGLE | ['0c31bc605e21965aad8a6479bb1969351773f76d'] | {'55d4f24cb50e995b0dfee73979305e8237384a53'} | 0c31bc605e21965aad8a6479bb1969351773f76d | 1 | 01/24/2022, 17:39:24 | Only load trusted iframe (#23245) | Rohan Sharma | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -498,7 +498,7 @@ <h1><a href=\"https://threejs.org\">three.js</a></h1>\n \t\t\tconst oldIframe = iframe;\n \t\t\tiframe = oldIframe.cloneNode();\n \n-\t\t\tif ( hash ) {\n+\t\t\tif ( hash && titles[ splitHash[ 0 ] ] ) {\n \n \t\t\t\tiframe... | html | CWE-79 | [
"docs/index.html"
] | docs/index.html | 1 |
}); api_expose('users/search_authors', function ($params = false) { $return = array(); $kw = false; if (isset($params['kw'])) { | }); api_expose_admin('users/search_authors', function ($params = false) { $return = array(); $kw = false; if (isset($params['kw'])) { | GHSA-7wv8-g97r-432h | {'CWE-200'} | 7.5 | {'https://github.com/microweber/microweber/commit/e680e134a4215c979bfd2eaf58336be34c8fc6e6'} | osv | Exposure of Sensitive Information to an Unauthorized Actor in microweber Exposure of Sensitive Information to an Unauthorized Actor in Packagist microweber/microweber prior to 1.2.11. | 2022-01-21 | 1 | https://github.com/microweber/microweber | https://github.com/microweber/microweber/commit/e680e134a4215c979bfd2eaf58336be34c8fc6e6 | e680e134a4215c979bfd2eaf58336be34c8fc6e6 | SINGLE | ['e680e134a4215c979bfd2eaf58336be34c8fc6e6'] | {'62aa09ed44ff63f5fffc5addbf000423d7c38e44'} | e680e134a4215c979bfd2eaf58336be34c8fc6e6 | 1 | 01/19/2022, 09:35:10 | search_authors only admins | Bozhidar Slaveykov | null | {'additions': 2, 'deletions': 2, 'total': 4} | [
{
"additions": 2,
"changes": 4,
"deletions": 2,
"patch": "@@ -63,9 +63,9 @@\n \n });\n \n-api_expose('users/search_authors', function ($params = false) {\n+api_expose_admin('users/search_authors', function ($params = false) {\n \n- $return = array();\n+ $return = array(); \n \n $kw = false... | php | CWE-200 | [
"src/MicroweberPackages/User/helpers/api_user.php"
] | src/MicroweberPackages/User/helpers/api_user.php | 1 |
Route::post('content/delete', function (\Illuminate\Http\Request $request) { return mw()->content_manager->helpers->delete($request->all()); }); Route::get('content/get_link_admin', function (\Illuminate\Http\Request $request) { | Route::post('content/delete', function (\Illuminate\Http\Request $request) { return mw()->content_manager->helpers->delete($request->all()); }); Route::get('content/get_link_admin', function (\Illuminate\Http\Request $request) { | GHSA-7x2h-3v2v-24p9 | {'CWE-352'} | 6.5 | {'https://github.com/microweber/microweber/commit/63447b369973724f0d352a006f25af6ff71ae292'} | osv | Cross-Site Request Forgery in microweber microweber version 1.2.10 and prior is vulnerable to cross-site request forgery. | 2022-02-09 | 1 | https://github.com/microweber/microweber | https://github.com/microweber/microweber/commit/63447b369973724f0d352a006f25af6ff71ae292 | 63447b369973724f0d352a006f25af6ff71ae292 | SINGLE | ['63447b369973724f0d352a006f25af6ff71ae292'] | {'d61ad9db07ef09652a3deb24c26274da2ded1493'} | 63447b369973724f0d352a006f25af6ff71ae292 | 1 | 02/02/2022, 11:06:34 | Update api.php | Bozhidar Slaveykov | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -75,7 +75,7 @@\n \n Route::post('content/delete', function (\\Illuminate\\Http\\Request $request) {\n return mw()->content_manager->helpers->delete($request->all());\n- });\n+ }); \n \n Route::get(... | php | CWE-352 | [
"src/MicroweberPackages/Content/routes/api.php"
] | src/MicroweberPackages/Content/routes/api.php | 1 |
class MaxPooling3dGradGradOp : public OpKernel { OP_REQUIRES_OK(context, context->forward_input_or_allocate_output( {2}, 0, tensor_out.shape(), &output)); LaunchMaxPooling3dGradGradOp<Device, T>::launch( context, params, tensor_in, tensor_out, out_grad_backprop, output)... | class MaxPooling3dGradGradOp : public OpKernel { OP_REQUIRES_OK(context, context->forward_input_or_allocate_output( {2}, 0, tensor_out.shape(), &output)); // Given access patterns in LaunchMaxPooling3dGradGradOp, these tensors must // have elements. OP_REQUIRES(context,... | GHSA-828x-qc2p-wprq | {'CWE-476'} | 2.5 | {'https://github.com/tensorflow/tensorflow/commit/a3d9f9be9ac2296615644061b40cefcee341dcc4'} | osv | Undefined behavior in `MaxPool3DGradGrad` ### Impact
The implementation of `tf.raw_ops.MaxPool3DGradGrad` exhibits undefined behavior by dereferencing null pointers backing attacker-supplied empty tensors:
```python
import tensorflow as tf
orig_input = tf.constant([0.0], shape=[1, 1, 1, 1, 1], dtype=tf.float32)
orig_... | 2021-05-21 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/a3d9f9be9ac2296615644061b40cefcee341dcc4 | a3d9f9be9ac2296615644061b40cefcee341dcc4 | SINGLE | ['a3d9f9be9ac2296615644061b40cefcee341dcc4'] | {'72fe792967e7fd25234342068806707bbc116618'} | a3d9f9be9ac2296615644061b40cefcee341dcc4 | 1 | 05/05/2021, 22:20:14 | Add missing validation to pooling_ops_3d
PiperOrigin-RevId: 372218727
Change-Id: I6b9ed4266aa7286c02f1f230d7bea922c1be547e | Mihai Maruseac | null | {'additions': 13, 'deletions': 0, 'total': 13} | [
{
"additions": 13,
"changes": 13,
"deletions": 0,
"patch": "@@ -698,6 +698,19 @@ class MaxPooling3dGradGradOp : public OpKernel {\n OP_REQUIRES_OK(context, context->forward_input_or_allocate_output(\n {2}, 0, tensor_out.shape(), &output));\n \n+ // Given access... | cc | CWE-476 | [
"tensorflow/core/kernels/pooling_ops_3d.cc"
] | tensorflow/core/kernels/pooling_ops_3d.cc | 1 |
public function isDangerFilename($filename){ || $isDangerStr($filename , "%") || $isDangerStr($filename , ".xml") || $isDangerStr($filename , ".xxhtml") ) { return true; } | public function isDangerFilename($filename){ || $isDangerStr($filename , "%") || $isDangerStr($filename , ".xml") || $isDangerStr($filename , ".xxhtml") || $isDangerStr($filename , ".aspx") ) { return true; } | GHSA-82j4-vr25-x394 | {'CWE-79'} | 5.4 | {'https://github.com/star7th/showdoc/commit/78522520892d4e29cc94148c6ec84a204a607b73'} | osv | Cross-site Scripting in ShowDoc ShowDoc is vulnerable to stored cross-site scripting due to unrestricted file upload in versions 2.10.3 and prior. A patch is available and anticipated to be part of version 2.10.4. | 2022-03-15 | 1 | https://github.com/star7th/showdoc | https://github.com/star7th/showdoc/commit/78522520892d4e29cc94148c6ec84a204a607b73 | 78522520892d4e29cc94148c6ec84a204a607b73 | SINGLE | ['78522520892d4e29cc94148c6ec84a204a607b73'] | {'52d1d902084387bec22a64e6027f100e939733c8', '830c89a4c2c5fd0dd491422bf8e97b4eb5713f55'} | 78522520892d4e29cc94148c6ec84a204a607b73 | 1 | 03/13/2022, 10:39:59 | Merge pull request #1629 from ajaysenr/master
Update AttachmentModel.class.php | star7th | null | {'additions': 1, 'deletions': 0, 'total': 1} | [
{
"additions": 1,
"changes": 1,
"deletions": 0,
"patch": "@@ -304,6 +304,7 @@ public function isDangerFilename($filename){\n \t\t\t|| $isDangerStr($filename , \"%\")\n \t\t\t|| $isDangerStr($filename , \".xml\")\n \t\t\t|| $isDangerStr($filename , \".xxhtml\")\n+\t\t\t|| $isDangerStr($filename , \".... | php | CWE-79 | [
"server/Application/Api/Model/AttachmentModel.class.php"
] | server/Application/Api/Model/AttachmentModel.class.php | 1 |
function expand(str, isTop) { var isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body); var isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body); var isSequence = isNumericSequence || isAlphaSequence; var isOptions = /^(.*,)+(.+)?$/.test(m.body); if (!isSequence && !isOptions) {... | function expand(str, isTop) { var isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body); var isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body); var isSequence = isNumericSequence || isAlphaSequence; var isOptions = m.body.indexOf(',') >= 0; if (!isSequence && !isOptions) { ... | GHSA-832h-xg76-4gv6 | {'CWE-20'} | 7.5 | {'https://github.com/juliangruber/brace-expansion/pull/35/commits/b13381281cead487cbdbfd6a69fb097ea5e456c3'} | osv | ReDoS in brace-expansion Affected versions of `brace-expansion` are vulnerable to a regular expression denial of service condition.
## Proof of Concept
```
var expand = require('brace-expansion');
expand('{,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,\n}');
```
##... | 2018-01-29 | 1 | https://github.com/juliangruber/brace-expansion | https://github.com/juliangruber/brace-expansion/pull/35/commits/b13381281cead487cbdbfd6a69fb097ea5e456c3 | b13381281cead487cbdbfd6a69fb097ea5e456c3 | SINGLE | ['b13381281cead487cbdbfd6a69fb097ea5e456c3'] | {'265f6cd6586383eebebbfc3c45da2eaa153d9e63'} | b13381281cead487cbdbfd6a69fb097ea5e456c3 | 1 | 04/07/2017, 02:32:55 | fix bug in https://github.com/juliangruber/brace-expansion/issues/33 | mengyuan.ymy | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -106,7 +106,7 @@ function expand(str, isTop) {\n var isNumericSequence = /^-?\\d+\\.\\.-?\\d+(?:\\.\\.-?\\d+)?$/.test(m.body);\n var isAlphaSequence = /^[a-zA-Z]\\.\\.[a-zA-Z](?:\\.\\.-?\\d+)?$/.test(m.body);\n var isSequence = isNum... | js | CWE-20 | [
"index.js"
] | index.js | 1 |
bool HdrDecoder::readData(Mat& _img) bool HdrDecoder::checkSignature( const String& signature ) const { if(signature.size() >= m_signature.size() && (!memcmp(signature.c_str(), m_signature.c_str(), m_signature.size()) || !memcmp(signature.c_str(), m_signature_alt.c_str(), m_signature_alt.size()))) ... | bool HdrDecoder::readData(Mat& _img) bool HdrDecoder::checkSignature( const String& signature ) const { if (signature.size() >= m_signature.size() && 0 == memcmp(signature.c_str(), m_signature.c_str(), m_signature.size()) ) return true; if (signature.size() >= m_signature_alt.size() && ... | GHSA-83rh-hx5x-q9p5 | {'CWE-125'} | 7.5 | {'https://github.com/opencv/opencv/pull/10480/commits/4ca89db22dea962690f31c1781bce5937ee91837'} | osv | Out-of-bounds Read in OpenCV In OpenCV 3.3.1 (corresponding with OpenCV-Python 3.3.1.11), a heap-based buffer over-read exists in the function cv::HdrDecoder::checkSignature in modules/imgcodecs/src/grfmt_hdr.cpp. | 2021-10-12 | 1 | https://github.com/opencv/opencv | https://github.com/opencv/opencv/pull/10480/commits/4ca89db22dea962690f31c1781bce5937ee91837 | 4ca89db22dea962690f31c1781bce5937ee91837 | SINGLE | ['4ca89db22dea962690f31c1781bce5937ee91837'] | {'30373d2566a3ec097f0418dc2661ec03fcfb71d6'} | 4ca89db22dea962690f31c1781bce5937ee91837 | 1 | 01/01/2018, 13:12:21 | imgproc(hdr): fix bounds check in HdrDecoder::checkSignature() | Alexander Alekhin | null | {'additions': 8, 'deletions': 4, 'total': 12} | [
{
"additions": 8,
"changes": 12,
"deletions": 4,
"patch": "@@ -101,10 +101,14 @@ bool HdrDecoder::readData(Mat& _img)\n \n bool HdrDecoder::checkSignature( const String& signature ) const\n {\n- if(signature.size() >= m_signature.size() &&\n- (!memcmp(signature.c_str(), m_signature.c_str(),... | cpp | CWE-125 | [
"modules/imgcodecs/src/grfmt_hdr.cpp"
] | modules/imgcodecs/src/grfmt_hdr.cpp | 1 |
from apkleaks.colors import clr from contextlib import closing from distutils.spawn import find_executable from pyaxmlparser import APK from urllib.request import urlopen from zipfile import ZipFile def decompile(self): classes.write(zipped.read("classes.dex")) except Exception as e: sys.exit(self.writeln(... | from apkleaks.colors import clr from contextlib import closing from distutils.spawn import find_executable from pipes import quote from pyaxmlparser import APK from urllib.request import urlopen from zipfile import ZipFile def decompile(self): classes.write(zipped.read("classes.dex")) except Exception as e: ... | GHSA-8434-v7xw-8m9x | {'CWE-88', 'CWE-78'} | 9.3 | {'https://github.com/dwisiswant0/apkleaks/commit/a966e781499ff6fd4eea66876d7532301b13a382'} | osv | Improper Neutralization of Argument Delimiters in a Decompiling Package Process in APKLeaks APKLeaks prior to v2.0.4 allows remote authenticated attackers to execute arbitrary OS commands via package name inside the application manifest.
### Impact
An authenticated attacker could include arguments that allow unintend... | 2022-01-21 | 1 | https://github.com/dwisiswant0/apkleaks | https://github.com/dwisiswant0/apkleaks/commit/a966e781499ff6fd4eea66876d7532301b13a382 | a966e781499ff6fd4eea66876d7532301b13a382 | SINGLE | ['a966e781499ff6fd4eea66876d7532301b13a382'] | {'8577b7af6224bf0a5455b552963c46721308d2ff'} | a966e781499ff6fd4eea66876d7532301b13a382 | 1 | 03/14/2021, 15:25:42 | Escapes decompiling arguments | Dwi Siswanto | null | {'additions': 4, 'deletions': 2, 'total': 6} | [
{
"additions": 4,
"changes": 6,
"deletions": 2,
"patch": "@@ -2,6 +2,7 @@\n from apkleaks.colors import clr\n from contextlib import closing\n from distutils.spawn import find_executable\n+from pipes import quote\n from pyaxmlparser import APK\n from urllib.request import urlopen\n from zipfile impo... | py | CWE-78 | [
"apkleaks/apkleaks.py"
] | apkleaks/apkleaks.py | 1 |
Decimal128.fromString = function(string) { // Trim the string string = string.trim(); // Results var stringMatch = string.match(PARSE_STRING_REGEXP); var infMatch = string.match(PARSE_INF_REGEXP); | Decimal128.fromString = function(string) { // Trim the string string = string.trim(); // Naively prevent against REDOS attacks. // TODO: implementing a custom parsing for this, or refactoring the regex would yield // further gains. if (string.length >= 7000) { throw new Error('' + string + ' not... | GHSA-8462-q7x7-g2x4 | {'CWE-400', 'CWE-185'} | 7.5 | {'https://github.com/mongodb/js-bson/commit/bd61c45157c53a1698ff23770160cf4783e9ea4a'} | osv | High severity vulnerability that affects bson The MongoDB bson JavaScript module (also known as js-bson) versions 0.5.0 to 1.0.x before 1.0.5 is vulnerable to a Regular Expression Denial of Service (ReDoS) in lib/bson/decimal128.js. The flaw is triggered when the Decimal128.fromString() function is called to parse a lo... | 2018-09-17 | 1 | https://github.com/mongodb/js-bson | https://github.com/mongodb/js-bson/commit/bd61c45157c53a1698ff23770160cf4783e9ea4a | bd61c45157c53a1698ff23770160cf4783e9ea4a | SINGLE | ['bd61c45157c53a1698ff23770160cf4783e9ea4a'] | {'e403bd94faadee80cd82bae888e28b8b4d6d1e8d'} | bd61c45157c53a1698ff23770160cf4783e9ea4a | 1 | 02/26/2018, 20:09:27 | fix(decimal128): add basic guard against REDOS attacks
This is a naive approach to reducing the efficacy of a REDOS attack
against this module. A refactor of the regular expression or a
custom parser substitute would be ideal, however this solution
suffices as a stopgap until such work is completed.
Many thanks to Ja... | Matt Broadstone | null | {'additions': 7, 'deletions': 0, 'total': 7} | [
{
"additions": 7,
"changes": 7,
"deletions": 0,
"patch": "@@ -235,6 +235,13 @@ Decimal128.fromString = function(string) {\n // Trim the string\n string = string.trim();\n \n+ // Naively prevent against REDOS attacks.\n+ // TODO: implementing a custom parsing for this, or refactoring the regex ... | js | CWE-400 | [
"lib/bson/decimal128.js"
] | lib/bson/decimal128.js | 1 |
const resolveConflicts = require('./resolve-conflicts'); const commitAndTag = require('./commit-and-tag'); const gitRemoveAll = require('./git-remove-all'); const createCustomRemote = require('./create-custom-remote'); const { isGitClean } = gitStatus; const { gitConfigInit } = gitInit; module.exports = async functio... | const resolveConflicts = require('./resolve-conflicts'); const commitAndTag = require('./commit-and-tag'); const gitRemoveAll = require('./git-remove-all'); const createCustomRemote = require('./create-custom-remote'); const { runWithSpawn } = require('./run'); const { isGitClean } = gitStatus; const { gitConfigInit ... | GHSA-84cm-v6jp-gjmr | {'CWE-78'} | 9.8 | {'https://github.com/kellyselden/git-diff-apply/commit/106d61d3ae723b4257c2a13e67b95eb40a27e0b5'} | osv | OS command injection in git-diff-apply In "index.js" file line 240, the run command executes the git command with a user controlled variable called remoteUrl. This affects git-diff-apply all versions prior to 0.22.2. | 2020-02-14 | 1 | https://github.com/kellyselden/git-diff-apply | https://github.com/kellyselden/git-diff-apply/commit/106d61d3ae723b4257c2a13e67b95eb40a27e0b5 | 106d61d3ae723b4257c2a13e67b95eb40a27e0b5 | SINGLE | ['106d61d3ae723b4257c2a13e67b95eb40a27e0b5'] | {'bfcc903a961d9f17bde1889cf49745a2dffefd73'} | 106d61d3ae723b4257c2a13e67b95eb40a27e0b5 | 1 | 01/06/2020, 12:05:14 | spawn git clone
to prevent injecting a command | Kelly Selden | null | {'additions': 2, 'deletions': 1, 'total': 3} | [
{
"additions": 2,
"changes": 3,
"deletions": 1,
"patch": "@@ -18,6 +18,7 @@ const resolveConflicts = require('./resolve-conflicts');\n const commitAndTag = require('./commit-and-tag');\n const gitRemoveAll = require('./git-remove-all');\n const createCustomRemote = require('./create-custom-remote');... | js | CWE-78 | [
"src/index.js"
] | src/index.js | 1 |
class RaggedTensorToVariantOp : public OpKernel { // Unbatch the Ragged Tensor and encode the components. std::vector<RaggedTensorVariant> unbatched_ragged_input; OP_REQUIRES_OK(context, UnbatchRaggedZerothDim<VALUE_TYPE, SPLIT_TYPE>( batched_ragged_input, &unbatched_ragged... | class RaggedTensorToVariantOp : public OpKernel { // Unbatch the Ragged Tensor and encode the components. std::vector<RaggedTensorVariant> unbatched_ragged_input; auto batched_splits_top_vec = batched_ragged_input.splits(0).vec<SPLIT_TYPE>(); int num_components = batched_splits_top_vec.size() ... | GHSA-84mw-34w6-2q43 | {'CWE-476'} | 2.5 | {'https://github.com/tensorflow/tensorflow/commit/b055b9c474cd376259dde8779908f9eeaf097d93'} | osv | Null pointer dereference via invalid Ragged Tensors ### Impact
Calling `tf.raw_ops.RaggedTensorToVariant` with arguments specifying an invalid ragged tensor results in a null pointer dereference:
```python
import tensorflow as tf
input_tensor = tf.constant([], shape=[0, 0, 0, 0, 0], dtype=tf.float32)
filter_tensor = ... | 2021-05-21 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/b055b9c474cd376259dde8779908f9eeaf097d93 | b055b9c474cd376259dde8779908f9eeaf097d93 | SINGLE | ['b055b9c474cd376259dde8779908f9eeaf097d93'] | {'904b3926ed1c6c70380d5313d282d248a776baa1'} | b055b9c474cd376259dde8779908f9eeaf097d93 | 1 | 04/13/2021, 21:49:50 | Fix `tf.raw_ops.RaggedTensorToVariant` invalid resize.
PiperOrigin-RevId: 368299574
Change-Id: I751c186325aa0bab397928845e790e60c2d90918 | Amit Patankar | null | {'additions': 5, 'deletions': 0, 'total': 5} | [
{
"additions": 5,
"changes": 5,
"deletions": 0,
"patch": "@@ -159,6 +159,11 @@ class RaggedTensorToVariantOp : public OpKernel {\n \n // Unbatch the Ragged Tensor and encode the components.\n std::vector<RaggedTensorVariant> unbatched_ragged_input;\n+ auto batched_splits_top_vec =\n+ ... | cc | CWE-476 | [
"tensorflow/core/kernels/ragged_tensor_to_variant_op.cc"
] | tensorflow/core/kernels/ragged_tensor_to_variant_op.cc | 1 |
def _call(env) path_info = Utils.unescape(env["PATH_INFO"]) parts = path_info.split SEPS parts.inject(0) do |depth, part| case part when '', '.' depth when '..' return fail(404, "Not Found") if depth - 1 < 0 depth - 1 else depth... | def _call(env) path_info = Utils.unescape(env["PATH_INFO"]) parts = path_info.split SEPS clean = [] parts.each do |part| next if part.empty? || part == '.' part == '..' ? clean.pop : clean << part end @path = F.join(@root, *clean) available = begin ... | GHSA-85r7-w5mv-c849 | {'CWE-22'} | 0 | {'https://github.com/rack/rack/commit/6f237e4c9fab649d3750482514f0fde76c56ab30'} | osv | Moderate severity vulnerability that affects rack rack/file.rb (Rack::File) in Rack 1.5.x before 1.5.2 and 1.4.x before 1.4.5 allows attackers to access arbitrary files outside the intended root directory via a crafted PATH_INFO environment variable, probably a directory traversal vulnerability that is remotely exploit... | 2017-10-24 | 1 | https://github.com/rack/rack | https://github.com/rack/rack/commit/6f237e4c9fab649d3750482514f0fde76c56ab30 | 6f237e4c9fab649d3750482514f0fde76c56ab30 | SINGLE | ['6f237e4c9fab649d3750482514f0fde76c56ab30'] | {'0cd7e9aa397f8ebb3b8481d67dbac8b4863a7f07'} | 6f237e4c9fab649d3750482514f0fde76c56ab30 | 1 | 02/07/2013, 00:25:22 | Prevent symlink path traversals
* Closes CVE-2013-0262 | James Tucker | null | {'additions': 6, 'deletions': 11, 'total': 17} | [
{
"additions": 6,
"changes": 17,
"deletions": 11,
"patch": "@@ -41,19 +41,14 @@ def _call(env)\n path_info = Utils.unescape(env[\"PATH_INFO\"])\n parts = path_info.split SEPS\n \n- parts.inject(0) do |depth, part|\n- case part\n- when '', '.'\n- depth\n- ... | rb | CWE-22 | [
"lib/rack/file.rb"
] | lib/rack/file.rb | 1 |
static bool checkreturn decode_static_field(pb_istream_t *stream, pb_wire_type_t } case PB_HTYPE_ONEOF: *(pb_size_t*)iter->pSize = iter->pos->tag; if (PB_LTYPE(type) == PB_LTYPE_SUBMESSAGE) { /* We memset to zero so that any callbacks are set to ... | static bool checkreturn decode_static_field(pb_istream_t *stream, pb_wire_type_t } case PB_HTYPE_ONEOF: if (PB_LTYPE(type) == PB_LTYPE_SUBMESSAGE && *(pb_size_t*)iter->pSize != iter->pos->tag) { /* We memset to zero so that any callbacks are ... | GHSA-85rr-4rh9-hhwh | {'CWE-119', 'CWE-20'} | 7.5 | {'https://github.com/nanopb/nanopb/commit/4fe23595732b6f1254cfc11a9b8d6da900b55b0c'} | osv | Memory leak in Nanopb ### Impact
Decoding specifically formed message can leak memory if dynamic allocation is enabled and an oneof field contains a static submessage that contains a dynamic field, and the message being decoded contains the submessage multiple times. This is rare in normal messages, but it is a concern... | 2020-11-25 | 1 | https://github.com/nanopb/nanopb | https://github.com/nanopb/nanopb/commit/4fe23595732b6f1254cfc11a9b8d6da900b55b0c | 4fe23595732b6f1254cfc11a9b8d6da900b55b0c | SINGLE | ['4fe23595732b6f1254cfc11a9b8d6da900b55b0c'] | {'d9d5dfd869aca4d00a81f671b2445fb4cea0352f'} | 4fe23595732b6f1254cfc11a9b8d6da900b55b0c | 1 | 11/25/2020, 09:38:40 | Fix memory leak with oneofs and PB_ENABLE_MALLOC (#615)
Nanopb would leak memory when all of the following conditions were true:
- PB_ENABLE_MALLOC is defined at the compile time
- Message definitions contains an oneof field,
the oneof contains a static submessage, and
the static submessage contains a pointer fiel... | Petteri Aimonen | null | {'additions': 6, 'deletions': 3, 'total': 9} | [
{
"additions": 6,
"changes": 9,
"deletions": 3,
"patch": "@@ -464,14 +464,17 @@ static bool checkreturn decode_static_field(pb_istream_t *stream, pb_wire_type_t\n }\n \n case PB_HTYPE_ONEOF:\n- *(pb_size_t*)iter->pSize = iter->pos->tag;\n- if (PB_LTYPE(type)... | c | CWE-20 | [
"pb_decode.c"
] | pb_decode.c | 1 |
static bool checkreturn decode_static_field(pb_istream_t *stream, pb_wire_type_t } case PB_HTYPE_ONEOF: *(pb_size_t*)iter->pSize = iter->pos->tag; if (PB_LTYPE(type) == PB_LTYPE_SUBMESSAGE) { /* We memset to zero so that any callbacks are set to ... | static bool checkreturn decode_static_field(pb_istream_t *stream, pb_wire_type_t } case PB_HTYPE_ONEOF: if (PB_LTYPE(type) == PB_LTYPE_SUBMESSAGE && *(pb_size_t*)iter->pSize != iter->pos->tag) { /* We memset to zero so that any callbacks are ... | GHSA-85rr-4rh9-hhwh | {'CWE-119', 'CWE-20'} | 7.5 | {'https://github.com/nanopb/nanopb/commit/4fe23595732b6f1254cfc11a9b8d6da900b55b0c'} | osv | Memory leak in Nanopb ### Impact
Decoding specifically formed message can leak memory if dynamic allocation is enabled and an oneof field contains a static submessage that contains a dynamic field, and the message being decoded contains the submessage multiple times. This is rare in normal messages, but it is a concern... | 2020-11-25 | 1 | https://github.com/nanopb/nanopb | https://github.com/nanopb/nanopb/commit/4fe23595732b6f1254cfc11a9b8d6da900b55b0c | 4fe23595732b6f1254cfc11a9b8d6da900b55b0c | SINGLE | ['4fe23595732b6f1254cfc11a9b8d6da900b55b0c'] | {'d9d5dfd869aca4d00a81f671b2445fb4cea0352f'} | 4fe23595732b6f1254cfc11a9b8d6da900b55b0c | 1 | 11/25/2020, 09:38:40 | Fix memory leak with oneofs and PB_ENABLE_MALLOC (#615)
Nanopb would leak memory when all of the following conditions were true:
- PB_ENABLE_MALLOC is defined at the compile time
- Message definitions contains an oneof field,
the oneof contains a static submessage, and
the static submessage contains a pointer fiel... | Petteri Aimonen | null | {'additions': 6, 'deletions': 3, 'total': 9} | [
{
"additions": 6,
"changes": 9,
"deletions": 3,
"patch": "@@ -464,14 +464,17 @@ static bool checkreturn decode_static_field(pb_istream_t *stream, pb_wire_type_t\n }\n \n case PB_HTYPE_ONEOF:\n- *(pb_size_t*)iter->pSize = iter->pos->tag;\n- if (PB_LTYPE(type)... | c | CWE-119 | [
"pb_decode.c"
] | pb_decode.c | 1 |
def approx_distance(latitude, longitude, lat_attr, lon_attr, options = {}) end def within_bounding_box(sw_lat, sw_lng, ne_lat, ne_lng, lat_attr, lon_attr) spans = "#{lat_attr} BETWEEN #{sw_lat} AND #{ne_lat} AND " # handle box that spans 180 longitude if sw_lng.to_f > ne_lng.to_f spa... | def approx_distance(latitude, longitude, lat_attr, lon_attr, options = {}) end def within_bounding_box(sw_lat, sw_lng, ne_lat, ne_lng, lat_attr, lon_attr) spans = "#{lat_attr} BETWEEN #{sw_lat.to_f} AND #{ne_lat.to_f} AND " # handle box that spans 180 longitude if sw_lng.to_f > ne_lng.to_f ... | GHSA-864j-6qpp-cmrr | {'CWE-89'} | 9.8 | {'https://github.com/alexreisner/geocoder/commit/dcdc3d8675411edce3965941a2ca7c441ca48613'} | osv | SQL Injection in Geocoder sql.rb in Geocoder before 1.6.1 allows Boolean-based SQL injection when within_bounding_box is used in conjunction with untrusted sw_lat, sw_lng, ne_lat, or ne_lng data. | 2020-06-10 | 1 | https://github.com/alexreisner/geocoder | https://github.com/alexreisner/geocoder/commit/dcdc3d8675411edce3965941a2ca7c441ca48613 | dcdc3d8675411edce3965941a2ca7c441ca48613 | SINGLE | ['dcdc3d8675411edce3965941a2ca7c441ca48613'] | {'1ff64c47b6fc21d9c5ce30a6549d9eaa67c81a9e'} | dcdc3d8675411edce3965941a2ca7c441ca48613 | 1 | 01/23/2020, 16:08:45 | Sanitize lat/lon for SQL query. | Alex Reisner | null | {'additions': 4, 'deletions': 4, 'total': 8} | [
{
"additions": 4,
"changes": 8,
"deletions": 4,
"patch": "@@ -44,13 +44,13 @@ def approx_distance(latitude, longitude, lat_attr, lon_attr, options = {})\n end\n \n def within_bounding_box(sw_lat, sw_lng, ne_lat, ne_lng, lat_attr, lon_attr)\n- spans = \"#{lat_attr} BETWEEN #{sw_lat} AND ... | rb | CWE-89 | [
"lib/geocoder/sql.rb"
] | lib/geocoder/sql.rb | 1 |
module.exports = function cast(schema, obj, options, context) { throw new Error('Query filter must be an object, got an array ', util.inspect(obj)); } const paths = Object.keys(obj); let i = paths.length; let _keys; | module.exports = function cast(schema, obj, options, context) { throw new Error('Query filter must be an object, got an array ', util.inspect(obj)); } // bson 1.x has the unfortunate tendency to remove filters that have a top-level // `_bsontype` property. Should remove this when we upgrade to bson 4.x. See... | GHSA-8687-vv9j-hgph | {'CWE-20'} | 9.1 | {'https://github.com/Automattic/mongoose/commit/f3eca5b94d822225c04e96cbeed9f095afb3c31c'} | osv | Improper Input Validation in Automattic Mongoose Automattic Mongoose through 5.7.4 allows attackers to bypass access control (in some applications) because any query object with a _bsontype attribute is ignored. For example, adding "_bsontype":"a" can sometimes interfere with a query filter. NOTE: this CVE is about Mon... | 2019-10-22 | 1 | https://github.com/Automattic/mongoose | https://github.com/Automattic/mongoose/commit/f3eca5b94d822225c04e96cbeed9f095afb3c31c | f3eca5b94d822225c04e96cbeed9f095afb3c31c | SINGLE | ['f3eca5b94d822225c04e96cbeed9f095afb3c31c'] | {'cc10e0dc441f469330c1af2822d171fcd6fa8f89'} | f3eca5b94d822225c04e96cbeed9f095afb3c31c | 1 | 10/09/2019, 22:41:25 | fix(query): delete top-level `_bsontype` property in queries to prevent silent empty queries
Fix #8222 | Valeri Karpov | null | {'additions': 6, 'deletions': 0, 'total': 6} | [
{
"additions": 6,
"changes": 6,
"deletions": 0,
"patch": "@@ -27,6 +27,12 @@ module.exports = function cast(schema, obj, options, context) {\n throw new Error('Query filter must be an object, got an array ', util.inspect(obj));\n }\n \n+ // bson 1.x has the unfortunate tendency to remove filt... | js | CWE-20 | [
"lib/cast.js"
] | lib/cast.js | 1 |
void Lowerer::LowerLdFrameDisplay(IR::Instr *instr, bool doStackFrameDisplay) if (instr->m_func != this->m_func && this->m_func->DoStackFrameDisplay()) { StackSym * inlineeFrameDisplaySym = instr->m_func->GetLocalFrameDisplaySym(); Assert(inlineeFrameDisplaySym->IsAllocated()); ... | void Lowerer::LowerLdFrameDisplay(IR::Instr *instr, bool doStackFrameDisplay) if (instr->m_func != this->m_func && this->m_func->DoStackFrameDisplay()) { StackSym * inlineeFrameDisplaySym = instr->m_func->GetLocalFrameDisplaySym(); Assert((inlineeFrameDisplaySym && inlineeFrameD... | GHSA-88cw-3m6x-49f7 | {'CWE-787'} | 7.5 | {'https://github.com/chakra-core/ChakraCore/pull/6528/commits/e81e8a51ec7ba3d0dfb6089254f166c2733216e1'} | osv | Out-of-bounds Write in ChakraCore Chakra Scripting Engine Memory Corruption Vulnerability This CVE ID is unique from CVE-2020-17048. | 2021-08-02 | 1 | https://github.com/chakra-core/ChakraCore | https://github.com/chakra-core/ChakraCore/pull/6528/commits/e81e8a51ec7ba3d0dfb6089254f166c2733216e1 | e81e8a51ec7ba3d0dfb6089254f166c2733216e1 | SINGLE | ['e81e8a51ec7ba3d0dfb6089254f166c2733216e1'] | {'90e222e9a9ba64bd808666f44e6a0913d6318f78'} | e81e8a51ec7ba3d0dfb6089254f166c2733216e1 | 1 | 09/30/2020, 22:00:01 | [CVE-2020-17054] | Paul Leathers | null | {'additions': 5, 'deletions': 2, 'total': 7} | [
{
"additions": 5,
"changes": 7,
"deletions": 2,
"patch": "@@ -27152,8 +27152,11 @@ void Lowerer::LowerLdFrameDisplay(IR::Instr *instr, bool doStackFrameDisplay)\n if (instr->m_func != this->m_func && this->m_func->DoStackFrameDisplay())\n {\n StackSym * inlineeFrameDispla... | cpp | CWE-787 | [
"lib/Backend/Lower.cpp"
] | lib/Backend/Lower.cpp | 1 |
ReverseProxy.prototype.setupHttpsProxy = function (proxy, websocketsUpgrade, log key: getCertData(sslOpts.key), cert: getCertData(sslOpts.cert) }; if (sslOpts.ca) { ssl.ca = getCertData(sslOpts.ca, true); | ReverseProxy.prototype.setupHttpsProxy = function (proxy, websocketsUpgrade, log key: getCertData(sslOpts.key), cert: getCertData(sslOpts.cert) }; // Allows the option to disable older SSL/TLS versions if(sslOpts.secureOptions) { ssl.secureOptions = sslOpts.secureOptions; } if (sslOpts.ca) { ... | GHSA-8948-ffc6-jg52 | {'CWE-20'} | 4.2 | {'https://github.com/OptimalBits/redbird/commit/39c7a2da84a2ddddfe046ea80e98800518920516'} | osv | Insecure Default Configuration in redbird Versions of `redbird` prior to 0.9.1 have a vulnerable default configuration of allowing TLS 1.0 connections on `lib/proxy.js`. The package does not provide an option to disable TLS 1.0 which is deprecated and vulnerable.
## Recommendation
Upgrade to version 0.9.1 or later. | 2019-06-06 | 1 | https://github.com/OptimalBits/redbird | https://github.com/OptimalBits/redbird/commit/39c7a2da84a2ddddfe046ea80e98800518920516 | 39c7a2da84a2ddddfe046ea80e98800518920516 | SINGLE | ['39c7a2da84a2ddddfe046ea80e98800518920516'] | {'b0ba23a53e881204e4bca4cef75305edb4f9e8b4'} | 39c7a2da84a2ddddfe046ea80e98800518920516 | 1 | 04/17/2019, 16:07:54 | Adding option to disable older SSL/TLS versions
Simply pass in "secureOptions" as you normally would to an https config object, and redbird will pass it along into the https proxy server. | James Thomas | null | {'additions': 5, 'deletions': 0, 'total': 5} | [
{
"additions": 5,
"changes": 5,
"deletions": 0,
"patch": "@@ -252,6 +252,11 @@ ReverseProxy.prototype.setupHttpsProxy = function (proxy, websocketsUpgrade, log\n key: getCertData(sslOpts.key),\n cert: getCertData(sslOpts.cert)\n };\n+ \n+ // Allows the option to disable older SSL/TLS ver... | js | CWE-20 | [
"lib/proxy.js"
] | lib/proxy.js | 1 |
class SaveOptionApiController { public function saveOption(Request $request) { $cleanFromXss = true; $option = $request->all(); // Allow for this keys if (isset($option['option_key'])) { if ($option['option_key'] == 'website_head') { $cleanFromXss = fa... | class SaveOptionApiController { public $whitelistedGroupKeys = [ 'website' => [ 'website_head', 'website_footer' ] ]; public function saveOption(Request $request) { $cleanFromXss = true; $option = $request->all(); // Allow for this key... | GHSA-8c76-mxv5-w4g8 | {'CWE-79'} | 6.8 | {'https://github.com/microweber/microweber/commit/955471c27e671c49e4b012e3b120b004082ac3f7'} | osv | Stored Cross-site Scripting in Microweber Microweber 1.2.11 and prior contains multiple stored cross-site scripting vulnerabilities in Shop's Other Settings, Shop's Autorespond E-mail Settings and Shops' Payments Methods. | 2022-03-16 | 1 | https://github.com/microweber/microweber | https://github.com/microweber/microweber/commit/955471c27e671c49e4b012e3b120b004082ac3f7 | 955471c27e671c49e4b012e3b120b004082ac3f7 | SINGLE | ['955471c27e671c49e4b012e3b120b004082ac3f7'] | {'46e100a1b3e613f3e27b82942b00bdb0e69df4fa'} | 955471c27e671c49e4b012e3b120b004082ac3f7 | 1 | 03/14/2022, 10:14:14 | Update SaveOptionApiController.php | Bozhidar Slaveykov | null | {'additions': 19, 'deletions': 7, 'total': 26} | [
{
"additions": 19,
"changes": 26,
"deletions": 7,
"patch": "@@ -6,18 +6,30 @@\n \n class SaveOptionApiController\n {\n- public function saveOption(Request $request) {\n+ public $whitelistedGroupKeys = [\n+ 'website' => [\n+ 'website_head',\n+ 'website_footer'\n+ ... | php | CWE-79 | [
"src/MicroweberPackages/Option/Http/Controllers/Api/SaveOptionApiController.php"
] | src/MicroweberPackages/Option/Http/Controllers/Api/SaveOptionApiController.php | 1 |
class QuantizedResizeBilinearOp : public OpKernel { } void Compute(OpKernelContext* context) override { const float in_min = context->input(2).flat<float>()(0); const float in_max = context->input(3).flat<float>()(0); ImageResizerState st(align_corners_, false); st.ValidateAndCreateOutput(context... | class QuantizedResizeBilinearOp : public OpKernel { } void Compute(OpKernelContext* context) override { const auto& in_min_tensor = context->input(2); OP_REQUIRES(context, TensorShapeUtils::IsScalar(in_min_tensor.shape()), errors::InvalidArgument("min must be a scalar")); const float i... | GHSA-8c89-2vwr-chcq | {'CWE-787', 'CWE-131'} | 2.5 | {'https://github.com/tensorflow/tensorflow/commit/f6c40f0c6cbf00d46c7717a26419f2062f2f8694'} | osv | Heap buffer overflow in `QuantizedResizeBilinear` ### Impact
An attacker can cause a heap buffer overflow in `QuantizedResizeBilinear` by passing in invalid thresholds for the quantization:
```python
import tensorflow as tf
images = tf.constant([], shape=[0], dtype=tf.qint32)
size = tf.constant([], shape=[0], dtype=t... | 2021-05-21 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/f6c40f0c6cbf00d46c7717a26419f2062f2f8694 | f6c40f0c6cbf00d46c7717a26419f2062f2f8694 | SINGLE | ['f6c40f0c6cbf00d46c7717a26419f2062f2f8694'] | {'50711818d2e61ccce012591eeb4fdf93a8496726'} | f6c40f0c6cbf00d46c7717a26419f2062f2f8694 | 1 | 04/22/2021, 00:00:39 | Validate min and max arguments to `QuantizedResizeBilinear`.
PiperOrigin-RevId: 369765091
Change-Id: I33be8b78273ab7d08b97541692fe05cb7f94963a | Mihai Maruseac | null | {'additions': 8, 'deletions': 2, 'total': 10} | [
{
"additions": 8,
"changes": 10,
"deletions": 2,
"patch": "@@ -702,8 +702,14 @@ class QuantizedResizeBilinearOp : public OpKernel {\n }\n \n void Compute(OpKernelContext* context) override {\n- const float in_min = context->input(2).flat<float>()(0);\n- const float in_max = context->input(... | cc | CWE-787 | [
"tensorflow/core/kernels/quantized_resize_bilinear_op.cc"
] | tensorflow/core/kernels/quantized_resize_bilinear_op.cc | 1 |
Status GetInitOp(const string& export_dir, const MetaGraphDef& meta_graph_def, const auto& init_op_sig_it = meta_graph_def.signature_def().find(kSavedModelInitOpSignatureKey); if (init_op_sig_it != sig_def_map.end()) { *init_op_name = init_op_sig_it->second.outputs() .find(kSavedM... | Status GetInitOp(const string& export_dir, const MetaGraphDef& meta_graph_def, const auto& init_op_sig_it = meta_graph_def.signature_def().find(kSavedModelInitOpSignatureKey); if (init_op_sig_it != sig_def_map.end()) { const auto& sig_def_outputs = init_op_sig_it->second.outputs(); const auto& sig_de... | GHSA-8cxv-76p7-jxwr | {'CWE-476'} | 6.5 | {'https://github.com/tensorflow/tensorflow/commit/4f38b1ac8e42727e18a2f0bde06d3bee8e77b250'} | osv | Null-dereference in Tensorflow ### Impact
The [implementation of `GetInitOp`](https://github.com/tensorflow/tensorflow/blob/a1320ec1eac186da1d03f033109191f715b2b130/tensorflow/cc/saved_model/loader_util.cc#L31-L61) is vulnerable to a crash caused by dereferencing a null pointer:
```cc
const auto& init_op_sig_it =
... | 2022-02-10 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/4f38b1ac8e42727e18a2f0bde06d3bee8e77b250 | 4f38b1ac8e42727e18a2f0bde06d3bee8e77b250 | SINGLE | ['4f38b1ac8e42727e18a2f0bde06d3bee8e77b250'] | {'7b84b7c651dc2ecc1e28f2acc65bfe371a04ecfc'} | 4f38b1ac8e42727e18a2f0bde06d3bee8e77b250 | 1 | 11/10/2021, 00:56:28 | Prevent null dereference read in `GetInitOp`.
We have a map of maps. We test that the key exists in the first map but then we don't have any validation that this also means the second map has the needed key. In the scenarios where this is not the case, we'll dereference a nullptr, if we don't have this check
PiperOri... | Mihai Maruseac | null | {'additions': 8, 'deletions': 3, 'total': 11} | [
{
"additions": 8,
"changes": 11,
"deletions": 3,
"patch": "@@ -34,9 +34,14 @@ Status GetInitOp(const string& export_dir, const MetaGraphDef& meta_graph_def,\n const auto& init_op_sig_it =\n meta_graph_def.signature_def().find(kSavedModelInitOpSignatureKey);\n if (init_op_sig_it != sig_def_... | cc | CWE-476 | [
"tensorflow/cc/saved_model/loader_util.cc"
] | tensorflow/cc/saved_model/loader_util.cc | 1 |
print "</tr>\n"; // Date of birth if ($user->rights->hrm->read_personal_information->read || $user->rights->hrm->write_personal_information->write) { print '<tr>'; print '<td>'; print $form->editfieldkey("DateOfBirth", 'birth', $object->birth, $object, $user->rights->user->user->creer); } // Personal emai... | print "</tr>\n"; // Date of birth if ($user->hasRight('hrm', 'read_personal_information', 'read') || $user->hasRight('hrm', 'write_personal_information', 'write')) { print '<tr>'; print '<td>'; print $form->editfieldkey("DateOfBirth", 'birth', $object->birth, $object, $user->rights->user->user->creer); } ... | GHSA-8fvr-7945-mg7w | {'CWE-79'} | 5.4 | {'https://github.com/dolibarr/dolibarr/commit/2b5b9957c3010a5db9d1988c2efe5b209b16b47f'} | osv | Cross site scripting in dolibarr A Cross-site Scripting (XSS) vulnerability exists in the admin/accountant.php file. The fields `town`, `name`, and `Accountant code` can be used to escape double quote protection. | 2022-06-14 | 1 | https://github.com/dolibarr/dolibarr | https://github.com/dolibarr/dolibarr/commit/2b5b9957c3010a5db9d1988c2efe5b209b16b47f | 2b5b9957c3010a5db9d1988c2efe5b209b16b47f | SINGLE | ['2b5b9957c3010a5db9d1988c2efe5b209b16b47f'] | {'bc11cf62f84ef087f573d926ea08449434103c0f', '0020b8782fe8344c56ead65418949b185b44bd60'} | 2b5b9957c3010a5db9d1988c2efe5b209b16b47f | 1 | 06/13/2022, 08:44:49 | Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop | Laurent Destailleur | null | {'additions': 5, 'deletions': 5, 'total': 10} | [
{
"additions": 5,
"changes": 10,
"deletions": 5,
"patch": "@@ -446,7 +446,7 @@\n \tprint \"</tr>\\n\";\n \n \t// Date of birth\n-\tif ($user->rights->hrm->read_personal_information->read || $user->rights->hrm->write_personal_information->write) {\n+\tif ($user->hasRight('hrm', 'read_personal_informa... | php | CWE-79 | [
"htdocs/user/bank.php"
] | htdocs/user/bank.php | 1 |
HttpsProxyAgent.prototype.callback = function connect(req, opts, fn) { var headers = Object.assign({}, proxy.headers); if (proxy.auth) { headers['Proxy-Authorization'] = 'Basic ' + new Buffer(proxy.auth).toString('base64'); } // the Host header should only include the port | HttpsProxyAgent.prototype.callback = function connect(req, opts, fn) { var headers = Object.assign({}, proxy.headers); if (proxy.auth) { headers['Proxy-Authorization'] = 'Basic ' + Buffer.from(proxy.auth).toString('base64'); } // the Host header should only include the port | GHSA-8g7p-74h8-hg48 | {'CWE-400', 'CWE-125'} | 9.1 | {'https://github.com/TooTallNate/node-https-proxy-agent/commit/1c24219df87524e6ed973127e81f30801d658f07'} | osv | Denial of Service in https-proxy-agent Versions of `https-proxy-agent` before 2.2.0 are vulnerable to denial of service. This is due to unsanitized options (proxy.auth) being passed to `Buffer()`.
## Recommendation
Update to version 2.2.0 or later. | 2018-07-27 | 1 | https://github.com/TooTallNate/node-https-proxy-agent | https://github.com/TooTallNate/node-https-proxy-agent/commit/1c24219df87524e6ed973127e81f30801d658f07 | 1c24219df87524e6ed973127e81f30801d658f07 | SINGLE | ['1c24219df87524e6ed973127e81f30801d658f07'] | {'c58d365dd153104d1147967a0a6b4e1dd1698e50'} | 1c24219df87524e6ed973127e81f30801d658f07 | 1 | 03/03/2018, 19:31:04 | Use `Buffer.from()`
`new Buffer()` is deprecated and unsafe. | Nathan Rajlich | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -204,7 +204,7 @@ HttpsProxyAgent.prototype.callback = function connect(req, opts, fn) {\n var headers = Object.assign({}, proxy.headers);\n if (proxy.auth) {\n headers['Proxy-Authorization'] =\n- 'Basic ' + new Buffer(proxy.au... | js | CWE-125 | [
"index.js"
] | index.js | 1 |
HttpsProxyAgent.prototype.callback = function connect(req, opts, fn) { var headers = Object.assign({}, proxy.headers); if (proxy.auth) { headers['Proxy-Authorization'] = 'Basic ' + new Buffer(proxy.auth).toString('base64'); } // the Host header should only include the port | HttpsProxyAgent.prototype.callback = function connect(req, opts, fn) { var headers = Object.assign({}, proxy.headers); if (proxy.auth) { headers['Proxy-Authorization'] = 'Basic ' + Buffer.from(proxy.auth).toString('base64'); } // the Host header should only include the port | GHSA-8g7p-74h8-hg48 | {'CWE-400', 'CWE-125'} | 9.1 | {'https://github.com/TooTallNate/node-https-proxy-agent/commit/1c24219df87524e6ed973127e81f30801d658f07'} | osv | Denial of Service in https-proxy-agent Versions of `https-proxy-agent` before 2.2.0 are vulnerable to denial of service. This is due to unsanitized options (proxy.auth) being passed to `Buffer()`.
## Recommendation
Update to version 2.2.0 or later. | 2018-07-27 | 1 | https://github.com/TooTallNate/node-https-proxy-agent | https://github.com/TooTallNate/node-https-proxy-agent/commit/1c24219df87524e6ed973127e81f30801d658f07 | 1c24219df87524e6ed973127e81f30801d658f07 | SINGLE | ['1c24219df87524e6ed973127e81f30801d658f07'] | {'c58d365dd153104d1147967a0a6b4e1dd1698e50'} | 1c24219df87524e6ed973127e81f30801d658f07 | 1 | 03/03/2018, 19:31:04 | Use `Buffer.from()`
`new Buffer()` is deprecated and unsafe. | Nathan Rajlich | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -204,7 +204,7 @@ HttpsProxyAgent.prototype.callback = function connect(req, opts, fn) {\n var headers = Object.assign({}, proxy.headers);\n if (proxy.auth) {\n headers['Proxy-Authorization'] =\n- 'Basic ' + new Buffer(proxy.au... | js | CWE-400 | [
"index.js"
] | index.js | 1 |
class RaggedTensorToTensorBaseOp : public OpKernel { output_index_multiplier, output_size, result); return tensorflow::Status::OK(); case RowPartitionType::ROW_SPLITS: CalculateOutputIndexRowSplit( context, row_partition_tensor, parent_output_index, output_inde... | class RaggedTensorToTensorBaseOp : public OpKernel { output_index_multiplier, output_size, result); return tensorflow::Status::OK(); case RowPartitionType::ROW_SPLITS: if (row_partition_tensor.size() - 1 > parent_output_index.size()) { return errors::InvalidArgument( ... | GHSA-8gv3-57p6-g35r | {'CWE-787', 'CWE-125'} | 2.5 | {'https://github.com/tensorflow/tensorflow/commit/a84358aa12f0b1518e606095ab9cfddbf597c121'} | osv | Heap buffer overflow in `RaggedTensorToTensor` ### Impact
An attacker can cause a heap buffer overflow in `tf.raw_ops.RaggedTensorToTensor`:
```python
import tensorflow as tf
shape = tf.constant([10, 10], shape=[2], dtype=tf.int64)
values = tf.constant(0, shape=[1], dtype=tf.int64)
default_value = tf.constant(0, dtyp... | 2021-05-21 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/a84358aa12f0b1518e606095ab9cfddbf597c121 | a84358aa12f0b1518e606095ab9cfddbf597c121 | SINGLE | ['a84358aa12f0b1518e606095ab9cfddbf597c121'] | {'d94227d43aa125ad8b54115c03cece54f6a1977b'} | a84358aa12f0b1518e606095ab9cfddbf597c121 | 1 | 05/04/2021, 20:45:57 | Fix heap-buffer-overflow issue with `tf.raw_ops.RaggedTensorToTensor`.
PiperOrigin-RevId: 371986929
Change-Id: I79ab962a22c5867f36f7f45b780a1ac881b1dbdd | Amit Patankar | null | {'additions': 6, 'deletions': 0, 'total': 6} | [
{
"additions": 6,
"changes": 6,
"deletions": 0,
"patch": "@@ -313,6 +313,12 @@ class RaggedTensorToTensorBaseOp : public OpKernel {\n output_index_multiplier, output_size, result);\n return tensorflow::Status::OK();\n case RowPartitionType::ROW_SPLITS:\n+ if (row_par... | cc | CWE-125 | [
"tensorflow/core/kernels/ragged_tensor_to_tensor_op.cc"
] | tensorflow/core/kernels/ragged_tensor_to_tensor_op.cc | 1 |
class RaggedTensorToTensorBaseOp : public OpKernel { output_index_multiplier, output_size, result); return tensorflow::Status::OK(); case RowPartitionType::ROW_SPLITS: CalculateOutputIndexRowSplit( context, row_partition_tensor, parent_output_index, output_inde... | class RaggedTensorToTensorBaseOp : public OpKernel { output_index_multiplier, output_size, result); return tensorflow::Status::OK(); case RowPartitionType::ROW_SPLITS: if (row_partition_tensor.size() - 1 > parent_output_index.size()) { return errors::InvalidArgument( ... | GHSA-8gv3-57p6-g35r | {'CWE-787', 'CWE-125'} | 2.5 | {'https://github.com/tensorflow/tensorflow/commit/a84358aa12f0b1518e606095ab9cfddbf597c121'} | osv | Heap buffer overflow in `RaggedTensorToTensor` ### Impact
An attacker can cause a heap buffer overflow in `tf.raw_ops.RaggedTensorToTensor`:
```python
import tensorflow as tf
shape = tf.constant([10, 10], shape=[2], dtype=tf.int64)
values = tf.constant(0, shape=[1], dtype=tf.int64)
default_value = tf.constant(0, dtyp... | 2021-05-21 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/a84358aa12f0b1518e606095ab9cfddbf597c121 | a84358aa12f0b1518e606095ab9cfddbf597c121 | SINGLE | ['a84358aa12f0b1518e606095ab9cfddbf597c121'] | {'d94227d43aa125ad8b54115c03cece54f6a1977b'} | a84358aa12f0b1518e606095ab9cfddbf597c121 | 1 | 05/04/2021, 20:45:57 | Fix heap-buffer-overflow issue with `tf.raw_ops.RaggedTensorToTensor`.
PiperOrigin-RevId: 371986929
Change-Id: I79ab962a22c5867f36f7f45b780a1ac881b1dbdd | Amit Patankar | null | {'additions': 6, 'deletions': 0, 'total': 6} | [
{
"additions": 6,
"changes": 6,
"deletions": 0,
"patch": "@@ -313,6 +313,12 @@ class RaggedTensorToTensorBaseOp : public OpKernel {\n output_index_multiplier, output_size, result);\n return tensorflow::Status::OK();\n case RowPartitionType::ROW_SPLITS:\n+ if (row_par... | cc | CWE-787 | [
"tensorflow/core/kernels/ragged_tensor_to_tensor_op.cc"
] | tensorflow/core/kernels/ragged_tensor_to_tensor_op.cc | 1 |
//! use regex::Regex; //! use rusqlite::functions::FunctionFlags; //! use rusqlite::{Connection, Error, Result, NO_PARAMS}; //! //! fn add_regexp_function(db: &Connection) -> Result<()> { //! db.create_scalar_function( //! FunctionFlags::SQLITE_UTF8 | FunctionFlags::SQLITE_DETERMINISTIC, //! move |... | //! use regex::Regex; //! use rusqlite::functions::FunctionFlags; //! use rusqlite::{Connection, Error, Result, NO_PARAMS}; //! use std::sync::Arc; //! type BoxError = Box<dyn std::error::Error + Send + Sync + 'static>; //! //! fn add_regexp_function(db: &Connection) -> Result<()> { //! db.create_scalar_function( ... | GHSA-8h4j-vm3r-vcq3 | {'CWE-416'} | 9.8 | {'https://github.com/rusqlite/rusqlite/commit/2ef3628dac35aeba0a97d5fb3a57746b4e1d62b3'} | osv | Use after free in rusqlite An issue was discovered in the rusqlite crate before 0.23.0 for Rust. Memory safety can be violated via an Auxdata API use-after-free. | 2021-08-25 | 1 | https://github.com/rusqlite/rusqlite | https://github.com/rusqlite/rusqlite/commit/2ef3628dac35aeba0a97d5fb3a57746b4e1d62b3 | 2ef3628dac35aeba0a97d5fb3a57746b4e1d62b3 | SINGLE | ['2ef3628dac35aeba0a97d5fb3a57746b4e1d62b3'] | {'71b2f5187b0cbace3f8b6ff53432ff2ca0defcf0'} | 2ef3628dac35aeba0a97d5fb3a57746b4e1d62b3 | 1 | 04/13/2020, 02:41:01 | Actually fix auxdata api... | Thom Chiovoloni | null | {'additions': 54, 'deletions': 65, 'total': 119} | [
{
"additions": 54,
"changes": 119,
"deletions": 65,
"patch": "@@ -12,6 +12,8 @@\n //! use regex::Regex;\n //! use rusqlite::functions::FunctionFlags;\n //! use rusqlite::{Connection, Error, Result, NO_PARAMS};\n+//! use std::sync::Arc;\n+//! type BoxError = Box<dyn std::error::Error + Send + Sync + ... | rs | CWE-416 | [
"src/functions.rs"
] | src/functions.rs | 1 |
function chooseLocale(names) { return globalLocale; } function loadLocale(name) { var oldLocale = null, aliasedRequire; function loadLocale(name) { locales[name] === undefined && typeof module !== 'undefined' && module && module.exports ) { try { ... | function chooseLocale(names) { return globalLocale; } function isLocaleNameSane(name) { // Prevent names that look like filesystem paths, i.e contain '/' or '\' return name.match('^[^/\\\\]*$') != null; } function loadLocale(name) { var oldLocale = null, aliasedRequire; function loadLocale(na... | GHSA-8hfj-j24r-96c4 | {'CWE-27', 'CWE-22'} | 7.5 | {'https://github.com/moment/moment/commit/4211bfc8f15746be4019bba557e29a7ba83d54c5'} | osv | Path Traversal: 'dir/../../filename' in moment.locale ### Impact
This vulnerability impacts npm (server) users of moment.js, especially if user provided locale string, eg `fr` is directly used to switch moment locale.
### Patches
This problem is patched in 2.29.2, and the patch can be applied to all affected versions ... | 2022-04-04 | 1 | https://github.com/moment/moment | https://github.com/moment/moment/commit/4211bfc8f15746be4019bba557e29a7ba83d54c5 | 4211bfc8f15746be4019bba557e29a7ba83d54c5 | SINGLE | ['4211bfc8f15746be4019bba557e29a7ba83d54c5'] | {'f2a813afcfd0dd6e63812ea74c46ecc627f6a6a6'} | 4211bfc8f15746be4019bba557e29a7ba83d54c5 | 1 | 03/27/2022, 11:46:47 | [bugfix] Avoid loading path-looking locales from fs | Iskren Chernev | {'com_1': {'author': 'kuraga', 'datetime': '05/11/2022, 17:44:47', 'body': '@ichernev , why two `\\\\`?'}, 'com_2': {'author': 'omoustaouda', 'datetime': '06/19/2022, 12:17:54', 'body': "@ichernev, thank you for the patch!\r\n\r\na consideration that come at a first glance: I'd consider allowing only the expected valid... | {'additions': 7, 'deletions': 1, 'total': 8} | [
{
"additions": 7,
"changes": 8,
"deletions": 1,
"patch": "@@ -62,6 +62,11 @@ function chooseLocale(names) {\n return globalLocale;\n }\n \n+function isLocaleNameSane(name) {\n+ // Prevent names that look like filesystem paths, i.e contain '/' or '\\'\n+ return name.match('^[^/\\\\\\\\]*$')... | js | CWE-22 | [
"src/lib/locale/locales.js"
] | src/lib/locale/locales.js | 1 |
Status OpLevelCostEstimator::PredictCropAndResize(const OpContext& op_context, // calculation differs from rough estimate in implementation, as it separates // out cost per box from cost per pixel and cost per element. // Ops for variables height_scale and width_scale. int64_t ops = (sub_cost * 6 + mul_cost *... | Status OpLevelCostEstimator::PredictCropAndResize(const OpContext& op_context, // calculation differs from rough estimate in implementation, as it separates // out cost per box from cost per pixel and cost per element. // Since crop arguments are user controlled, check for overflow. int64_t crop_area = Multip... | GHSA-8jj7-5vxc-pg2q | {'CWE-190'} | 8.8 | {'https://github.com/tensorflow/tensorflow/commit/0aaaae6eca5a7175a193696383f582f53adab23f'} | osv | Integer overflow in TensorFlow ### Impact
Under certain scenarios, Grappler component of TensorFlow is vulnerable to an integer overflow during [cost estimation for crop and resize](https://github.com/tensorflow/tensorflow/blob/a1320ec1eac186da1d03f033109191f715b2b130/tensorflow/core/grappler/costs/op_level_cost_estima... | 2022-02-09 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/0aaaae6eca5a7175a193696383f582f53adab23f | 0aaaae6eca5a7175a193696383f582f53adab23f | SINGLE | ['0aaaae6eca5a7175a193696383f582f53adab23f'] | {'6b5adc0877de832b2a7c189532dbbbc64622eeb6'} | 0aaaae6eca5a7175a193696383f582f53adab23f | 1 | 11/13/2021, 16:19:05 | Prevent overflow in grappler cost estimation of crop&resize op.
The crop parameters are user controlled, so we should make sure a user can not trigger an overflow maliciously.
PiperOrigin-RevId: 409670234
Change-Id: I7994734a98b037c5642e051240329d16f959aae4 | Mihai Maruseac | null | {'additions': 22, 'deletions': 7, 'total': 29} | [
{
"additions": 22,
"changes": 29,
"deletions": 7,
"patch": "@@ -2681,27 +2681,42 @@ Status OpLevelCostEstimator::PredictCropAndResize(const OpContext& op_context,\n // calculation differs from rough estimate in implementation, as it separates\n // out cost per box from cost per pixel and cost pe... | cc | CWE-190 | [
"tensorflow/core/grappler/costs/op_level_cost_estimator.cc"
] | tensorflow/core/grappler/costs/op_level_cost_estimator.cc | 1 |
def visit_Call(self, node): datetime(). """ if isinstance(node.func, ast.Name): expr = None if node.func.id == 'ObjectId': expr = "('" + node.args[0].s + "')" elif node.func.id == 'datetime': values = [] for arg... | def visit_Call(self, node): datetime(). """ if isinstance(node.func, ast.Name): if node.func.id == 'ObjectId': try: self.current_value = ObjectId(node.args[0].s) except: pass elif node.func.id == 'da... | GHSA-8jxq-75rw-fhj9 | {'CWE-94'} | 9.8 | {'https://github.com/pyeve/eve/commit/f8f7019ffdf9b4e05faf95e1f04e204aa4c91f98'} | osv | Eve allows execution of arbitrary code via Code Injection in the where parameter io/mongo/parser.py in Eve (aka pyeve) before 0.7.5 allows remote attackers to execute arbitrary code via Code Injection in the where parameter. | 2018-07-12 | 1 | https://github.com/pyeve/eve | https://github.com/pyeve/eve/commit/f8f7019ffdf9b4e05faf95e1f04e204aa4c91f98 | f8f7019ffdf9b4e05faf95e1f04e204aa4c91f98 | SINGLE | ['f8f7019ffdf9b4e05faf95e1f04e204aa4c91f98'] | {'6d1526bf8ad93a3d259b1fd357f0c40e4ed9dbf5'} | f8f7019ffdf9b4e05faf95e1f04e204aa4c91f98 | 1 | 01/14/2018, 16:51:26 | fix mongo visitor parser | Nicola Iarocci | null | {'additions': 9, 'deletions': 6, 'total': 15} | [
{
"additions": 9,
"changes": 15,
"deletions": 6,
"patch": "@@ -122,16 +122,19 @@ def visit_Call(self, node):\n datetime().\n \"\"\"\n if isinstance(node.func, ast.Name):\n- expr = None\n if node.func.id == 'ObjectId':\n- expr = \"('\" + n... | py | CWE-94 | [
"eve/io/mongo/parser.py"
] | eve/io/mongo/parser.py | 1 |
public String getValidDirectoryPath(String context, String input, File parent, b if ( !parent.isDirectory() ) { throw new ValidationException( context + ": Invalid directory name", "Invalid directory, specified parent is not a directory: context=" + context + ", input=" + input + ", parent=" + parent ); } ... | public String getValidDirectoryPath(String context, String input, File parent, b if ( !parent.isDirectory() ) { throw new ValidationException( context + ": Invalid directory name", "Invalid directory, specified parent is not a directory: context=" + context + ", input=" + input + ", parent=" + parent ); } ... | GHSA-8m5h-hrqm-pxm2 | {'CWE-22'} | 7.5 | {'https://github.com/ESAPI/esapi-java-legacy/commit/a0d67b75593878b1b6e39e2acc1773b3effedb2a'} | osv | Path traversal in the OWASP Enterprise Security API ### Impact
The default implementation of `Validator.getValidDirectoryPath(String, String, File, boolean)` may incorrectly treat the tested input string as a child of the specified parent directory. This potentially could allow control-flow bypass checks to be defeated... | 2022-04-27 | 1 | https://github.com/ESAPI/esapi-java-legacy | https://github.com/ESAPI/esapi-java-legacy/commit/a0d67b75593878b1b6e39e2acc1773b3effedb2a | a0d67b75593878b1b6e39e2acc1773b3effedb2a | SINGLE | ['a0d67b75593878b1b6e39e2acc1773b3effedb2a'] | {'657c2a751c0b8dbd70b8da1bba246d86f7ad3b20'} | a0d67b75593878b1b6e39e2acc1773b3effedb2a | 1 | 04/17/2022, 04:32:15 | Fix for GHSL-2022-008 vulnerability. | kwwall | {'com_1': {'author': 'JLLeitschuh', 'datetime': '04/29/2022, 00:50:01', 'body': 'For back tracking this is related to CVE-2022-23457\r\n\r\nhttps://github.com/ESAPI/esapi-java-legacy/security/advisories/GHSA-8m5h-hrqm-pxm2'}} | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -466,7 +466,7 @@ public String getValidDirectoryPath(String context, String input, File parent, b\n \t\t\tif ( !parent.isDirectory() ) {\n \t\t\t\tthrow new ValidationException( context + \": Invalid directory name\", \"Invalid directory, ... | java | CWE-22 | [
"src/main/java/org/owasp/esapi/reference/DefaultValidator.java"
] | src/main/java/org/owasp/esapi/reference/DefaultValidator.java | 1 |
import ctypes import logging import libarchive from diffoscope.tempfiles import get_temporary_directory def close_archive(self): def get_member_names(self): self.ensure_unpacked() return self._member_names def extract(self, member_name, dest_dir): self.ensure_unpacked() retu... | import ctypes import logging import libarchive import collections from diffoscope.tempfiles import get_temporary_directory def close_archive(self): def get_member_names(self): self.ensure_unpacked() return self._members.keys() def extract(self, member_name, dest_dir): self.ensure_un... | GHSA-8p5c-f328-9fvv | {'CWE-22'} | 9.8 | {'https://github.com/anthraxx/diffoscope/commit/632a40828a54b399787c25e7fa243f732aef7e05'} | osv | Diffoscope may write to arbitrary locations due to an untrusted archive diffoscope before 76 writes to arbitrary locations on disk based on the contents of an untrusted archive. | 2018-07-13 | 1 | https://github.com/anthraxx/diffoscope | https://github.com/anthraxx/diffoscope/commit/632a40828a54b399787c25e7fa243f732aef7e05 | 632a40828a54b399787c25e7fa243f732aef7e05 | SINGLE | ['632a40828a54b399787c25e7fa243f732aef7e05'] | {'b468a2840a097f4b2f7719929d690d5738dbcae4'} | 632a40828a54b399787c25e7fa243f732aef7e05 | 1 | 02/09/2017, 21:47:05 | Extract archive members using an auto-incrementing integer, avoiding the need to sanitise filenames. (Closes: #854723)
Signed-off-by: Chris Lamb <lamby@debian.org> | Chris Lamb | null | {'additions': 14, 'deletions': 27, 'total': 41} | [
{
"additions": 14,
"changes": 41,
"deletions": 27,
"patch": "@@ -23,6 +23,7 @@\n import ctypes\n import logging\n import libarchive\n+import collections\n \n from diffoscope.tempfiles import get_temporary_directory\n \n@@ -168,11 +169,11 @@ def close_archive(self):\n \n def get_member_names(self... | py | CWE-22 | [
"diffoscope/comparators/utils/libarchive.py"
] | diffoscope/comparators/utils/libarchive.py | 1 |
export const getRoutes = ({ } const filePath = path.join(workspaceDir, file); const hasFile = await exists(filePath); if (!hasFile) { return res.sendStatus(404); } export const getRoutes = ({ const filePath = path.join(workspaceDir, file); const hasFile = await exis... | export const getRoutes = ({ } const filePath = path.join(workspaceDir, file); const hasFile = await exists(filePath); if (!filePath.includes(workspaceDir)) { return res.sendStatus(404); } if (!hasFile) { return res.sendStatus(404); } export const getRoutes =... | GHSA-8p9r-f949-699g | {'CWE-22'} | 7.5 | {'https://github.com/browserless/chrome/commit/848b87e5bea4f8473eea85261a5ff922d6ebd2b6'} | osv | Path Traversal in browserless-chrome This affects all versions of browserless-chrome before 1.43.0. User input flowing from the workspace endpoint gets used to create a file path filePath and this is fetched and then sent back to a user. This can be escaped to fetch arbitrary files from a server. | 2021-05-10 | 1 | https://github.com/browserless/chrome | https://github.com/browserless/chrome/commit/848b87e5bea4f8473eea85261a5ff922d6ebd2b6 | 848b87e5bea4f8473eea85261a5ff922d6ebd2b6 | SINGLE | ['848b87e5bea4f8473eea85261a5ff922d6ebd2b6'] | {'6a195ab11d393cefcecf9940b38cf6921e3d38d0'} | 848b87e5bea4f8473eea85261a5ff922d6ebd2b6 | 1 | 10/26/2020, 17:28:01 | Ensure workspace files are _in_ the workspace DIR | Joel Griffith | null | {'additions': 8, 'deletions': 1, 'total': 9} | [
{
"additions": 8,
"changes": 9,
"deletions": 1,
"patch": "@@ -157,9 +157,12 @@ export const getRoutes = ({\n }\n \n const filePath = path.join(workspaceDir, file);\n-\n const hasFile = await exists(filePath);\n \n+ if (!filePath.includes(workspaceDir)) {\n+ return res.s... | ts | CWE-22 | [
"src/routes.ts"
] | src/routes.ts | 1 |
import os from aim.web.api.utils import APIRouter # wrapper for fastapi.APIRouter from fastapi.responses import FileResponse statics_router = APIRouter() @statics_router.get('/static-files/{path:path}/') async def serve_static_files(path): from aim import web static_file_name = os.path.join(os.path.dirnam... | import os from pathlib import Path from aim.web.api.utils import APIRouter # wrapper for fastapi.APIRouter from fastapi.responses import FileResponse from fastapi import HTTPException statics_router = APIRouter() @statics_router.get('/static-files/{path:path}/') async def serve_static_files(path): from aim im... | GHSA-8phj-f9w2-cjcc | {'CWE-22'} | 8.6 | {'https://github.com/aimhubio/aim/pull/1003/commits/f01266a1a479ef11d7d6c539e7dd89e9d5639738'} | osv | Arbitrary file reading vulnerability in Aim ### Impact
A path traversal attack aims to access files and directories that are stored outside the web root folder. By manipulating variables that reference files with “dot-dot-slash (../)” sequences and its variations or by using absolute file paths, it may be possible to a... | 2021-11-23 | 1 | https://github.com/aimhubio/aim | https://github.com/aimhubio/aim/pull/1003/commits/f01266a1a479ef11d7d6c539e7dd89e9d5639738 | f01266a1a479ef11d7d6c539e7dd89e9d5639738 | SINGLE | ['f01266a1a479ef11d7d6c539e7dd89e9d5639738'] | {'0bcac8b709f9409518134b2eafee817278aca14f'} | f01266a1a479ef11d7d6c539e7dd89e9d5639738 | 1 | 11/12/2021, 14:03:22 | Fix security issue when incorrect path is given to the endpoint that serves static files which can lead to a leak of non wanted files (e.g. /static-files/../../../../etc/passwd) | mihran113 | null | {'additions': 9, 'deletions': 1, 'total': 10} | [
{
"additions": 9,
"changes": 10,
"deletions": 1,
"patch": "@@ -1,15 +1,23 @@\n import os\n+from pathlib import Path\n \n from aim.web.api.utils import APIRouter # wrapper for fastapi.APIRouter\n from fastapi.responses import FileResponse\n+from fastapi import HTTPException\n \n statics_router = API... | py | CWE-22 | [
"aim/web/api/views.py"
] | aim/web/api/views.py | 1 |
Status ImmutableExecutorState::Initialize(const Graph& graph) { Status s = params_.create_kernel(n->properties(), &item->kernel); if (!s.ok()) { item->kernel = nullptr; s = AttachDef(s, *n); return s; | Status ImmutableExecutorState::Initialize(const Graph& graph) { Status s = params_.create_kernel(n->properties(), &item->kernel); if (!s.ok()) { params_.delete_kernel(item->kernel); item->kernel = nullptr; s = AttachDef(s, *n); return s; | GHSA-8r7c-3cm2-3h8f | {'CWE-401'} | 4.3 | {'https://github.com/tensorflow/tensorflow/commit/c79ccba517dbb1a0ccb9b01ee3bd2a63748b60dd'} | osv | Memory leak in Tensorflow ### Impact
If a graph node is invalid, TensorFlow can leak memory in the [implementation of `ImmutableExecutorState::Initialize`](https://github.com/tensorflow/tensorflow/blob/a1320ec1eac186da1d03f033109191f715b2b130/tensorflow/core/common_runtime/immutable_executor_state.cc#L84-L262):
```cc
... | 2022-02-10 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/c79ccba517dbb1a0ccb9b01ee3bd2a63748b60dd | c79ccba517dbb1a0ccb9b01ee3bd2a63748b60dd | SINGLE | ['c79ccba517dbb1a0ccb9b01ee3bd2a63748b60dd'] | {'d781eab54947e82ebf182f28dcdd5b02e6925d46'} | c79ccba517dbb1a0ccb9b01ee3bd2a63748b60dd | 1 | 11/10/2021, 21:51:15 | Fix memory leak when a graph node is invalid.
If a graph node is invalid but a kernel is created then we set the kernel back to `nullptr` but we forget to delete it. Hence, we get a memory leak.
PiperOrigin-RevId: 408968108
Change-Id: I1d8a9d0d8988ed5e08be8b9f2004ce1b4cd11b7c | Mihai Maruseac | null | {'additions': 1, 'deletions': 0, 'total': 1} | [
{
"additions": 1,
"changes": 1,
"deletions": 0,
"patch": "@@ -131,6 +131,7 @@ Status ImmutableExecutorState::Initialize(const Graph& graph) {\n \n Status s = params_.create_kernel(n->properties(), &item->kernel);\n if (!s.ok()) {\n+ params_.delete_kernel(item->kernel);\n item->ker... | cc | CWE-401 | [
"tensorflow/core/common_runtime/immutable_executor_state.cc"
] | tensorflow/core/common_runtime/immutable_executor_state.cc | 1 |
TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) { TF_LITE_ENSURE_OK(context, GetInputSafe(context, node, 2, &value)); const int num_rows = SizeOfDimension(value, 0); const int row_bytes = value->bytes / num_rows; void* pointer = nullptr; DynamicBuffer buf; | TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) { TF_LITE_ENSURE_OK(context, GetInputSafe(context, node, 2, &value)); const int num_rows = SizeOfDimension(value, 0); TF_LITE_ENSURE(context, num_rows != 0); const int row_bytes = value->bytes / num_rows; void* pointer = nullptr; DynamicBuffer bu... | GHSA-8rm6-75mf-7r7r | {'CWE-369'} | 2.5 | {'https://github.com/tensorflow/tensorflow/commit/5117e0851348065ed59c991562c0ec80d9193db2'} | osv | Division by zero in TFLite's implementation of hashtable lookup ### Impact
The TFLite implementation of hashtable lookup is [vulnerable to a division by zero error](https://github.com/tensorflow/tensorflow/blob/1a8e885b864c818198a5b2c0cbbeca5a1e833bc8/tensorflow/lite/kernels/hashtable_lookup.cc#L114-L115):
```cc
const... | 2021-05-21 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/5117e0851348065ed59c991562c0ec80d9193db2 | 5117e0851348065ed59c991562c0ec80d9193db2 | SINGLE | ['5117e0851348065ed59c991562c0ec80d9193db2'] | {'ba6822bd7b7324ba201a28b2f278c29a98edbef2'} | 5117e0851348065ed59c991562c0ec80d9193db2 | 1 | 04/28/2021, 23:16:56 | Prevent a division by 0
PiperOrigin-RevId: 371007407
Change-Id: Iecf2718de48d6bf5a69b02a9df9deda8ec1b19d3 | Mihai Maruseac | null | {'additions': 1, 'deletions': 0, 'total': 1} | [
{
"additions": 1,
"changes": 1,
"deletions": 0,
"patch": "@@ -112,6 +112,7 @@ TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) {\n TF_LITE_ENSURE_OK(context, GetInputSafe(context, node, 2, &value));\n \n const int num_rows = SizeOfDimension(value, 0);\n+ TF_LITE_ENSURE(context, num_r... | cc | CWE-369 | [
"tensorflow/lite/kernels/hashtable_lookup.cc"
] | tensorflow/lite/kernels/hashtable_lookup.cc | 1 |
public function fromPost($uploadedFile) /** * fromFile creates a file object from a file on the disk */ public function fromFile($filePath) { if ($filePath === null) { return; } $file = new FileObj($filePath); $this->file_name = $file->getFilename(); ... | public function fromPost($uploadedFile) /** * fromFile creates a file object from a file on the disk */ public function fromFile($filePath, $filename = null) { if ($filePath === null) { return; } $file = new FileObj($filePath); $this->file_name = empty... | GHSA-8v7h-cpc2-r8jp | {'CWE-362'} | 8.1 | {'https://github.com/octobercms/library/commit/fe569f3babf3f593be2b1e0a4ae0283506127a83'} | osv | October CMS upload process vulnerable to RCE via Race Condition ### Impact
This advisory affects plugins that expose the `October\Rain\Database\Attach\File::fromData` as a public interface. This vulnerability does not affect vanilla installations of October CMS since this method is not exposed or used by the system in... | 2022-07-13 | 1 | https://github.com/octobercms/library | https://github.com/octobercms/library/commit/fe569f3babf3f593be2b1e0a4ae0283506127a83 | fe569f3babf3f593be2b1e0a4ae0283506127a83 | SINGLE | ['fe569f3babf3f593be2b1e0a4ae0283506127a83'] | {'95ce496038c104571362c92418783b81889a8b9d'} | fe569f3babf3f593be2b1e0a4ae0283506127a83 | 1 | 03/29/2022, 01:51:19 | Refactor | Sam Georges | null | {'additions': 5, 'deletions': 4, 'total': 9} | [
{
"additions": 5,
"changes": 9,
"deletions": 4,
"patch": "@@ -124,14 +124,14 @@ public function fromPost($uploadedFile)\n /**\n * fromFile creates a file object from a file on the disk\n */\n- public function fromFile($filePath)\n+ public function fromFile($filePath, $filename = ... | php | CWE-362 | [
"src/Database/Attach/File.php"
] | src/Database/Attach/File.php | 1 |
pimcore.object.classes.klass = Class.create({ for (var i = 0; i < items.length; i++) { var item = items[i]; if (typeof item.getValue == "function") { this.data[item.name] = item.getValue(); } } pimcore.... | pimcore.object.classes.klass = Class.create({ for (var i = 0; i < items.length; i++) { var item = items[i]; if (typeof item.getValue == "function") { let value = item.getValue(); if (typeof item.config.xtype !== 'un... | GHSA-8w3x-r6x7-c5r5 | {'CWE-79'} | 6.1 | {'https://github.com/pimcore/pimcore/commit/3c2a14e676a57e5d77a16255965988eef48f9065'} | osv | Cross-site Scripting in pimcore pimcore is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | 2021-12-16 | 1 | https://github.com/pimcore/pimcore | https://github.com/pimcore/pimcore/commit/3c2a14e676a57e5d77a16255965988eef48f9065 | 3c2a14e676a57e5d77a16255965988eef48f9065 | SINGLE | ['3c2a14e676a57e5d77a16255965988eef48f9065'] | {'a5e13bea6315b7bee8fb44f83a38029d065f97a3'} | 3c2a14e676a57e5d77a16255965988eef48f9065 | 1 | 12/09/2021, 11:53:00 | [Admin UI] DataObject Class - escape general settings input values (#10991)
* [Admin UI] DataObject Class - escape general settings input values
* Update bundles/AdminBundle/Resources/public/js/pimcore/object/classes/class.js
* [Admin UI] DataObject Class - escape general settings input values
* [Admin UI] Da... | Divesh Pahuja | null | {'additions': 20, 'deletions': 1, 'total': 21} | [
{
"additions": 20,
"changes": 21,
"deletions": 1,
"patch": "@@ -607,7 +607,12 @@ pimcore.object.classes.klass = Class.create({\n for (var i = 0; i < items.length; i++) {\n var item = items[i];\n if (typeof item.getValue == \"function\") {\n- ... | js | CWE-79 | [
"bundles/AdminBundle/Resources/public/js/pimcore/object/classes/class.js"
] | bundles/AdminBundle/Resources/public/js/pimcore/object/classes/class.js | 1 |
public function setCollation($collation) */ public function initRelationParamsCache() { if (strlen($GLOBALS['db'])) { $cfgRelation = $this->relation->getRelationsParam(); if (empty($cfgRelation['db'])) { $this->relation->fixPmaTables($GLOBALS['db'], false); ... | public function setCollation($collation) */ public function initRelationParamsCache() { $storageDbName = $GLOBALS['cfg']['Server']['pmadb'] ?? ''; // Use "phpmyadmin" as a default database name to check to keep the behavior consistent $storageDbName = $storageDbName !== null ... | GHSA-8wf2-3ggj-78q9 | {'CWE-287'} | 4.3 | {'https://github.com/phpmyadmin/phpmyadmin/commit/ca54f1db050859eb8555875c6aa5d7796fdf4b32'} | osv | Improper Authentication in phpmyadmin An issue was discovered in phpMyAdmin 4.9 before 4.9.8 and 5.1 before 5.1.2. A valid user who is already authenticated to phpMyAdmin can manipulate their account to bypass two-factor authentication for future login instances. | 2022-01-28 | 1 | https://github.com/phpmyadmin/phpmyadmin | https://github.com/phpmyadmin/phpmyadmin/commit/ca54f1db050859eb8555875c6aa5d7796fdf4b32 | ca54f1db050859eb8555875c6aa5d7796fdf4b32 | SINGLE | ['ca54f1db050859eb8555875c6aa5d7796fdf4b32'] | {'ae11d5260b4bde42100c8696218a2bfd11a2d740'} | ca54f1db050859eb8555875c6aa5d7796fdf4b32 | 1 | 01/13/2022, 01:59:41 | security - Fix - 2FA/U2F can be disabled without any code change
Signed-off-by: William Desportes <williamdes@wdes.fr> | William Desportes | null | {'additions': 16, 'deletions': 11, 'total': 27} | [
{
"additions": 16,
"changes": 27,
"deletions": 11,
"patch": "@@ -1563,17 +1563,22 @@ public function setCollation($collation)\n */\n public function initRelationParamsCache()\n {\n- if (strlen($GLOBALS['db'])) {\n- $cfgRelation = $this->relation->getRelationsParam();\n... | php | CWE-287 | [
"libraries/classes/DatabaseInterface.php"
] | libraries/classes/DatabaseInterface.php | 1 |
public function getTreeAction(Request $request) 'id' => $class->getId(), 'text' => $text, 'leaf' => true, 'icon' => $class->getIcon() ? $class->getIcon() : $defaultIcon, 'cls' => 'pimcore_class_icon', 'propertyVisibility' =... | public function getTreeAction(Request $request) 'id' => $class->getId(), 'text' => $text, 'leaf' => true, 'icon' => $class->getIcon() ? htmlspecialchars($class->getIcon()) : $defaultIcon, 'cls' => 'pimcore_class_icon', 'pro... | GHSA-8x44-pwr2-rgc6 | {'CWE-79'} | 5.4 | {'https://github.com/pimcore/pimcore/commit/832c34aeb9f21f213295a0c28377132df996352a'} | osv | Cross-site Scripting in pimcore Pimcore settings module is vulnerable to stored cross site scripting | 2022-01-28 | 1 | https://github.com/pimcore/pimcore | https://github.com/pimcore/pimcore/commit/832c34aeb9f21f213295a0c28377132df996352a | 832c34aeb9f21f213295a0c28377132df996352a | SINGLE | ['832c34aeb9f21f213295a0c28377132df996352a'] | {'e94591dd8f5006452667a04c93e4422b05234eea'} | 832c34aeb9f21f213295a0c28377132df996352a | 1 | 01/26/2022, 13:08:27 | added escape function to the icon field | Jia Jia Ji | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -119,7 +119,7 @@ public function getTreeAction(Request $request)\n 'id' => $class->getId(),\n 'text' => $text,\n 'leaf' => true,\n- 'icon' => $class->getIcon() ? $class->getIco... | php | CWE-79 | [
"bundles/AdminBundle/Controller/Admin/DataObject/ClassController.php"
] | bundles/AdminBundle/Controller/Admin/DataObject/ClassController.php | 1 |
export default class ReactSVG extends React.Component { static defaultProps = { callback: () => {}, className: null, evalScripts: 'once', style: {}, wrapperClassName: null } | export default class ReactSVG extends React.Component { static defaultProps = { callback: () => {}, className: null, evalScripts: 'never', style: {}, wrapperClassName: null } | GHSA-8xqr-4cpm-wx7g | {'CWE-79'} | 0 | {'https://github.com/tanem/react-svg/pull/57/commits/ec7de5d678f53a085cee1348cb1aa069c9fc42fb'} | osv | Cross-Site Scripting in react-svg Versions of `react-svg` before 2.2.18 are vulnerable to cross-site scripting (xss). This is due to the fact that scripts found in SVG files are run by default.
## Recommendation
Update to version 2.2.18 or later. | 2019-05-31 | 1 | https://github.com/tanem/react-svg | https://github.com/tanem/react-svg/pull/57/commits/ec7de5d678f53a085cee1348cb1aa069c9fc42fb | ec7de5d678f53a085cee1348cb1aa069c9fc42fb | SINGLE | ['ec7de5d678f53a085cee1348cb1aa069c9fc42fb'] | {'9fa13da92cc4c44a10b6e2aced023d3199e8c6bb'} | ec7de5d678f53a085cee1348cb1aa069c9fc42fb | 1 | 04/21/2018, 18:37:51 | Changed default evalScripts prop to match documentation. | Ron Perris | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -10,7 +10,7 @@ export default class ReactSVG extends React.Component {\n static defaultProps = {\n callback: () => {},\n className: null,\n- evalScripts: 'once',\n+ evalScripts: 'never',\n style: {},\n wrapperClassN... | js | CWE-79 | [
"src/index.js"
] | src/index.js | 1 |
module.exports = async ({ reporter, getBrowser, htmlUrl, strategy, timeout, req, return } page.on('pageerror', (err) => { pageLog('warn', `Page error: ${err.message}${err.stack ? ` , stack: ${err.stack}` : ''}`) }) module.exports = async ({ reporter, getBrowser, htmlUrl, strategy, timeout, req... | module.exports = async ({ reporter, getBrowser, htmlUrl, strategy, timeout, req, return } await page.setRequestInterception(true) if (executionInfo.error) { return } page.on('pageerror', (err) => { pageLog('warn', `Page error: ${err.message}${err.stack ? ` , stack: ${err.stack}... | GHSA-934w-hvj4-7fr6 | {'CWE-22'} | 6.5 | {'https://github.com/jsreport/jsreport-chrome-pdf/commit/6750b2f77d05cb843aefc1c4a98097a3bd33a6a2'} | osv | Path Traversal in jsreport-chrome-pdf This affects the package jsreport-chrome-pdf before 1.10.0. | 2021-04-13 | 1 | https://github.com/jsreport/jsreport-chrome-pdf | https://github.com/jsreport/jsreport-chrome-pdf/commit/6750b2f77d05cb843aefc1c4a98097a3bd33a6a2 | 6750b2f77d05cb843aefc1c4a98097a3bd33a6a2 | SINGLE | ['6750b2f77d05cb843aefc1c4a98097a3bd33a6a2'] | {'ba51764dae68403893f9f0e0ce7d060b78ee26c4'} | 6750b2f77d05cb843aefc1c4a98097a3bd33a6a2 | 1 | 10/30/2020, 16:09:42 | block file requests | BJR Matos | null | {'additions': 19, 'deletions': 0, 'total': 19} | [
{
"additions": 19,
"changes": 19,
"deletions": 0,
"patch": "@@ -38,6 +38,12 @@ module.exports = async ({ reporter, getBrowser, htmlUrl, strategy, timeout, req,\n return\n }\n \n+ await page.setRequestInterception(true)\n+\n+ if (executionInfo.error) {\n+ return\n+ }\n+\n ... | js | CWE-22 | [
"lib/conversion.js"
] | lib/conversion.js | 1 |
public function getWidgetVariables($hookName = null, array $configuration = []) } } $this->contact['contacts'] = $this->getTemplateVarContact(); $this->contact['message'] = html_entity_decode(Tools::getValue('message')); $this->contact['allow_file_upload'] = (bool) Configura... | public function getWidgetVariables($hookName = null, array $configuration = []) } } $this->contact['contacts'] = $this->getTemplateVarContact(); $this->contact['message'] = Tools::getValue('message'); $this->contact['allow_file_upload'] = (bool) Configuration::get('PS_CUSTOM... | GHSA-95hx-62rh-gg96 | {'CWE-79'} | 8 | {'https://github.com/PrestaShop/contactform/commit/ecd9f5d14920ec00885766a7cb41bcc5ed8bfa09'} | osv | Potential XSS injection In PrestaShop contactform ### Impact
An attacker is able to inject javascript while using the contact form.
### Patches
The problem is fixed in v4.3.0
### References
[Cross-site Scripting (XSS) - Stored (CWE-79)](https://cwe.mitre.org/data/definitions/79.html) | 2020-09-15 | 1 | https://github.com/PrestaShop/contactform | https://github.com/PrestaShop/contactform/commit/ecd9f5d14920ec00885766a7cb41bcc5ed8bfa09 | ecd9f5d14920ec00885766a7cb41bcc5ed8bfa09 | SINGLE | ['ecd9f5d14920ec00885766a7cb41bcc5ed8bfa09'] | {'a883e56240357b4aaaf594ade573bb596e518078', 'aa3c77923734854bb7168f30db43544e42638202'} | ecd9f5d14920ec00885766a7cb41bcc5ed8bfa09 | 1 | 09/15/2020, 08:03:00 | Merge pull request from GHSA-95hx-62rh-gg96
Do not unescape form message data | GoT | null | {'additions': 9, 'deletions': 8, 'total': 17} | [
{
"additions": 9,
"changes": 17,
"deletions": 8,
"patch": "@@ -317,7 +317,7 @@ public function getWidgetVariables($hookName = null, array $configuration = [])\n }\n }\n $this->contact['contacts'] = $this->getTemplateVarContact();\n- $this->contact['message'] = html... | php | CWE-79 | [
"contactform.php"
] | contactform.php | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.