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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
$.extend($.fn.bootstrapTable.defaults, { showExport: false, exportDataType: 'basic', // basic, all, selected exportTypes: ['json', 'xml', 'csv', 'txt', 'sql', 'excel'], exportOptions: { onCellHtmlData (cell, rowIndex, colIndex, htmlData) { if (cell.is('th')) { return cell.find('.th-inner').te... | $.extend($.fn.bootstrapTable.defaults, { showExport: false, exportDataType: 'basic', // basic, all, selected exportTypes: ['json', 'xml', 'csv', 'txt', 'sql', 'excel'], exportOptions: {}, exportFooter: false }) $.BootstrapTable = class extends $.BootstrapTable { $exportButtons.click(e => { e.preve... | GHSA-grw5-g9h2-wpg8 | {'CWE-79'} | 6.8 | {'https://github.com/wenzhixin/bootstrap-table/commit/b4a1e5dd332be652e0bc376fd9256886cf4bbde9'} | osv | Cross-site Scripting in bootstrap-table Bootstrap Tables XSS vulnerability with Table Export plug-in when exportOptions: htmlContent is true in GitHub repository wenzhixin/bootstrap-table prior to 1.20.2. Disclosing session cookies, disclosing secure session data, exfiltrating data to third-parties. | 2022-05-17 | 1 | https://github.com/wenzhixin/bootstrap-table | https://github.com/wenzhixin/bootstrap-table/commit/b4a1e5dd332be652e0bc376fd9256886cf4bbde9 | b4a1e5dd332be652e0bc376fd9256886cf4bbde9 | SINGLE | ['b4a1e5dd332be652e0bc376fd9256886cf4bbde9'] | {'55d3760df3d226ac1150d7ddcbfd0ff6bd1c53c2'} | b4a1e5dd332be652e0bc376fd9256886cf4bbde9 | 1 | 05/10/2022, 02:59:07 | Fixed XSS vulnerability bug by onCellHtmlData | zhixin | null | {'additions': 4, 'deletions': 16, 'total': 20} | [
{
"additions": 4,
"changes": 20,
"deletions": 16,
"patch": "@@ -23,15 +23,7 @@ $.extend($.fn.bootstrapTable.defaults, {\n showExport: false,\n exportDataType: 'basic', // basic, all, selected\n exportTypes: ['json', 'xml', 'csv', 'txt', 'sql', 'excel'],\n- exportOptions: {\n- onCellHtmlDat... | js | CWE-79 | [
"src/extensions/export/bootstrap-table-export.js"
] | src/extensions/export/bootstrap-table-export.js | 1 |
public function setOrderKey($orderKey, $quote = true) if ($quote === false) { $this->orderKey[] = $o; } elseif ($this->isValidOrderKey($o)) { $this->orderKey[] = '`' . $o . '`'; } } } public function setGroupBy(... | public function setOrderKey($orderKey, $quote = true) if ($quote === false) { $this->orderKey[] = $o; } elseif ($this->isValidOrderKey($o)) { $this->orderKey[] = $this->quoteIdentifier($o); } } } public function... | GHSA-gvmf-wcx6-p974 | {'CWE-89'} | 8.1 | {'https://github.com/pimcore/pimcore/commit/21559c6bf0e4e828d33ff7af6e88caecb5ac6549'} | osv | Improper quoting of columns when using setOrderBy() or setGroupBy() on listing classes in Pimcore ### Impact
Pimcore offers developers listing classes to make querying data easier. This listing classes also allow to order or group the results based on one or more columns which should be quoted by default.
The actual i... | 2022-06-22 | 1 | https://github.com/pimcore/pimcore | https://github.com/pimcore/pimcore/commit/21559c6bf0e4e828d33ff7af6e88caecb5ac6549 | 21559c6bf0e4e828d33ff7af6e88caecb5ac6549 | SINGLE | ['21559c6bf0e4e828d33ff7af6e88caecb5ac6549'] | {'4c66ac7305ee0a5027ade88020d811761555148b'} | 21559c6bf0e4e828d33ff7af6e88caecb5ac6549 | 1 | 06/20/2022, 13:37:31 | [Security] SQL Injection in Data Hub GraphQL (#12444)
* [Security] SQL Injection in Data Hub GraphQL (AbstractListing)
* Update lib/Model/Listing/AbstractListing.php
Co-authored-by: Jacob Dreesen <j.dreesen@neusta.de>
* Update lib/Model/Listing/AbstractListing.php
Co-authored-by: mcop1 <89011527+mcop1@user... | mcop1 | null | {'additions': 16, 'deletions': 3, 'total': 19} | [
{
"additions": 16,
"changes": 19,
"deletions": 3,
"patch": "@@ -235,7 +235,7 @@ public function setOrderKey($orderKey, $quote = true)\n if ($quote === false) {\n $this->orderKey[] = $o;\n } elseif ($this->isValidOrderKey($o)) {\n- ... | php | CWE-89 | [
"lib/Model/Listing/AbstractListing.php"
] | lib/Model/Listing/AbstractListing.php | 1 |
window.search = window.search || {}; url.push(""); } return '<a href="' + path_to_root + url[0] + '?' + URL_MARK_PARAM + '=' + searchterms + '#' + url[1] + '" aria-details="teaser_' + teaser_count + '">' + result.doc.breadcrumbs + '</a>' + '<span class="teaser" id="... | window.search = window.search || {}; url.push(""); } // encodeURIComponent escapes all chars that could allow an XSS except // for '. Due to that we also manually replace ' with its url-encoded // representation (%27). var searchterms = encodeURIComponent(searchterm... | GHSA-gx5w-rrhp-f436 | {'CWE-79'} | 8.2 | {'https://github.com/rust-lang/mdBook/commit/32abeef088e98327ca0dfccdad92e84afa9d2e9b'} | osv | XSS in mdBook > This is a cross-post of [the official security advisory][ml]. The official post contains a signed version with our PGP key, as well.
[ml]: https://groups.google.com/g/rustlang-security-announcements/c/3-sO6of29O0
The Rust Security Response Working Group was recently notified of a security issue affect... | 2021-08-25 | 1 | https://github.com/rust-lang/mdBook | https://github.com/rust-lang/mdBook/commit/32abeef088e98327ca0dfccdad92e84afa9d2e9b | 32abeef088e98327ca0dfccdad92e84afa9d2e9b | SINGLE | ['32abeef088e98327ca0dfccdad92e84afa9d2e9b'] | {'5de9b6841ed03c8149eeec3c8a5fcd40b5d4dbe0'} | 32abeef088e98327ca0dfccdad92e84afa9d2e9b | 1 | 12/30/2020, 21:13:15 | fix xss in the search page
Thanks to Kamil Vavra for responsibly disclosing the vulnerability
according to Rust's Security Policy. | Pietro Albini | null | {'additions': 5, 'deletions': 0, 'total': 5} | [
{
"additions": 5,
"changes": 5,
"deletions": 0,
"patch": "@@ -145,6 +145,11 @@ window.search = window.search || {};\n url.push(\"\");\n }\n \n+ // encodeURIComponent escapes all chars that could allow an XSS except\n+ // for '. Due to that we also manually replace '... | js | CWE-79 | [
"src/theme/searcher/searcher.js"
] | src/theme/searcher/searcher.js | 1 |
protected void scanPI() throws IOException { if (c == '?' || c == '/') { char c0 = (char)c; c = fCurrentEntity.read(); if (c == '>') { break; } fString... | protected void scanPI() throws IOException { if (c == '?' || c == '/') { char c0 = (char)c; c = fCurrentEntity.read(); if (c == '>' || c == -1) { break; } ... | GHSA-gx8x-g87m-h5q6 | {'CWE-400'} | 7.5 | {'https://github.com/sparklemotion/nekohtml/commit/a800fce3b079def130ed42a408ff1d09f89e773d'} | osv | Denial of Service (DoS) in Nokogiri on JRuby ## Summary
Nokogiri `v1.13.4` updates the vendored `org.cyberneko.html` library to `1.9.22.noko2` which addresses [CVE-2022-24839](https://github.com/sparklemotion/nekohtml/security/advisories/GHSA-9849-p7jc-9rmv). That CVE is rated 7.5 (High Severity).
See [GHSA-9849-p7jc... | 2022-04-11 | 1 | https://github.com/sparklemotion/nekohtml | https://github.com/sparklemotion/nekohtml/commit/a800fce3b079def130ed42a408ff1d09f89e773d | a800fce3b079def130ed42a408ff1d09f89e773d | SINGLE | ['a800fce3b079def130ed42a408ff1d09f89e773d'] | {'6fe9b53bc289d0e90d684c0f4a8e9f2b19f3460f'} | a800fce3b079def130ed42a408ff1d09f89e773d | 1 | 04/03/2022, 23:03:39 | fix: ensure ill-formed PIs are parsed correctly | Mike Dalessio | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -2588,7 +2588,7 @@ protected void scanPI() throws IOException {\n if (c == '?' || c == '/') {\n char c0 = (char)c;\n c = fCurrentEntity.read();\n- i... | java | CWE-400 | [
"src/org/cyberneko/html/HTMLScanner.java"
] | src/org/cyberneko/html/HTMLScanner.java | 1 |
exports.handleRequest = function(vpath, path, req, res, readOnly, logHeadRequest var name = results[f].name; var normalized = url + '/' + name; while(normalized[0] == '/') { normalized = normalized.slice(1, normalized.length); } res.write('\r\n<p><a href="/' ... | exports.handleRequest = function(vpath, path, req, res, readOnly, logHeadRequest var name = results[f].name; var normalized = url + '/' + name; while(normalized[0] == '/') { normalized = normalized.slice(1, normalized.length); } if(normalized.indexOf('"') >= ... | GHSA-h24f-9mm4-w336 | {'CWE-79'} | 0 | {'https://github.com/omphalos/crud-file-server/commit/4155bfe068bf211b49a0b3ffd06e78cbaf1b40fa'} | osv | Cross-site Scripting (XSS) - Stored in crud-file-server Versions of `crud-file-server` before 0.8.0 are vulnerable to stored cross-site scripting (XSS). This is due to insufficient santiziation of filenames when directory index is served by `crud-file-server`.
## Recommendation
Update to version 0.8.0 or later. | 2018-07-18 | 1 | https://github.com/omphalos/crud-file-server | https://github.com/omphalos/crud-file-server/commit/4155bfe068bf211b49a0b3ffd06e78cbaf1b40fa | 4155bfe068bf211b49a0b3ffd06e78cbaf1b40fa | SINGLE | ['4155bfe068bf211b49a0b3ffd06e78cbaf1b40fa'] | {'0c45fc64f0c0aeb23fe515c95e29f6485803de65'} | 4155bfe068bf211b49a0b3ffd06e78cbaf1b40fa | 1 | 02/14/2018, 23:29:21 | Fix not sanitizing file names rendered in html | omphalos | null | {'additions': 3, 'deletions': 1, 'total': 4} | [
{
"additions": 3,
"changes": 4,
"deletions": 1,
"patch": "@@ -140,7 +140,9 @@ exports.handleRequest = function(vpath, path, req, res, readOnly, logHeadRequest\n \t\t\t\t\t\t\t\t\t\t\t\t\t\t\tvar name = results[f].name;\r\n \t\t\t\t\t\t\t\t\t\t\t\t\t\t\tvar normalized = url + '/' + name;\r\n \t\t\t\t... | js | CWE-79 | [
"crud-file-server.js"
] | crud-file-server.js | 1 |
class award_criteria_profile extends award_criteria { public $required_param = 'field'; public $optional_params = array(); /** * Add appropriate new criteria options to the form * public function get_options(&$mform) { $none = true; $existing = array(); $missing = array()... | class award_criteria_profile extends award_criteria { public $required_param = 'field'; public $optional_params = array(); /* @var array The default profile fields allowed to be used as award criteria. * * Note: This is used instead of user_get_default_fields(), because it is not possible to ... | GHSA-h2fw-93qx-vrcq | {'CWE-89'} | 8.8 | {'https://github.com/moodle/moodle/commit/c2794752ea3cdda2d64a0651da08b2cdf730d9f1'} | osv | SQL Injection in Moodle An SQL injection risk was identified in Badges code relating to configuring criteria. Access to the relevant capability was limited to teachers and managers by default. | 2022-03-26 | 1 | https://github.com/moodle/moodle | https://github.com/moodle/moodle/commit/c2794752ea3cdda2d64a0651da08b2cdf730d9f1 | c2794752ea3cdda2d64a0651da08b2cdf730d9f1 | SINGLE | ['c2794752ea3cdda2d64a0651da08b2cdf730d9f1'] | {'addd4f894d8173ec8ff0ae2212d51a1977e7bcad'} | c2794752ea3cdda2d64a0651da08b2cdf730d9f1 | 1 | 03/03/2022, 18:02:15 | MDL-74074 badges: Ensure profile criteria exists before completion check | Michael Hawkins | null | {'additions': 23, 'deletions': 6, 'total': 29} | [
{
"additions": 23,
"changes": 29,
"deletions": 6,
"patch": "@@ -39,6 +39,26 @@ class award_criteria_profile extends award_criteria {\n public $required_param = 'field';\n public $optional_params = array();\n \n+ /* @var array The default profile fields allowed to be used as award criteria... | php | CWE-89 | [
"badges/criteria/award_criteria_profile.php"
] | badges/criteria/award_criteria_profile.php | 1 |
class QuantizeAndDequantizeV4GradientOp : public OpKernel { OP_REQUIRES(ctx, input_min_tensor.dims() == 0 || input_min_tensor.dims() == 1, errors::InvalidArgument( "Input min tensor must have dimension 1. Recieved ", input_min_tensor.dims(), "... | class QuantizeAndDequantizeV4GradientOp : public OpKernel { OP_REQUIRES(ctx, input_min_tensor.dims() == 0 || input_min_tensor.dims() == 1, errors::InvalidArgument( "Input min tensor must have dimension 0 or 1. Received ", input_min_tensor.dims... | GHSA-h2wq-prv9-2f56 | {'CWE-20'} | 5.5 | {'https://github.com/tensorflow/tensorflow/commit/098e7762d909bac47ce1dbabe6dfd06294cb9d58'} | osv | Missing validation crashes `QuantizeAndDequantizeV4Grad` ### Impact
The implementation of [`tf.raw_ops.QuantizeAndDequantizeV4Grad`](https://github.com/tensorflow/tensorflow/blob/f3b9bf4c3c0597563b289c0512e98d4ce81f886e/tensorflow/core/kernels/quantize_and_dequantize_op.cc#L148-L226) does not fully validate the input a... | 2022-05-24 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/098e7762d909bac47ce1dbabe6dfd06294cb9d58 | 098e7762d909bac47ce1dbabe6dfd06294cb9d58 | SINGLE | ['098e7762d909bac47ce1dbabe6dfd06294cb9d58'] | {'e505acc64062d9250ad4452ce57529bed8fd2160'} | 098e7762d909bac47ce1dbabe6dfd06294cb9d58 | 1 | 04/28/2022, 18:06:02 | Fix tf.raw_ops.QuantizeAndDequantizeV4Grad vulnerability with invalid input_min or input_max.
Check that argument is actually a scalar before treating it as such.
PiperOrigin-RevId: 445198280 | Alan Liu | null | {'additions': 8, 'deletions': 2, 'total': 10} | [
{
"additions": 8,
"changes": 10,
"deletions": 2,
"patch": "@@ -174,13 +174,13 @@ class QuantizeAndDequantizeV4GradientOp : public OpKernel {\n OP_REQUIRES(ctx,\n input_min_tensor.dims() == 0 || input_min_tensor.dims() == 1,\n errors::InvalidArgument(\n- ... | cc | CWE-20 | [
"tensorflow/core/kernels/quantize_and_dequantize_op.cc"
] | tensorflow/core/kernels/quantize_and_dequantize_op.cc | 1 |
export default function addStickyControl() { if (firstPost) { const excerpt = truncate(firstPost.contentPlain(), 175); items.add('excerpt', m.trust(excerpt), -100); } } }); | export default function addStickyControl() { if (firstPost) { const excerpt = truncate(firstPost.contentPlain(), 175); // Wrapping in <div> because ItemList entries need to be vnodes items.add('excerpt', <div>{excerpt}</div>, -100); } } }); | GHSA-h3gg-7wx2-cq3h | {'CWE-79'} | 0 | {'https://github.com/flarum/sticky/commit/7ebd30462bd405c4c0570b93a6d48710e6c3db19'} | osv | XSS in Flarum Sticky extension ### Impact
A change in release beta 14 of the Sticky extension caused the plain text content of the first post of a pinned discussion to be injected as HTML on the discussion list. The issue was discovered following an internal audit.
Any HTML would be injected through Mithril's `m.trust... | 2021-01-29 | 1 | https://github.com/flarum/sticky | https://github.com/flarum/sticky/commit/7ebd30462bd405c4c0570b93a6d48710e6c3db19 | 7ebd30462bd405c4c0570b93a6d48710e6c3db19 | SINGLE | ['7ebd30462bd405c4c0570b93a6d48710e6c3db19'] | {'62a74d25ab3f84f69d1c4b5920080963788a8360'} | 7ebd30462bd405c4c0570b93a6d48710e6c3db19 | 1 | 01/22/2021, 18:53:11 | Fix evaluation of post content by m.trust() (#24) | Sami Mazouz | null | {'additions': 2, 'deletions': 1, 'total': 3} | [
{
"additions": 2,
"changes": 3,
"deletions": 1,
"patch": "@@ -21,7 +21,8 @@ export default function addStickyControl() {\n if (firstPost) {\n const excerpt = truncate(firstPost.contentPlain(), 175);\n \n- items.add('excerpt', m.trust(excerpt), -100);\n+ // Wrapping in <di... | js | CWE-79 | [
"js/src/forum/addStickyExcerpt.js"
] | js/src/forum/addStickyExcerpt.js | 1 |
module.exports = function (svgString) { // Empty script tags and javascript executing svgString = svgString.replace(/<script[\s\S]*>[\s\S]*<\/script>/, '<script></script>'); // Remove error handlers svgString = svgString.replace(/onerror=[\s\S]*['"].*?['"]/i, ''); return svgString; }; | module.exports = function (svgString) { // Empty script tags and javascript executing svgString = svgString.replace(/<script[\s\S]*>[\s\S]*<\/script>/, '<script></script>'); // Remove event handlers const eventNames = [ 'onbegin', 'onend', 'onrepeat', 'onabort', 'onerror', 'onresize', 'ons... | GHSA-h3vq-wv8j-36gw | {'CWE-79'} | 0 | {'https://github.com/LLK/scratch-svg-renderer/commit/7c74ec7de3254143ec3c557677f5355a90a3d07f'} | osv | Cross-site Scripting in Scratch-Svg-Renderer A DOM-based cross-site scripting (XSS) vulnerability in Scratch-Svg-Renderer v0.2.0 allows attackers to execute arbitrary web scripts or HTML via a crafted sb3 file. | 2022-01-08 | 1 | https://github.com/LLK/scratch-svg-renderer | https://github.com/LLK/scratch-svg-renderer/commit/7c74ec7de3254143ec3c557677f5355a90a3d07f | 7c74ec7de3254143ec3c557677f5355a90a3d07f | SINGLE | ['7c74ec7de3254143ec3c557677f5355a90a3d07f'] | {'d010f2d0edc3ab87ecabb27b9160f91317aa2722'} | 7c74ec7de3254143ec3c557677f5355a90a3d07f | 1 | 10/09/2020, 19:50:27 | Remove lots of event handlers | Eric Rosenbaum | null | {'additions': 15, 'deletions': 2, 'total': 17} | [
{
"additions": 15,
"changes": 17,
"deletions": 2,
"patch": "@@ -50,8 +50,21 @@ module.exports = function (svgString) {\n // Empty script tags and javascript executing\n svgString = svgString.replace(/<script[\\s\\S]*>[\\s\\S]*<\\/script>/, '<script></script>');\n \n- // Remove error h... | js | CWE-79 | [
"src/fixup-svg-string.js"
] | src/fixup-svg-string.js | 1 |
{f:translate( key: 'forgot_validate_reset_password_html', extensionName: 'felogin', arguments: '{ 0: receiverName, 1: recoveryLink, 2: validUntil }' ) -> f:format.html()} </f:spaceless> </f:section> | {f:translate( key: 'forgot_validate_reset_password_html', extensionName: 'felogin', arguments: '{ 0: "{receiverName -> f:format.htmlspecialchars()}", 1: recoveryLink, 2: validUntil }' ) -> f:format.html()} </f:spaceless> </f:section> | GHSA-h4mx-xv96-2jgm | {'CWE-79'} | 5.4 | {'https://github.com/TYPO3/typo3/commit/da611775f92102d7602713003f4c79606c8a445d'} | osv | Cross-Site Scripting in TYPO3's Frontend Login Mailer > ### Meta
> * CVSS: `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N/E:F/RL:O/RC:C` (4.9)
### Problem
User submitted content was used without being properly encoded in HTML emails sent to users. The actually affected components were mail clients used to view those me... | 2022-06-17 | 1 | https://github.com/TYPO3/typo3 | https://github.com/TYPO3/typo3/commit/da611775f92102d7602713003f4c79606c8a445d | da611775f92102d7602713003f4c79606c8a445d | SINGLE | ['da611775f92102d7602713003f4c79606c8a445d'] | {'6f2554dc4ea0b670fd5599c54fd788d4db96c4a0'} | da611775f92102d7602713003f4c79606c8a445d | 1 | 06/14/2022, 07:18:04 | [SECURITY] Avoid HTML injection in password recovery mail
The `receiverName` variable used in the password recovery mail of the
Extbase felogin plugin was susceptible to HTML injection due to
missing sanitization. The variable is now passed thru the
`f:format.htmlspecialchars` ViewHelper.
Resolves: #96559
Releases: m... | Andreas Fernandez | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -9,7 +9,7 @@\n {f:translate(\n key: 'forgot_validate_reset_password_html',\n extensionName: 'felogin',\n- arguments: '{ 0: receiverName, 1: recoveryLink, 2: validUntil }'\n+ arguments: '{ 0: \"{receive... | html | CWE-79 | [
"typo3/sysext/felogin/Resources/Private/Email/Templates/PasswordRecovery.html"
] | typo3/sysext/felogin/Resources/Private/Email/Templates/PasswordRecovery.html | 1 |
TfLiteStatus ResizeOutputTensors(TfLiteContext* context, TfLiteNode* node, } } const int input_size = SizeOfDimension(input, axis_value); if (minus_one_index != -1) { | TfLiteStatus ResizeOutputTensors(TfLiteContext* context, TfLiteNode* node, } } TF_LITE_ENSURE(context, axis_value >= 0); TF_LITE_ENSURE(context, axis_value < NumDimensions(input)); const int input_size = SizeOfDimension(input, axis_value); if (minus_one_index != -1) { | GHSA-h4pc-gx2w-f2xv | {'CWE-125'} | 7.1 | {'https://github.com/tensorflow/tensorflow/commit/ae2daeb45abfe2c6dda539cf8d0d6f653d3ef412'} | osv | Heap OOB read in TFLite ### Impact
A specially crafted TFLite model could trigger an OOB read on heap in the TFLite implementation of [`Split_V`](https://github.com/tensorflow/tensorflow/blob/c59c37e7b2d563967da813fa50fe20b21f4da683/tensorflow/lite/kernels/split_v.cc#L99):
```cc
const int input_size = SizeOfDimension(... | 2021-05-21 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/ae2daeb45abfe2c6dda539cf8d0d6f653d3ef412 | ae2daeb45abfe2c6dda539cf8d0d6f653d3ef412 | SINGLE | ['ae2daeb45abfe2c6dda539cf8d0d6f653d3ef412'] | {'c59c37e7b2d563967da813fa50fe20b21f4da683'} | ae2daeb45abfe2c6dda539cf8d0d6f653d3ef412 | 1 | 04/29/2021, 01:12:15 | Prevent array OOB read/write
PiperOrigin-RevId: 371026165
Change-Id: I26ac6372c87246e03c7eb8c94e84c84d86054b36 | Mihai Maruseac | null | {'additions': 2, 'deletions': 0, 'total': 2} | [
{
"additions": 2,
"changes": 2,
"deletions": 0,
"patch": "@@ -96,6 +96,8 @@ TfLiteStatus ResizeOutputTensors(TfLiteContext* context, TfLiteNode* node,\n }\n }\n \n+ TF_LITE_ENSURE(context, axis_value >= 0);\n+ TF_LITE_ENSURE(context, axis_value < NumDimensions(input));\n const int input_si... | cc | CWE-125 | [
"tensorflow/lite/kernels/split_v.cc"
] | tensorflow/lite/kernels/split_v.cc | 1 |
class DeleteSessionTensorOp : public OpKernel { void Compute(OpKernelContext* ctx) override { const Tensor& handle = ctx->input(0); const string& name = handle.scalar<tstring>()(); auto session_state = ctx->session_state(); OP_REQUIRES(ctx, session_state != nullptr, | class DeleteSessionTensorOp : public OpKernel { void Compute(OpKernelContext* ctx) override { const Tensor& handle = ctx->input(0); OP_REQUIRES(ctx, TensorShapeUtils::IsScalar(handle.shape()), errors::InvalidArgument("`handle` must be scalar")); const string& name = handle.scalar<tstring... | GHSA-h5g4-ppwx-48q2 | {'CWE-20'} | 5.5 | {'https://github.com/tensorflow/tensorflow/commit/cff267650c6a1b266e4b4500f69fbc49cdd773c5'} | osv | Missing validation causes denial of service via `DeleteSessionTensor` ### Impact
The implementation of [`tf.raw_ops.DeleteSessionTensor`](https://github.com/tensorflow/tensorflow/blob/f3b9bf4c3c0597563b289c0512e98d4ce81f886e/tensorflow/core/kernels/session_ops.cc#L128-L144) does not fully validate the input arguments. ... | 2022-05-24 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/cff267650c6a1b266e4b4500f69fbc49cdd773c5 | cff267650c6a1b266e4b4500f69fbc49cdd773c5 | SINGLE | ['cff267650c6a1b266e4b4500f69fbc49cdd773c5'] | {'339d5de981acaa8580da62c5de8c0da64ae88ad4'} | cff267650c6a1b266e4b4500f69fbc49cdd773c5 | 1 | 04/28/2022, 20:08:57 | Fix tf.raw_ops.DeleteSessionTensor vulnerability with invalid `handle`.
Check that `handle` input is actually a scalar before treating it as such.
PiperOrigin-RevId: 445228994 | Alan Liu | null | {'additions': 2, 'deletions': 0, 'total': 2} | [
{
"additions": 2,
"changes": 2,
"deletions": 0,
"patch": "@@ -134,6 +134,8 @@ class DeleteSessionTensorOp : public OpKernel {\n \n void Compute(OpKernelContext* ctx) override {\n const Tensor& handle = ctx->input(0);\n+ OP_REQUIRES(ctx, TensorShapeUtils::IsScalar(handle.shape()),\n+ ... | cc | CWE-20 | [
"tensorflow/core/kernels/session_ops.cc"
] | tensorflow/core/kernels/session_ops.cc | 1 |
export function parsePatch(uniDiff, options = {}) { // Parses the --- and +++ headers, if none are found, no lines // are consumed. function parseFileHeader(index) { const headerPattern = /^(---|\+\+\+)\s+([\S ]*)(?:\t(.*?)\s*)?$/; const fileHeader = headerPattern.exec(diffstr[i]); if (fileHeader) { ... | export function parsePatch(uniDiff, options = {}) { // Parses the --- and +++ headers, if none are found, no lines // are consumed. function parseFileHeader(index) { const fileHeader = (/^(---|\+\+\+)\s+(.*)$/).exec(diffstr[i]); if (fileHeader) { let keyPrefix = fileHeader[1] === '---' ? 'old' : 'n... | GHSA-h6ch-v84p-w6p9 | {'CWE-400'} | 0 | {'https://github.com/kpdecker/jsdiff/commit/2aec4298639bf30fb88a00b356bf404d3551b8c0'} | osv | Regular Expression Denial of Service (ReDoS) A vulnerability was found in diff before v3.5.0, the affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) attacks. | 2019-06-13 | 1 | https://github.com/kpdecker/jsdiff | https://github.com/kpdecker/jsdiff/commit/2aec4298639bf30fb88a00b356bf404d3551b8c0 | 2aec4298639bf30fb88a00b356bf404d3551b8c0 | SINGLE | ['2aec4298639bf30fb88a00b356bf404d3551b8c0'] | {'a47aca9cb199d558e02ce406e9838356803e204f'} | 2aec4298639bf30fb88a00b356bf404d3551b8c0 | 1 | 03/05/2018, 04:00:42 | Optimize parch header parser | Kevin Decker | {'com_1': {'author': 'mariosanchezgarcia', 'datetime': '07/30/2019, 17:32:24', 'body': 'Mario'}} | {'additions': 4, 'deletions': 4, 'total': 8} | [
{
"additions": 4,
"changes": 8,
"deletions": 4,
"patch": "@@ -53,16 +53,16 @@ export function parsePatch(uniDiff, options = {}) {\n // Parses the --- and +++ headers, if none are found, no lines\n // are consumed.\n function parseFileHeader(index) {\n- const headerPattern = /^(---|\\+\\+\\+... | js | CWE-400 | [
"src/patch/parse.js"
] | src/patch/parse.js | 1 |
def from_time(time, options = {}) # # @since 2.0.0 def legal?(string) string.to_s =~ /^[0-9a-f]{24}$/i ? true : false end # Executes the provided block only if the size of the provided object is | def from_time(time, options = {}) # # @since 2.0.0 def legal?(string) string.to_s =~ /\A[0-9a-f]{24}\z/i ? true : false end # Executes the provided block only if the size of the provided object is | GHSA-h6rj-8r3c-9gpj | {'CWE-400'} | 9.8 | {'https://github.com/mongodb/bson-ruby/commit/976da329ff03ecdfca3030eb6efe3c85e6db9999'} | osv | bson is vulnerable to denial of service due to incorrect regex validation BSON injection vulnerability in the legal? function in BSON (bson-ruby) gem before 3.0.4 for Ruby allows remote attackers to cause a denial of service (resource consumption) or inject arbitrary data via a crafted string. | 2018-03-05 | 1 | https://github.com/mongodb/bson-ruby | https://github.com/mongodb/bson-ruby/commit/976da329ff03ecdfca3030eb6efe3c85e6db9999 | 976da329ff03ecdfca3030eb6efe3c85e6db9999 | SINGLE | ['976da329ff03ecdfca3030eb6efe3c85e6db9999'] | {'7446d7c6764dfda8dc4480ce16d5c023e74be5ca'} | 976da329ff03ecdfca3030eb6efe3c85e6db9999 | 1 | 06/04/2015, 04:19:42 | Use \A \z for checking regex on legal | Durran Jordan | {'com_1': {'author': 'judofyr', 'datetime': '06/04/2015, 16:53:06', 'body': 'Yay! Thanks for a quick patch.'}, 'com_2': {'author': 'cheald', 'datetime': '06/04/2015, 19:17:08', 'body': "Is the 1.x series going to see a patch? Users who aren't using bson_ext (such as users on JRuby) are still vulnerable."}, 'com_3': {'a... | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -282,7 +282,7 @@ def from_time(time, options = {})\n #\n # @since 2.0.0\n def legal?(string)\n- string.to_s =~ /^[0-9a-f]{24}$/i ? true : false\n+ string.to_s =~ /\\A[0-9a-f]{24}\\z/i ? true : false\n ... | rb | CWE-400 | [
"lib/bson/object_id.rb"
] | lib/bson/object_id.rb | 1 |
private function userAuth() } $this->ipWarning(); ToolBox::i18nLog()->warning('login-user-not-found', ['%nick%' => $nick]); return false; } | private function userAuth() } $this->ipWarning(); ToolBox::i18nLog()->warning('login-user-not-found', ['%nick%' => htmlspecialchars($nick)]); return false; } | GHSA-h6wm-mr85-4h9g | {'CWE-79'} | 6.1 | {'https://github.com/neorazorx/facturascripts/commit/73a6595ca85984d65f656c6356fabb23d1936c54'} | osv | Cross site scripting in facturascripts A Cross-site Scripting (XSS) vulnerability exists in the fsNick parameter in facturascripts prior to version 2022.06 | 2022-06-14 | 1 | https://github.com/neorazorx/facturascripts | https://github.com/neorazorx/facturascripts/commit/73a6595ca85984d65f656c6356fabb23d1936c54 | 73a6595ca85984d65f656c6356fabb23d1936c54 | SINGLE | ['73a6595ca85984d65f656c6356fabb23d1936c54'] | {'298eb4b1a94c5898fde5a21e412955fc77a3ef93'} | 73a6595ca85984d65f656c6356fabb23d1936c54 | 1 | 04/28/2022, 09:29:31 | Sanitized username when showing user not found message.
------
Saneado nombre de usuario al mostrar el mensaje de usuario no encontrado. | Carlos Garcia Gomez | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -287,7 +287,7 @@ private function userAuth()\n }\n \n $this->ipWarning();\n- ToolBox::i18nLog()->warning('login-user-not-found', ['%nick%' => $nick]);\n+ ToolBox::i18nLog()->warning('login-user-not-found', ['%... | php | CWE-79 | [
"Core/App/AppController.php"
] | Core/App/AppController.php | 1 |
public function createCsvAction(Request $request) $progress = $progress > 1 ? 1 : $progress; return new JsonResponse([ 'exportFile' => $exportFile, 'offset' => $offset, 'progress' => $progress, 'finished' => empty($result['data']) || count($result['data'... | public function createCsvAction(Request $request) $progress = $progress > 1 ? 1 : $progress; return new JsonResponse([ 'exportFile' => basename($exportFile), 'offset' => $offset, 'progress' => $progress, 'finished' => empty($result['data']) || count($res... | GHSA-h7f9-cvh5-qw7f | {'CWE-22'} | 0 | {'https://github.com/pimcore/pimcore/commit/1786bdd4962ee51544fad537352c2b4223309442'} | osv | Path traversal in pimcore/pimcore This affects the package pimcore/pimcore before 6.8.8. A Local FIle Inclusion vulnerability exists in the downloadCsvAction function of the CustomReportController class (bundles/AdminBundle/Controller/Reports/CustomReportController.php). An authenticated user can reach this function wi... | 2021-02-25 | 1 | https://github.com/pimcore/pimcore | https://github.com/pimcore/pimcore/commit/1786bdd4962ee51544fad537352c2b4223309442 | 1786bdd4962ee51544fad537352c2b4223309442 | SINGLE | ['1786bdd4962ee51544fad537352c2b4223309442'] | {'3224684a3375c35910f8544943f4c073d30c8bfa'} | 1786bdd4962ee51544fad537352c2b4223309442 | 1 | 02/05/2021, 09:39:02 | Fixed LFI in custom report csv download | Bernhard Rusch | null | {'additions': 2, 'deletions': 1, 'total': 3} | [
{
"additions": 2,
"changes": 3,
"deletions": 1,
"patch": "@@ -433,7 +433,7 @@ public function createCsvAction(Request $request)\n $progress = $progress > 1 ? 1 : $progress;\n \n return new JsonResponse([\n- 'exportFile' => $exportFile,\n+ 'exportFile' => basenam... | php | CWE-22 | [
"bundles/AdminBundle/Controller/Reports/CustomReportController.php"
] | bundles/AdminBundle/Controller/Reports/CustomReportController.php | 1 |
module Authentication prepend_before_action :require_authenticated_user prepend_before_action :authenticate_user end protected | module Authentication prepend_before_action :require_authenticated_user prepend_before_action :authenticate_user # Ensure that CSRF protection happens before authentication protect_from_forgery prepend: true end protected | GHSA-h8hx-2c5r-32cf | {'CWE-352'} | 8.1 | {'https://github.com/TrestleAdmin/trestle-auth/commit/cb95b05cdb2609052207af07b4b8dfe3a23c11dc'} | osv | Cross-Site Request Forgery (CSRF) in trestle-auth ### Impact
A vulnerability in trestle-auth versions 0.4.0 and 0.4.1 allows an attacker to create a form that will bypass Rails' built-in CSRF protection when submitted by a victim with a trestle-auth admin session. This potentially allows an attacker to alter protected ... | 2021-04-13 | 1 | https://github.com/TrestleAdmin/trestle-auth | https://github.com/TrestleAdmin/trestle-auth/commit/cb95b05cdb2609052207af07b4b8dfe3a23c11dc | cb95b05cdb2609052207af07b4b8dfe3a23c11dc | SINGLE | ['cb95b05cdb2609052207af07b4b8dfe3a23c11dc'] | {'021955aa5d67260d6ba1faf2b5d59b9772164968'} | cb95b05cdb2609052207af07b4b8dfe3a23c11dc | 1 | 04/12/2021, 10:12:49 | Ensure CSRF protection is prepended before authentication before_actions | Sam Pohlenz | null | {'additions': 3, 'deletions': 0, 'total': 3} | [
{
"additions": 3,
"changes": 3,
"deletions": 0,
"patch": "@@ -9,6 +9,9 @@ module Authentication\n \n prepend_before_action :require_authenticated_user\n prepend_before_action :authenticate_user\n+\n+ # Ensure that CSRF protection happens before authentication\n+ ... | rb | CWE-352 | [
"lib/trestle/auth/controller/authentication.rb"
] | lib/trestle/auth/controller/authentication.rb | 1 |
def copy_with(self, **kwargs: typing.Any) -> "URL": # \_/ \______________/\_________/ \_________/ \__/ # | | | | | # scheme authority path query fragment return URL(self._uri_reference.copy_with(**kwargs).unsplit()) def... | def copy_with(self, **kwargs: typing.Any) -> "URL": # \_/ \______________/\_________/ \_________/ \__/ # | | | | | # scheme authority path query fragment new_url = URL(self) new_url._uri_reference = self._uri_referen... | GHSA-h8pj-cxx2-jfg2 | {'CWE-20'} | 9.1 | {'https://github.com/encode/httpx/pull/2185/commits/e3c495a32c63d8aa7f1bcf3b7b27ee1a0ff428e1'} | osv | Improper Input Validation in httpx Encode OSS httpx <=1.0.0.beta0 is affected by improper input validation in `httpx.URL`, `httpx.Client` and some functions using `httpx.URL.copy_with`. | 2022-04-29 | 1 | https://github.com/encode/httpx | https://github.com/encode/httpx/pull/2185/commits/e3c495a32c63d8aa7f1bcf3b7b27ee1a0ff428e1 | e3c495a32c63d8aa7f1bcf3b7b27ee1a0ff428e1 | SINGLE | ['e3c495a32c63d8aa7f1bcf3b7b27ee1a0ff428e1'] | {'b07fe7b0745e62be5ef9bce1bee9e7d7a8878552'} | e3c495a32c63d8aa7f1bcf3b7b27ee1a0ff428e1 | 1 | 04/21/2022, 06:22:38 | Patch `copy_with` | lebr0nli | null | {'additions': 5, 'deletions': 1, 'total': 6} | [
{
"additions": 5,
"changes": 6,
"deletions": 1,
"patch": "@@ -484,7 +484,11 @@ def copy_with(self, **kwargs: typing.Any) -> \"URL\":\n # \\_/ \\______________/\\_________/ \\_________/ \\__/\n # | | | | |\n # scheme authority ... | py | CWE-20 | [
"httpx/_urls.py"
] | httpx/_urls.py | 1 |
See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ #define EIGEN_USE_THREADS #if (defined(GOOGLE_CUDA) && GOOGLE_CUDA) || \ class QuantizeAndDequantizeV3Op : public OpKernel { void Comp... | See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ #include "tensorflow/core/framework/op_requires.h" #define EIGEN_USE_THREADS #if (defined(GOOGLE_CUDA) && GOOGLE_CUDA) || \ class Quantiz... | GHSA-h9px-9vqg-222h | {'CWE-125'} | 2.5 | {'https://github.com/tensorflow/tensorflow/commit/99085e8ff02c3763a0ec2263e44daec416f6a387'} | osv | Heap OOB in `QuantizeAndDequantizeV3` ### Impact
An attacker can read data outside of bounds of heap allocated buffer in `tf.raw_ops.QuantizeAndDequantizeV3`:
```python
import tensorflow as tf
tf.raw_ops.QuantizeAndDequantizeV3(
input=[2.5,2.5], input_min=[0,0], input_max=[1,1], num_bits=[30],
signed_input=False,... | 2021-05-21 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/99085e8ff02c3763a0ec2263e44daec416f6a387 | 99085e8ff02c3763a0ec2263e44daec416f6a387 | SINGLE | ['99085e8ff02c3763a0ec2263e44daec416f6a387'] | {'11ff7f80667e6490d7b5174aa6bf5e01886e770f'} | 99085e8ff02c3763a0ec2263e44daec416f6a387 | 1 | 04/27/2021, 00:32:41 | Fix `tf.raw_ops.QuantizeAndDequantizeV3` array index failure.
PiperOrigin-RevId: 370577691
Change-Id: Ifeae64212f6bcd139435824fa2748d1329213c4c | Amit Patankar | null | {'additions': 5, 'deletions': 0, 'total': 5} | [
{
"additions": 5,
"changes": 5,
"deletions": 0,
"patch": "@@ -13,6 +13,7 @@ See the License for the specific language governing permissions and\n limitations under the License.\n ==============================================================================*/\n \n+#include \"tensorflow/core/framewor... | cc | CWE-125 | [
"tensorflow/core/kernels/quantize_and_dequantize_op.cc"
] | tensorflow/core/kernels/quantize_and_dequantize_op.cc | 1 |
class MatrixDiagOp : public OpKernel { upper_diag_index = diag_index.flat<int32>()(1); } } num_rows = context->input(2).flat<int32>()(0); num_cols = context->input(3).flat<int32>()(0); padding_value = context->input(4).flat<T>()(0); } // Size validations. | class MatrixDiagOp : public OpKernel { upper_diag_index = diag_index.flat<int32>()(1); } } auto& num_rows_tensor = context->input(2); OP_REQUIRES(context, TensorShapeUtils::IsScalar(num_rows_tensor.shape()), errors::InvalidArgument("num_rows must be a scalar")); ... | GHSA-hc6c-75p4-hmq4 | {'CWE-476'} | 2.5 | {'https://github.com/tensorflow/tensorflow/commit/a7116dd3913c4a4afd2a3a938573aa7c785fdfc6'} | osv | Reference binding to null pointer in `MatrixDiag*` ops ### Impact
The implementation of [`MatrixDiag*` operations](https://github.com/tensorflow/tensorflow/blob/4c4f420e68f1cfaf8f4b6e8e3eb857e9e4c3ff33/tensorflow/core/kernels/linalg/matrix_diag_op.cc#L195-L197) does not validate that the tensor arguments are non-empty:... | 2021-05-21 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/a7116dd3913c4a4afd2a3a938573aa7c785fdfc6 | a7116dd3913c4a4afd2a3a938573aa7c785fdfc6 | SINGLE | ['a7116dd3913c4a4afd2a3a938573aa7c785fdfc6'] | {'4c4f420e68f1cfaf8f4b6e8e3eb857e9e4c3ff33'} | a7116dd3913c4a4afd2a3a938573aa7c785fdfc6 | 1 | 04/18/2021, 03:55:53 | Validate `MatrixDiagV{2,3}` arguments to prevent breakage.
PiperOrigin-RevId: 369056033
Change-Id: Ic2018c297d3dd6f252dc1dd3667f1ed5cb1eaa42 | Mihai Maruseac | null | {'additions': 16, 'deletions': 3, 'total': 19} | [
{
"additions": 16,
"changes": 19,
"deletions": 3,
"patch": "@@ -192,9 +192,22 @@ class MatrixDiagOp : public OpKernel {\n upper_diag_index = diag_index.flat<int32>()(1);\n }\n }\n- num_rows = context->input(2).flat<int32>()(0);\n- num_cols = context->input(3).flat<i... | cc | CWE-476 | [
"tensorflow/core/kernels/linalg/matrix_diag_op.cc"
] | tensorflow/core/kernels/linalg/matrix_diag_op.cc | 1 |
using ZKEACMS.Common.Models; using Easy; using Microsoft.EntityFrameworkCore; namespace ZKEACMS.Common.Service { public class NavigationService : ServiceBase<NavigationEntity, CMSDbContext>, INavigationService { public NavigationService(IApplicationContext applicationContext, CMSDbContext dbContext) :... | using ZKEACMS.Common.Models; using Easy; using Microsoft.EntityFrameworkCore; using ZKEACMS.Safety; namespace ZKEACMS.Common.Service { public class NavigationService : ServiceBase<NavigationEntity, CMSDbContext>, INavigationService { private readonly IHtmlSanitizer _htmlSanitizer; public Navig... | GHSA-hc72-vj3g-5g2g | {'CWE-79'} | 5.4 | {'https://github.com/SeriaWei/ZKEACMS/commit/833c5460dc5c6152092f6ad54b8b832870a59903'} | osv | Cross-site Scripting in ZKEACMS A cross-site scripting (XSS) vulnerability in /navigation/create?ParentID=%23 of ZKEACMS v3.5.2 allows attackers to execute arbitrary web scripts or HTML via a crafted payload injected into the ParentID parameter. | 2022-05-26 | 1 | https://github.com/SeriaWei/ZKEACMS | https://github.com/SeriaWei/ZKEACMS/commit/833c5460dc5c6152092f6ad54b8b832870a59903 | 833c5460dc5c6152092f6ad54b8b832870a59903 | SINGLE | ['833c5460dc5c6152092f6ad54b8b832870a59903'] | {'53109ba58bbeac75074583ec261732772ed1ecc5'} | 833c5460dc5c6152092f6ad54b8b832870a59903 | 1 | 04/14/2022, 14:55:34 | Sanitize Html
#457 | wayne | null | {'additions': 36, 'deletions': 1, 'total': 37} | [
{
"additions": 36,
"changes": 37,
"deletions": 1,
"patch": "@@ -11,13 +11,16 @@\n using ZKEACMS.Common.Models;\n using Easy;\n using Microsoft.EntityFrameworkCore;\n+using ZKEACMS.Safety;\n \n namespace ZKEACMS.Common.Service\n {\n public class NavigationService : ServiceBase<NavigationEntity, C... | cs | CWE-79 | [
"src/ZKEACMS/Common/Service/NavigationService.cs"
] | src/ZKEACMS/Common/Service/NavigationService.cs | 1 |
Auth.getLoginStrategies = function () { }; Auth.verifyToken = async function (token, done) { let { tokens = [] } = await meta.settings.get('core.api'); tokens = tokens.reduce((memo, cur) => { memo[cur.token] = cur.uid; return memo; }, {}); const uid = tokens[token]; if (uid !== undefined) { if (parseInt(... | Auth.getLoginStrategies = function () { }; Auth.verifyToken = async function (token, done) { const { tokens = [] } = await meta.settings.get('core.api'); const tokenObj = tokens.find(t => t.token === token); const uid = tokenObj ? tokenObj.uid : undefined; if (uid !== undefined) { if (parseInt(uid, 10) > 0) { | GHSA-hf2m-j98r-4fqw | {'CWE-287'} | 9.8 | {'https://github.com/NodeBB/NodeBB/commit/04dab1d550cdebf4c1567bca9a51f8b9ca48a500'} | osv | API token verification can be bypassed in NodeBB ### Impact
Incorrect logic present in the token verification step unintentionally allowed master token access to the API.
### Patches
The vulnerability has been patch as of v1.18.5.
### Workarounds
Cherry-pick commit hash 04dab1d550cdebf4c1567bca9a51f8b9ca48a500 to re... | 2021-11-30 | 1 | https://github.com/NodeBB/NodeBB | https://github.com/NodeBB/NodeBB/commit/04dab1d550cdebf4c1567bca9a51f8b9ca48a500 | 04dab1d550cdebf4c1567bca9a51f8b9ca48a500 | SINGLE | ['04dab1d550cdebf4c1567bca9a51f8b9ca48a500'] | {'1783f918bc19568f421473824461ff2ed7755e4c'} | 04dab1d550cdebf4c1567bca9a51f8b9ca48a500 | 1 | 10/25/2021, 17:23:54 | fix: token verify | Barış Soner Uşaklı | null | {'additions': 3, 'deletions': 7, 'total': 10} | [
{
"additions": 3,
"changes": 10,
"deletions": 7,
"patch": "@@ -44,13 +44,9 @@ Auth.getLoginStrategies = function () {\n };\n \n Auth.verifyToken = async function (token, done) {\n-\tlet { tokens = [] } = await meta.settings.get('core.api');\n-\ttokens = tokens.reduce((memo, cur) => {\n-\t\tmemo[cur.... | js | CWE-287 | [
"src/routes/authentication.js"
] | src/routes/authentication.js | 1 |
private GHResponse calcRoute(List<Double> favoredHeadings, List<GHPoint> request * The url looks like: ".../{profile}/1.522438,42.504606;1.527209,42.504776;1.526113,42.505144;1.527218,42.50529?.." */ private List<GHPoint> getPointsFromRequest(HttpServletRequest httpServletRequest, String profile) { ... | private GHResponse calcRoute(List<Double> favoredHeadings, List<GHPoint> request * The url looks like: ".../{profile}/1.522438,42.504606;1.527209,42.504776;1.526113,42.505144;1.527218,42.50529?.." */ private List<GHPoint> getPointsFromRequest(HttpServletRequest httpServletRequest, String profile) { ... | GHSA-hf44-3mx6-vhhw | {'CWE-400'} | 6.5 | {'https://github.com/graphhopper/graphhopper/commit/eb189be1fa7443ebf4ae881e737a18f818c95f41'} | osv | Navigate endpoint is vulnerable to regex injection that may lead to Denial of Service. ### Impact
The regex injection that may lead to Denial of Service.
### Patches
Will be patched in 2.4 and 3.0
### Workarounds
Versions lower than 2.x are only affected if the navigation module is added
### References
See this pull... | 2021-05-19 | 1 | https://github.com/graphhopper/graphhopper | https://github.com/graphhopper/graphhopper/commit/eb189be1fa7443ebf4ae881e737a18f818c95f41 | eb189be1fa7443ebf4ae881e737a18f818c95f41 | SINGLE | ['eb189be1fa7443ebf4ae881e737a18f818c95f41'] | {'744f0e2535355e67aefbb6906303332b8aff0a7f'} | eb189be1fa7443ebf4ae881e737a18f818c95f41 | 1 | 05/04/2021, 18:03:31 | avoid regex in navigate module (#2304)
* replace two regexs with one indexOf
* make check stricter
* use @easbar's suggestion | Peter | null | {'additions': 3, 'deletions': 5, 'total': 8} | [
{
"additions": 3,
"changes": 8,
"deletions": 5,
"patch": "@@ -188,13 +188,11 @@ private GHResponse calcRoute(List<Double> favoredHeadings, List<GHPoint> request\n * The url looks like: \".../{profile}/1.522438,42.504606;1.527209,42.504776;1.526113,42.505144;1.527218,42.50529?..\"\n */\n ... | java | CWE-400 | [
"navigation/src/main/java/com/graphhopper/navigation/NavigateResource.java"
] | navigation/src/main/java/com/graphhopper/navigation/NavigateResource.java | 1 |
function get_dangerous_files_extentions() 'py', 'alfa', 'asp', 'htaccess', 'exe', 'msi', | function get_dangerous_files_extentions() 'py', 'alfa', 'asp', 'aspx', 'htaccess', 'exe', 'msi', | GHSA-hf4q-52x6-4p57 | {'CWE-79'} | 4.8 | {'https://github.com/microweber/microweber/commit/d9bae9df873c2d2a13a2eb08d512019d49ebca68'} | osv | Unrestricted file upload leads to stored cross-site scripting in Microweber Microweber prior to version 1.2.12 allows unrestricted file upload, which could lead to stored cross-site scripting. | 2022-03-11 | 1 | https://github.com/microweber/microweber | https://github.com/microweber/microweber/commit/d9bae9df873c2d2a13a2eb08d512019d49ebca68 | d9bae9df873c2d2a13a2eb08d512019d49ebca68 | SINGLE | ['d9bae9df873c2d2a13a2eb08d512019d49ebca68'] | {'8902c415144823c48b056f881aa00ceb1f5d350f'} | d9bae9df873c2d2a13a2eb08d512019d49ebca68 | 1 | 03/09/2022, 14:55:02 | update | Peter Ivanov | null | {'additions': 1, 'deletions': 0, 'total': 1} | [
{
"additions": 1,
"changes": 1,
"deletions": 0,
"patch": "@@ -591,6 +591,7 @@ function get_dangerous_files_extentions()\n 'py',\n 'alfa',\n 'asp',\n+ 'aspx',\n 'htaccess',\n 'exe',\n 'msi',",
"path": "src/Microweb... | php | CWE-79 | [
"src/MicroweberPackages/Utils/System/Files.php"
] | src/MicroweberPackages/Utils/System/Files.php | 1 |
use crate::error::Error; #[cfg(feature = "concurrent_testpoints")] use crate::lock_testpoints::LockTestpoints; use crate::module::{self, FunctionHandle, Global, GlobalValue, Module, TrapCode}; use crate::region::RegionInternal; use crate::sysdeps::HOST_PAGE_SIZE_EXPECTED; use crate::val::{UntypedRetVal, Val}; use crat... | use crate::error::Error; #[cfg(feature = "concurrent_testpoints")] use crate::lock_testpoints::LockTestpoints; use crate::module::{self, FunctionHandle, Global, GlobalValue, Module, TrapCode}; use crate::sysdeps::HOST_PAGE_SIZE_EXPECTED; use crate::val::{UntypedRetVal, Val}; use crate::vmctx::Vmctx; use std::cell::{Bo... | GHSA-hf79-8hjp-rrvq | {'CWE-416'} | 8.5 | {'https://github.com/bytecodealliance/lucet/commit/7c7757c772fb709c61b1442bcc1e1fbee97bf4a8'} | osv | Use After Free in lucet ### Impact
There is a bug in the main branch of Lucet's `lucet-runtime` that allows a use-after-free in an `Instance` object that could result in memory corruption, data race, or other related issues. This bug was introduced early in the development of Lucet and is present in all releases. As ... | 2021-11-30 | 1 | https://github.com/bytecodealliance/lucet | https://github.com/bytecodealliance/lucet/commit/7c7757c772fb709c61b1442bcc1e1fbee97bf4a8 | 7c7757c772fb709c61b1442bcc1e1fbee97bf4a8 | SINGLE | ['7c7757c772fb709c61b1442bcc1e1fbee97bf4a8'] | {'8fb1fece339927e178f6cfef4eb67328b500237d'} | 7c7757c772fb709c61b1442bcc1e1fbee97bf4a8 | 1 | 11/29/2021, 23:00:02 | Merge pull request from GHSA-hf79-8hjp-rrvq
* Use manual drop
* Add some comments to `ManuallyDrop` usage
* rustfmt
Co-authored-by: Aaron Turon <aturon@fastly.com>
Co-authored-by: Alex Crichton <alex@alexcrichton.com> | Pat Hickey | null | {'additions': 26, 'deletions': 13, 'total': 39} | [
{
"additions": 26,
"changes": 39,
"deletions": 13,
"patch": "@@ -14,7 +14,6 @@ use crate::error::Error;\n #[cfg(feature = \"concurrent_testpoints\")]\n use crate::lock_testpoints::LockTestpoints;\n use crate::module::{self, FunctionHandle, Global, GlobalValue, Module, TrapCode};\n-use crate::region:... | rs | CWE-416 | [
"lucet-runtime/lucet-runtime-internals/src/instance.rs"
] | lucet-runtime/lucet-runtime-internals/src/instance.rs | 1 |
class SaferEval { if (typeof code !== 'string') { throw new TypeError('not a string') } return vm.runInContext( '(function () {"use strict"; return ' + code + '})()', this._context, this._options ) | class SaferEval { if (typeof code !== 'string') { throw new TypeError('not a string') } let src = 'Object.constructor = function () {};\n' src += 'return ' + code + ';\n' return vm.runInContext( '(function () {"use strict"; ' + src + '})()', this._context, this._options ... | GHSA-hgch-jjmr-gp7w | {'CWE-94'} | 9.9 | {'https://github.com/commenthol/safer-eval/commit/1c29f6a6e304fb650c05056e217e457a0d2cc3c5'} | osv | Sandbox Breakout / Arbitrary Code Execution in safer-eval Versions of `safer-eval` before 1.3.2 are vulnerable to Sandbox Escape leading to Remote Code Execution. A payload using constructor properties can escape the sandbox and execute arbitrary code.
## Recommendation
Upgrade to version 1.3.2. | 2019-10-17 | 1 | https://github.com/commenthol/safer-eval | https://github.com/commenthol/safer-eval/commit/1c29f6a6e304fb650c05056e217e457a0d2cc3c5 | 1c29f6a6e304fb650c05056e217e457a0d2cc3c5 | SINGLE | ['1c29f6a6e304fb650c05056e217e457a0d2cc3c5'] | {'74e5bb845c3cf1cab4f0a5a8dea08685c20970c7'} | 1c29f6a6e304fb650c05056e217e457a0d2cc3c5 | 1 | 03/09/2019, 20:54:53 | fix: disallow usage of Object.constructor | commenthol | null | {'additions': 4, 'deletions': 1, 'total': 5} | [
{
"additions": 4,
"changes": 5,
"deletions": 1,
"patch": "@@ -40,8 +40,11 @@ class SaferEval {\n if (typeof code !== 'string') {\n throw new TypeError('not a string')\n }\n+ let src = 'Object.constructor = function () {};\\n'\n+ src += 'return ' + code + ';\\n'\n+\n return vm... | js | CWE-94 | [
"src/index.js"
] | src/index.js | 1 |
<h4 class="label">Notes</h4> window.addEventListener( 'message', function( event ) { clearTimeout( connectionTimeout ); connectionStatus.style.display = 'none'; | <h4 class="label">Notes</h4> window.addEventListener( 'message', function( event ) { if (window.location.origin !== event.origin){ return; } clearTimeout( connectionTimeout ); connectionStatus.style.display = 'none'; | GHSA-hhqj-cfjx-vj25 | {'CWE-79'} | 6.1 | {'https://github.com/hakimel/reveal.js/commit/32cdd3b1872ba8e2267c9e87ae216cb55f40f4d2'} | osv | Cross site scripting in reveal.js The onmessage event listener in /plugin/notes/speaker-view.html does not check the origin of postMessage before adding the content to the webpage. The vulnerable code allows any origin to postMessage on the browser window and feeds attacker's input to parts using which attacker can exe... | 2022-03-02 | 1 | https://github.com/hakimel/reveal.js | https://github.com/hakimel/reveal.js/commit/32cdd3b1872ba8e2267c9e87ae216cb55f40f4d2 | 32cdd3b1872ba8e2267c9e87ae216cb55f40f4d2 | SINGLE | ['32cdd3b1872ba8e2267c9e87ae216cb55f40f4d2'] | {'e33c3c72f93d4c70ded3a90f5918f60082c96451'} | 32cdd3b1872ba8e2267c9e87ae216cb55f40f4d2 | 1 | 02/26/2022, 11:46:18 | Fix DOM XSS | r0hanSH | {'com_1': {'author': 'Zhila136', 'datetime': '06/16/2022, 03:13:17', 'body': 'خدمات: همراه کارت \r\nنوع سرویس: همراه کارت سپه\r\nشماره کارت: 9243 3628 1010 5892\r\nبنام: ابراهیم مرادی استیار\r\nموجودی کارت:\r\n147,000,000,000,000ریال\r\nمبلغ قابل برداشت:\r\n147,000,000,000,000ریال\r\nکد پیگیری:963877\r\nشماره مرجع:9438... | {'additions': 4, 'deletions': 0, 'total': 4} | [
{
"additions": 4,
"changes": 4,
"deletions": 0,
"patch": "@@ -368,6 +368,10 @@ <h4 class=\"label\">Notes</h4>\n \n \t\t\t\twindow.addEventListener( 'message', function( event ) {\n \n+\t\t\t\t\tif (window.location.origin !== event.origin){\n+\t\t\t\t\t\treturn;\n+\t\t\t\t\t}\n+\n \t\t\t\t\tclearTime... | html | CWE-79 | [
"plugin/notes/speaker-view.html"
] | plugin/notes/speaker-view.html | 1 |
def makecmdoptions(self): def __str__(self): return "<SvnAuth username=%s ...>" %(self.username,) rex_blame = re.compile(r'\s*(\d+)\s*(\S+) (.*)') class SvnWCCommandPath(common.PathBase): """ path implementation offering access/modification to svn working copies. | def makecmdoptions(self): def __str__(self): return "<SvnAuth username=%s ...>" %(self.username,) rex_blame = re.compile(r'\s*(\d+)\s+(\S+) (.*)') class SvnWCCommandPath(common.PathBase): """ path implementation offering access/modification to svn working copies. | GHSA-hj5v-574p-mj7c | {'CWE-400'} | 7.5 | {'https://github.com/pytest-dev/py/pull/257/commits/4a9017dc6199d2a564b6e4b0aa39d6d8870e4144'} | osv | Regular expression deinal of service in py A denial of service via regular expression in the py.path.svnwc component of py (aka python-py) through 1.9.0 could be used by attackers to cause a compute-time denial of service attack by supplying malicious input to the blame functionality. | 2021-04-20 | 1 | https://github.com/pytest-dev/py | https://github.com/pytest-dev/py/pull/257/commits/4a9017dc6199d2a564b6e4b0aa39d6d8870e4144 | 4a9017dc6199d2a564b6e4b0aa39d6d8870e4144 | SINGLE | ['4a9017dc6199d2a564b6e4b0aa39d6d8870e4144'] | {'2da2caea38812eaa3ce09dd5292e3635ce9b16c8'} | 4a9017dc6199d2a564b6e4b0aa39d6d8870e4144 | 1 | 09/04/2020, 10:57:26 | svnwc: fix regular expression vulnerable to DoS in blame functionality
The subpattern `\d+\s*\S+` is ambiguous which makes the pattern subject
to catastrophic backtracing given a string like `"1" * 5000`.
SVN blame output seems to always have at least one space between the
revision number and the user name, so the am... | Ran Benita | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -396,7 +396,7 @@ def makecmdoptions(self):\n def __str__(self):\n return \"<SvnAuth username=%s ...>\" %(self.username,)\n \n-rex_blame = re.compile(r'\\s*(\\d+)\\s*(\\S+) (.*)')\n+rex_blame = re.compile(r'\\s*(\\d+)\\s+(\\S+) ... | py | CWE-400 | [
"py/_path/svnwc.py"
] | py/_path/svnwc.py | 1 |
public function string($skip_ajax = false) // clear request params $cleanParam = new HTMLClean(); $u1 = $cleanParam->cleanArray($u1); return $u1; } | public function string($skip_ajax = false) // clear request params $cleanParam = new HTMLClean(); $u1 = $cleanParam->clean($u1); return $u1; } | GHSA-hj8g-cw8x-2c6m | {'CWE-79'} | 7.6 | {'https://github.com/microweber/microweber/commit/a5925f74d39775771d4c37c8d4c1acbb762fda0a'} | osv | Cross-site Scripting in Microweber Microweber prior to version 1.3 is vulnerable to reflected cross-site scripting. | 2022-02-24 | 1 | https://github.com/microweber/microweber | https://github.com/microweber/microweber/commit/a5925f74d39775771d4c37c8d4c1acbb762fda0a | a5925f74d39775771d4c37c8d4c1acbb762fda0a | SINGLE | ['a5925f74d39775771d4c37c8d4c1acbb762fda0a'] | {'0b6b1eb5ba85ffc8f74e6f5f5be9dc9f9f7e9d8f'} | a5925f74d39775771d4c37c8d4c1acbb762fda0a | 1 | 02/22/2022, 10:18:26 | Update UrlManager.php | Bozhidar Slaveykov | null | {'additions': 2, 'deletions': 1, 'total': 3} | [
{
"additions": 2,
"changes": 3,
"deletions": 1,
"patch": "@@ -276,7 +276,8 @@ public function string($skip_ajax = false)\n \n // clear request params\n $cleanParam = new HTMLClean();\n- $u1 = $cleanParam->cleanArray($u1);\n+ $u1 = $cleanParam->clean($u1);\n+\n \n ... | php | CWE-79 | [
"src/MicroweberPackages/Helper/UrlManager.php"
] | src/MicroweberPackages/Helper/UrlManager.php | 1 |
var extend = require('extend'); var request = require('request'); var RetryStrategies = require('./strategies'); var _ = require('lodash'); var DEFAULTS = { maxAttempts: 5, // try 5 times function defaultPromiseFactory(resolver) { return new Promise(resolver); } function _cloneOptions(options) { const cloned =... | var extend = require('extend'); var request = require('request'); var RetryStrategies = require('./strategies'); var _ = require('lodash'); var url = require('url'); var querystring = require("querystring"); var DEFAULTS = { maxAttempts: 5, // try 5 times function defaultPromiseFactory(resolver) { return new Prom... | GHSA-hjp8-2cm3-cc45 | {'CWE-200'} | 7.5 | {'https://github.com/fgribreau/node-request-retry/commit/0979c6001d9d57c2aac3157c11b007397158922a'} | osv | Cookie exposure in requestretry Exposure of Sensitive Information to an Unauthorized Actor in GitHub repository fgribreau/node-request-retry prior to 7.0.0 via cookies being leaked to external sites. | 2022-02-24 | 1 | https://github.com/fgribreau/node-request-retry | https://github.com/fgribreau/node-request-retry/commit/0979c6001d9d57c2aac3157c11b007397158922a | 0979c6001d9d57c2aac3157c11b007397158922a | SINGLE | ['0979c6001d9d57c2aac3157c11b007397158922a'] | {'5e1a63c13c9b65ed927e8eb797d8cc7da0dae243'} | 0979c6001d9d57c2aac3157c11b007397158922a | 1 | 02/15/2022, 20:20:12 | Prevent Cookie & Authorization Headers from being forwarded when the URL redirects to another domain (information leak) #137 | Timothee Desurmont | null | {'additions': 39, 'deletions': 1, 'total': 40} | [
{
"additions": 39,
"changes": 40,
"deletions": 1,
"patch": "@@ -11,6 +11,8 @@ var extend = require('extend');\n var request = require('request');\n var RetryStrategies = require('./strategies');\n var _ = require('lodash');\n+var url = require('url');\n+var querystring = require(\"querystring\");\n ... | js | CWE-200 | [
"index.js"
] | index.js | 1 |
class SparseDenseBinaryOpShared : public OpKernel { OP_REQUIRES_OK( ctx, ctx->allocate_temp(DataTypeToEnum<T>::value, TensorShape({nnz}), &dense_gathered)); // Pulls relevant entries from the dense side, with reshape and broadcasting // *of the dense side* taken int... | class SparseDenseBinaryOpShared : public OpKernel { OP_REQUIRES_OK( ctx, ctx->allocate_temp(DataTypeToEnum<T>::value, TensorShape({nnz}), &dense_gathered)); bool op_is_div = false; if (absl::StrContains(ctx->op_kernel().type_string_view(), "Div")) { op_is_div =... | GHSA-hp4c-x6r7-6555 | {'CWE-369'} | 5.5 | {'https://github.com/tensorflow/tensorflow/commit/d9204be9f49520cdaaeb2541d1dc5187b23f31d9'} | osv | Floating point exception in `SparseDenseCwiseDiv` ### Impact
The implementation of `tf.raw_ops.SparseDenseCwiseDiv` is vulnerable to a division by 0 error:
```python
import tensorflow as tf
import numpy as np
tf.raw_ops.SparseDenseCwiseDiv(
sp_indices=np.array([[4]]),
sp_values=np.array([-400]),
sp_shape=np.ar... | 2021-08-25 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/d9204be9f49520cdaaeb2541d1dc5187b23f31d9 | d9204be9f49520cdaaeb2541d1dc5187b23f31d9 | SINGLE | ['d9204be9f49520cdaaeb2541d1dc5187b23f31d9'] | {'a95743ddba81449601bc32f249d979a944502de6'} | d9204be9f49520cdaaeb2541d1dc5187b23f31d9 | 1 | 07/10/2021, 01:27:22 | Disallow division by zero FPE in tf.raw_ops.SparseDenseCwiseDiv
PiperOrigin-RevId: 383959809
Change-Id: Ibe88458bdf66a686c93e354b8255dec94285c560 | Laura Pak | null | {'additions': 10, 'deletions': 1, 'total': 11} | [
{
"additions": 10,
"changes": 11,
"deletions": 1,
"patch": "@@ -114,7 +114,10 @@ class SparseDenseBinaryOpShared : public OpKernel {\n OP_REQUIRES_OK(\n ctx, ctx->allocate_temp(DataTypeToEnum<T>::value, TensorShape({nnz}),\n &dense_gathered));\n-\n+ boo... | cc | CWE-369 | [
"tensorflow/core/kernels/sparse_dense_binary_op_shared.cc"
] | tensorflow/core/kernels/sparse_dense_binary_op_shared.cc | 1 |
// An internal HTML tag and emoji shorthand should not escape const preventEscapeRegex = /(<.*?>|:[-a-z0-9ÀÁÂÃÄÇÈÉÊËÍÎÏÑÓÔÕÖŒœÙÚÛÜŸßàáâãäçèéêëíîïñóôõöùúûüÿ__++'\u1100-\u11ff\u2e80-\u2fd5\u3005\u3041-\u3096\u30a0-\u30ff\u3130-\u318f\u3400-\u4db5\u4e00-\u9fcb\ua960-\ua97f\uac00-\ud7ff\uff10-\uff19\uff41-\uff5a\uff61-\... | // An internal HTML tag and emoji shorthand should not escape const preventEscapeRegex = /(<[^>]*>|:[-a-z0-9ÀÁÂÃÄÇÈÉÊËÍÎÏÑÓÔÕÖŒœÙÚÛÜŸßàáâãäçèéêëíîïñóôõöùúûüÿ__++'\u1100-\u11ff\u2e80-\u2fd5\u3005\u3041-\u3096\u30a0-\u30ff\u3130-\u318f\u3400-\u4db5\u4e00-\u9fcb\ua960-\ua97f\uac00-\ud7ff\uff10-\uff19\uff41-\uff5a\uff61... | GHSA-hp68-xhvj-x6j6 | {'CWE-400'} | 5.3 | {'https://github.com/yhatt/jsx-slack/commit/46bc88391d89d5fda4ce689e18ca080bcdd29ecc'} | osv | jsx-slack insufficient patch for CVE-2021-43838 ReDoS We found the patch for CVE-2021-43838 in jsx-slack v4.5.1 is insufficient to save from Regular Expression Denial of Service (ReDoS) attack.
This vulnerability affects to jsx-slack v4.5.1 and earlier versions.
### Impact
If attacker can put a lot of JSX elements i... | 2022-01-06 | 1 | https://github.com/yhatt/jsx-slack | https://github.com/yhatt/jsx-slack/commit/46bc88391d89d5fda4ce689e18ca080bcdd29ecc | 46bc88391d89d5fda4ce689e18ca080bcdd29ecc | SINGLE | ['46bc88391d89d5fda4ce689e18ca080bcdd29ecc'] | {'c3722705c8aadf544f922a974883578aa27dbea3'} | 46bc88391d89d5fda4ce689e18ca080bcdd29ecc | 1 | 12/18/2021, 07:03:24 | Prevent catastrophic backtracking in blockquote escape replacer | Yuki Hattori | null | {'additions': 7, 'deletions': 6, 'total': 13} | [
{
"additions": 7,
"changes": 13,
"deletions": 6,
"patch": "@@ -1,20 +1,21 @@\n // An internal HTML tag and emoji shorthand should not escape\n const preventEscapeRegex =\n- /(<.*?>|:[-a-z0-9ÀÁÂÃÄÇÈÉÊËÍÎÏÑÓÔÕÖŒœÙÚÛÜŸßàáâãäçèéêëíîïñóôõöùúûüÿ__++'\\u1100-\\u11ff\\u2e80-\\u2fd5\\u3005\\u3041-\\u3096\\u... | ts | CWE-400 | [
"src/mrkdwn/escape.ts"
] | src/mrkdwn/escape.ts | 1 |
class FractionalAvgPoolGradOp : public OpKernel { const int64_t in_rows = orig_input_tensor_shape_flat(1); const int64_t in_cols = orig_input_tensor_shape_flat(2); const int64_t in_depth = orig_input_tensor_shape_flat(3); constexpr int tensor_in_and_out_dims = 4; // Transform orig_input_tensor_sha... | class FractionalAvgPoolGradOp : public OpKernel { const int64_t in_rows = orig_input_tensor_shape_flat(1); const int64_t in_cols = orig_input_tensor_shape_flat(2); const int64_t in_depth = orig_input_tensor_shape_flat(3); OP_REQUIRES( context, in_batch != 0, errors::InvalidArgument("Bat... | GHSA-hpv4-7p9c-mvfr | {'CWE-787', 'CWE-125'} | 7.1 | {'https://github.com/tensorflow/tensorflow/commit/0f931751fb20f565c4e94aa6df58d54a003cdb30'} | osv | Heap buffer overflow in `FractionalAvgPoolGrad` ### Impact
The implementation for `tf.raw_ops.FractionalAvgPoolGrad` can be tricked into accessing data outside of bounds of heap allocated buffers:
```python
import tensorflow as tf
tf.raw_ops.FractionalAvgPoolGrad(
orig_input_tensor_shape=[0,1,2,3],
out_backprop =... | 2021-08-25 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/0f931751fb20f565c4e94aa6df58d54a003cdb30 | 0f931751fb20f565c4e94aa6df58d54a003cdb30 | SINGLE | ['0f931751fb20f565c4e94aa6df58d54a003cdb30'] | {'55e763ffe2b348a61ab1c2fcfedc7bdf05c91990'} | 0f931751fb20f565c4e94aa6df58d54a003cdb30 | 1 | 08/02/2021, 20:03:44 | Validate dimensions of input tensor in `FractionalAvgPoolGrad`
PiperOrigin-RevId: 388286227
Change-Id: Ieb7566155e92acc8993a2212c76deacadc0edc8a | Mihai Maruseac | null | {'additions': 12, 'deletions': 0, 'total': 12} | [
{
"additions": 12,
"changes": 12,
"deletions": 0,
"patch": "@@ -271,6 +271,18 @@ class FractionalAvgPoolGradOp : public OpKernel {\n const int64_t in_rows = orig_input_tensor_shape_flat(1);\n const int64_t in_cols = orig_input_tensor_shape_flat(2);\n const int64_t in_depth = orig_input_t... | cc | CWE-125 | [
"tensorflow/core/kernels/fractional_avg_pool_op.cc"
] | tensorflow/core/kernels/fractional_avg_pool_op.cc | 1 |
class FractionalAvgPoolGradOp : public OpKernel { const int64_t in_rows = orig_input_tensor_shape_flat(1); const int64_t in_cols = orig_input_tensor_shape_flat(2); const int64_t in_depth = orig_input_tensor_shape_flat(3); constexpr int tensor_in_and_out_dims = 4; // Transform orig_input_tensor_sha... | class FractionalAvgPoolGradOp : public OpKernel { const int64_t in_rows = orig_input_tensor_shape_flat(1); const int64_t in_cols = orig_input_tensor_shape_flat(2); const int64_t in_depth = orig_input_tensor_shape_flat(3); OP_REQUIRES( context, in_batch != 0, errors::InvalidArgument("Bat... | GHSA-hpv4-7p9c-mvfr | {'CWE-787', 'CWE-125'} | 7.1 | {'https://github.com/tensorflow/tensorflow/commit/0f931751fb20f565c4e94aa6df58d54a003cdb30'} | osv | Heap buffer overflow in `FractionalAvgPoolGrad` ### Impact
The implementation for `tf.raw_ops.FractionalAvgPoolGrad` can be tricked into accessing data outside of bounds of heap allocated buffers:
```python
import tensorflow as tf
tf.raw_ops.FractionalAvgPoolGrad(
orig_input_tensor_shape=[0,1,2,3],
out_backprop =... | 2021-08-25 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/0f931751fb20f565c4e94aa6df58d54a003cdb30 | 0f931751fb20f565c4e94aa6df58d54a003cdb30 | SINGLE | ['0f931751fb20f565c4e94aa6df58d54a003cdb30'] | {'55e763ffe2b348a61ab1c2fcfedc7bdf05c91990'} | 0f931751fb20f565c4e94aa6df58d54a003cdb30 | 1 | 08/02/2021, 20:03:44 | Validate dimensions of input tensor in `FractionalAvgPoolGrad`
PiperOrigin-RevId: 388286227
Change-Id: Ieb7566155e92acc8993a2212c76deacadc0edc8a | Mihai Maruseac | null | {'additions': 12, 'deletions': 0, 'total': 12} | [
{
"additions": 12,
"changes": 12,
"deletions": 0,
"patch": "@@ -271,6 +271,18 @@ class FractionalAvgPoolGradOp : public OpKernel {\n const int64_t in_rows = orig_input_tensor_shape_flat(1);\n const int64_t in_cols = orig_input_tensor_shape_flat(2);\n const int64_t in_depth = orig_input_t... | cc | CWE-787 | [
"tensorflow/core/kernels/fractional_avg_pool_op.cc"
] | tensorflow/core/kernels/fractional_avg_pool_op.cc | 1 |
public function transformAsset(Asset $asset) 'purchase_cost' => Helper::formatCurrencyOutput($asset->purchase_cost), 'book_value' => Helper::formatCurrencyOutput($depreciated_value), 'monthly_depreciation' => $monthly_depreciation, 'checked_out_to' => $checkout_target, ... | public function transformAsset(Asset $asset) 'purchase_cost' => Helper::formatCurrencyOutput($asset->purchase_cost), 'book_value' => Helper::formatCurrencyOutput($depreciated_value), 'monthly_depreciation' => $monthly_depreciation, 'checked_out_to' => ($checkout_target) ... | GHSA-hpx4-xjp7-m4vr | {'CWE-79'} | 5.4 | {'https://github.com/snipe/snipe-it/commit/f623d05d0c3487ae24c4f13907e4709484e5bf41'} | osv | Stored cross-site scripting in Snipe-IT Snipe-IT prior to version 5.4.3 is vulnerable to stored cross-site scripting because the input to the `checked_out_to` parameter is not escaped. The vulnerability is capable of stealing a user's cookie. | 2022-04-25 | 1 | https://github.com/snipe/snipe-it | https://github.com/snipe/snipe-it/commit/f623d05d0c3487ae24c4f13907e4709484e5bf41 | f623d05d0c3487ae24c4f13907e4709484e5bf41 | SINGLE | ['f623d05d0c3487ae24c4f13907e4709484e5bf41'] | {'ef7f21e3ba01f13da2e656358343ba1236a122de'} | f623d05d0c3487ae24c4f13907e4709484e5bf41 | 1 | 04/24/2022, 14:27:11 | Escape checkout target name
Signed-off-by: snipe <snipe@snipe.net> | snipe | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -98,7 +98,7 @@ public function transformAsset(Asset $asset)\n 'purchase_cost' => Helper::formatCurrencyOutput($asset->purchase_cost),\n 'book_value' => Helper::formatCurrencyOutput($depreciated_value),\n ... | php | CWE-79 | [
"app/Http/Transformers/DepreciationReportTransformer.php"
] | app/Http/Transformers/DepreciationReportTransformer.php | 1 |
'transparent': (0, 0, 0, 0), } RGBA = re.compile(r'rgba\([ \n\r\t]*(.+?)[ \n\r\t]*\)') RGB = re.compile(r'rgb\([ \n\r\t]*(.+?)[ \n\r\t]*\)') HEX_RRGGBB = re.compile('#[0-9a-f]{6}') HEX_RGB = re.compile('#[0-9a-f]{3}') def color(string, opacity=1): if match: r, g, b, a = tuple( float(i.str... | 'transparent': (0, 0, 0, 0), } RGBA = re.compile(r'rgba\((.+?)\)') RGB = re.compile(r'rgb\((.+?)\)') HEX_RRGGBB = re.compile('#[0-9a-f]{6}') HEX_RGB = re.compile('#[0-9a-f]{3}') def color(string, opacity=1): if match: r, g, b, a = tuple( float(i.strip(' %')) / 100 if '%' in i else float(i... | GHSA-hq37-853p-g5cf | {'CWE-400'} | 0 | {'https://github.com/Kozea/CairoSVG/commit/cfc9175e590531d90384aa88845052de53d94bf3'} | osv | Regular Expression Denial of Service in CairoSVG # Doyensec Vulnerability Advisory
* Regular Expression Denial of Service (REDoS) in cairosvg
* Affected Product: CairoSVG v2.0.0+
* Vendor: https://github.com/Kozea
* Severity: Medium
* Vulnerability Class: Denial of Service
* Author(s): Ben Caller ([Doyensec](https://... | 2021-01-06 | 1 | https://github.com/Kozea/CairoSVG | https://github.com/Kozea/CairoSVG/commit/cfc9175e590531d90384aa88845052de53d94bf3 | cfc9175e590531d90384aa88845052de53d94bf3 | SINGLE | ['cfc9175e590531d90384aa88845052de53d94bf3'] | {'9c4a982b9a021280ad90e89707eacc1d114e4ac4', '063185b60588a41d4df661ad70f9f7b699901abc'} | cfc9175e590531d90384aa88845052de53d94bf3 | 1 | 01/06/2021, 14:43:14 | Merge pull request from GHSA-hq37-853p-g5cf
Don’t use overlapping groups for regular expressions | Guillaume Ayoub | null | {'additions': 4, 'deletions': 4, 'total': 8} | [
{
"additions": 4,
"changes": 8,
"deletions": 4,
"patch": "@@ -187,8 +187,8 @@\n 'transparent': (0, 0, 0, 0),\n }\n \n-RGBA = re.compile(r'rgba\\([ \\n\\r\\t]*(.+?)[ \\n\\r\\t]*\\)')\n-RGB = re.compile(r'rgb\\([ \\n\\r\\t]*(.+?)[ \\n\\r\\t]*\\)')\n+RGBA = re.compile(r'rgba\\((.+?)\\)')\n+RGB = re... | py | CWE-400 | [
"cairosvg/colors.py"
] | cairosvg/colors.py | 1 |
public function authorize() */ public function rules() { $rules = [ // 'title' => 'required', // todo with multilanguage ]; return $rules; | public function authorize() */ public function rules() { // todo with multilanguage $rules = [ 'title' => 'required|max:500', 'url' => 'max:500', 'description' => 'max:500', 'content_meta_title' => 'max:500', 'content_meta_keywor... | GHSA-hrf4-hcpc-3345 | {'CWE-190'} | 7.1 | {'https://github.com/microweber/microweber/commit/f7acbd075dff4825b35b597b74958de9edce67fc'} | osv | Denial of service in microweber Microweber is drag and drop website builder and CMS with E-commerce. The microweber prior 1.2.12 application allows large characters to insert in the input field "post title" which can allow attackers to cause a Denial of Service (DoS) via a crafted HTTP request. The post title input can... | 2022-03-16 | 1 | https://github.com/microweber/microweber | https://github.com/microweber/microweber/commit/f7acbd075dff4825b35b597b74958de9edce67fc | f7acbd075dff4825b35b597b74958de9edce67fc | SINGLE | ['f7acbd075dff4825b35b597b74958de9edce67fc'] | {'14e960d184e681507f5293be86446d18d1c125b5'} | f7acbd075dff4825b35b597b74958de9edce67fc | 1 | 03/14/2022, 15:00:22 | Update PostRequest.php | Bozhidar Slaveykov | null | {'additions': 8, 'deletions': 1, 'total': 9} | [
{
"additions": 8,
"changes": 9,
"deletions": 1,
"patch": "@@ -22,8 +22,15 @@ public function authorize()\n */\n public function rules()\n {\n+ // todo with multilanguage\n+\n $rules = [\n- // 'title' => 'required', // todo with multilanguage\n+ 'title... | php | CWE-190 | [
"src/MicroweberPackages/Post/Http/Requests/PostRequest.php"
] | src/MicroweberPackages/Post/Http/Requests/PostRequest.php | 1 |
class UnsortedSegmentJoinOp : public OpKernel { const Tensor& num_segments_tensor = context->input(2); OP_REQUIRES(context, num_segments_tensor.NumElements() != 0, errors::InvalidArgument("Number of segments cannot be empty.")); auto num_segments = num_segments_tensor.scalar<NUM_SEGMENTS_TY... | class UnsortedSegmentJoinOp : public OpKernel { const Tensor& num_segments_tensor = context->input(2); OP_REQUIRES(context, num_segments_tensor.NumElements() != 0, errors::InvalidArgument("Number of segments cannot be empty.")); OP_REQUIRES(context, TensorShapeUtils::IsScala... | GHSA-hrg5-737c-2p56 | {'CWE-20'} | 5.5 | {'https://github.com/tensorflow/tensorflow/commit/13d38a07ce9143e044aa737cfd7bb759d0e9b400'} | osv | Missing validation causes denial of service via `UnsortedSegmentJoin` ### Impact
The implementation of [`tf.raw_ops.UnsortedSegmentJoin`](https://github.com/tensorflow/tensorflow/blob/f3b9bf4c3c0597563b289c0512e98d4ce81f886e/tensorflow/core/kernels/unsorted_segment_join_op.cc#L92-L95) does not fully validate the input ... | 2022-05-24 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/13d38a07ce9143e044aa737cfd7bb759d0e9b400 | 13d38a07ce9143e044aa737cfd7bb759d0e9b400 | SINGLE | ['13d38a07ce9143e044aa737cfd7bb759d0e9b400'] | {'fa57990ccca1fb2b9a1f296183985931746914d3'} | 13d38a07ce9143e044aa737cfd7bb759d0e9b400 | 1 | 04/28/2022, 18:37:31 | Fix tf.raw_ops.UnsortedSegmentJoin vulnerability with invalid num_segments.
Check that input is actually a scalar before treating it as such.
PiperOrigin-RevId: 445206880 | Alan Liu | null | {'additions': 3, 'deletions': 0, 'total': 3} | [
{
"additions": 3,
"changes": 3,
"deletions": 0,
"patch": "@@ -92,6 +92,9 @@ class UnsortedSegmentJoinOp : public OpKernel {\n const Tensor& num_segments_tensor = context->input(2);\n OP_REQUIRES(context, num_segments_tensor.NumElements() != 0,\n errors::InvalidArgument(\"Numb... | cc | CWE-20 | [
"tensorflow/core/kernels/unsorted_segment_join_op.cc"
] | tensorflow/core/kernels/unsorted_segment_join_op.cc | 1 |
*/ class Smarty_CacheResource_Mysql extends Smarty_CacheResource_Custom { /** * fetch cached content and its modification time from data source. * protected function fetch($id, $name, $cache_id, $compile_id, &$content, &$mtime) { $row = Db::getInstance()->getRow('SELECT modified, content FRO... | */ class Smarty_CacheResource_Mysql extends Smarty_CacheResource_Custom { /** @var PhpEncryption */ private $phpEncryption; public function __construct() { $this->phpEncryption = new PhpEncryption(_NEW_COOKIE_KEY_); } /** * fetch cached content and its modification time from dat... | GHSA-hrgx-p36p-89q4 | {'CWE-89', 'CWE-95'} | 9.8 | {'https://github.com/PrestaShop/PrestaShop/commit/b6d96e7c2a4e35a44e96ffbcdfd34439b56af804'} | osv | PrestaShop eval injection possible if shop vulnerable to SQL injection ### Impact
Eval injection possible if the shop is vulnerable to an SQL injection.
### Patches
The problem is fixed in version 1.7.8.7
### Workarounds
Delete the MySQL Smarty cache feature by removing these lines in the file `config/smarty.config.i... | 2022-07-29 | 1 | https://github.com/PrestaShop/PrestaShop | https://github.com/PrestaShop/PrestaShop/commit/b6d96e7c2a4e35a44e96ffbcdfd34439b56af804 | b6d96e7c2a4e35a44e96ffbcdfd34439b56af804 | SINGLE | ['b6d96e7c2a4e35a44e96ffbcdfd34439b56af804'] | {'dc8dc1faef7185ad30fc8dcb0653524d9bfb7c82', 'f342765697f5f980e4c6bb537f6575bf5e657077'} | b6d96e7c2a4e35a44e96ffbcdfd34439b56af804 | 1 | 07/25/2022, 08:51:31 | Merge pull request from GHSA-hrgx-p36p-89q4
Crypt/decrypt smarty cache in DB | atomiix | null | {'additions': 10, 'deletions': 2, 'total': 12} | [
{
"additions": 10,
"changes": 12,
"deletions": 2,
"patch": "@@ -25,6 +25,14 @@\n */\n class Smarty_CacheResource_Mysql extends Smarty_CacheResource_Custom\n {\n+ /** @var PhpEncryption */\n+ private $phpEncryption;\n+\n+ public function __construct()\n+ {\n+ $this->phpEncryption ... | php | CWE-89 | [
"classes/Smarty/SmartyCacheResourceMysql.php"
] | classes/Smarty/SmartyCacheResourceMysql.php | 1 |
ImagingResampleHorizontal(Imaging imIn, int xsize, int filter) /* maximum number of coofs */ kmax = (int) ceil(support) * 2 + 1; /* coefficient buffer */ kk = malloc(xsize * kmax * sizeof(float)); if ( ! kk) return (Imaging) ImagingError_MemoryError(); xbounds = malloc(xsize * 2 * siz... | ImagingResampleHorizontal(Imaging imIn, int xsize, int filter) /* maximum number of coofs */ kmax = (int) ceil(support) * 2 + 1; // check for overflow if (kmax > 0 && xsize > SIZE_MAX / kmax) return (Imaging) ImagingError_MemoryError(); // sizeof(float) should be greater than 0 if (xs... | GHSA-hvr8-466p-75rh | {'CWE-119'} | 9.8 | {'https://github.com/python-pillow/Pillow/commit/4e0d9b0b9740d258ade40cce248c93777362ac1e'} | osv | Integer overflow discovered in Pillow Integer overflow in the ImagingResampleHorizontal function in libImaging/Resample.c in Pillow before 3.1.1 allows remote attackers to have unspecified impact via negative values of the new size, which triggers a heap-based buffer overflow. | 2018-07-24 | 1 | https://github.com/python-pillow/Pillow | https://github.com/python-pillow/Pillow/commit/4e0d9b0b9740d258ade40cce248c93777362ac1e | 4e0d9b0b9740d258ade40cce248c93777362ac1e | SINGLE | ['4e0d9b0b9740d258ade40cce248c93777362ac1e'] | {'bdd86b72ae38874b6bdaf27458a5ed00df0cd3d5'} | 4e0d9b0b9740d258ade40cce248c93777362ac1e | 1 | 02/04/2016, 06:54:12 | fix integer overflow in Resample.c | Ned Williamson | null | {'additions': 12, 'deletions': 0, 'total': 12} | [
{
"additions": 12,
"changes": 12,
"deletions": 0,
"patch": "@@ -138,11 +138,23 @@ ImagingResampleHorizontal(Imaging imIn, int xsize, int filter)\n /* maximum number of coofs */\n kmax = (int) ceil(support) * 2 + 1;\n \n+ // check for overflow\n+ if (kmax > 0 && xsize > SIZE_MAX / kmax)... | c | CWE-119 | [
"libImaging/Resample.c"
] | libImaging/Resample.c | 1 |
class RaggedTensorToTensorBaseOp : public OpKernel { Status GetFirstDimensionSize(OpKernelContext* context, INDEX_TYPE* result) { const Tensor first_partition_tensor = context->input(kFirstPartitionInputIndex); const RowPartitionType first_partition_type = row_partition_types_[0]; switch (first_p... | class RaggedTensorToTensorBaseOp : public OpKernel { Status GetFirstDimensionSize(OpKernelContext* context, INDEX_TYPE* result) { const Tensor first_partition_tensor = context->input(kFirstPartitionInputIndex); if (row_partition_types_.empty()) { return errors::InvalidArgument("No row_partition... | GHSA-hwr7-8gxx-fj5p | {'CWE-476'} | 7.7 | {'https://github.com/tensorflow/tensorflow/commit/301ae88b331d37a2a16159b65b255f4f9eb39314'} | osv | Null pointer dereference in `RaggedTensorToTensor` ### Impact
Sending invalid argument for `row_partition_types` of `tf.raw_ops.RaggedTensorToTensor` API results in a null pointer dereference and undefined behavior:
```python
import tensorflow as tf
tf.raw_ops.RaggedTensorToTensor(
shape=1,
values=10,
default_v... | 2021-08-25 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/301ae88b331d37a2a16159b65b255f4f9eb39314 | 301ae88b331d37a2a16159b65b255f4f9eb39314 | SINGLE | ['301ae88b331d37a2a16159b65b255f4f9eb39314'] | {'e787d206757e3e87b04ab7bafa8b1e4130a9f774'} | 301ae88b331d37a2a16159b65b255f4f9eb39314 | 1 | 07/12/2021, 16:59:54 | Fix null ptr deref in tf.raw_ops.RaggedTensorToTensor
PiperOrigin-RevId: 384257511
Change-Id: I0484ad285039d132d6c41b284a7fcdd2b774a38e | Laura Pak | null | {'additions': 3, 'deletions': 0, 'total': 3} | [
{
"additions": 3,
"changes": 3,
"deletions": 0,
"patch": "@@ -348,6 +348,9 @@ class RaggedTensorToTensorBaseOp : public OpKernel {\n Status GetFirstDimensionSize(OpKernelContext* context, INDEX_TYPE* result) {\n const Tensor first_partition_tensor =\n context->input(kFirstPartitionInpu... | cc | CWE-476 | [
"tensorflow/core/kernels/ragged_tensor_to_tensor_op.cc"
] | tensorflow/core/kernels/ragged_tensor_to_tensor_op.cc | 1 |
import typing import flask app = flask.Flask("xmpp-http-upload") app.config.from_envvar("XMPP_HTTP_UPLOAD_CONFIG") CORS(app) def sanitized_join(path: str, root: pathlib.Path) -> pathlib.Path: result = (root / path).absolute() if not str(result).startswith(str(root) + "/"): raise ValueError("res... | import typing import flask import werkzeug.exceptions app = flask.Flask("xmpp-http-upload") app.config.from_envvar("XMPP_HTTP_UPLOAD_CONFIG") CORS(app) def get_paths(root: str, sub_path: str) \ -> typing.Tuple[pathlib.Path, pathlib.Path]: base_path = flask.safe_join(root, sub_path) data_file = ... | GHSA-hwv5-w8gm-fq9f | {'CWE-22'} | 3.5 | {'https://github.com/horazont/xmpp-http-upload/commit/82056540191e89f0cd697c81f57714c00962ed75'} | osv | Directory Traversal vulnerability in GET/PUT allows attackers to Disclose Information or Write Files via a crafted GET/PUT request ### Impact
#### Information Disclosure
When the GET method is attacked, attackers can read files which have a `.data` suffix and which are accompanied by a JSON file with the `.meta` suff... | 2020-10-06 | 1 | https://github.com/horazont/xmpp-http-upload | https://github.com/horazont/xmpp-http-upload/commit/82056540191e89f0cd697c81f57714c00962ed75 | 82056540191e89f0cd697c81f57714c00962ed75 | SINGLE | ['82056540191e89f0cd697c81f57714c00962ed75'] | {'f0fc7443c06a0e8aecb5696fc2bd513a2cc8b611'} | 82056540191e89f0cd697c81f57714c00962ed75 | 1 | 10/05/2020, 23:06:21 | Simplify path handling, use safe_join
The current implementation of sanitized_join did not handle
".." properly. The problem is, that .absolute() does not do
what .resolve() does, but .resolve() does not work on non
existant paths.
Anyway, flask has a function exactly for this: safe_join.
So let's use that one.
Whi... | Christian Tacke | null | {'additions': 15, 'deletions': 34, 'total': 49} | [
{
"additions": 15,
"changes": 49,
"deletions": 34,
"patch": "@@ -29,6 +29,7 @@\n import typing\n \n import flask\n+import werkzeug.exceptions\n \n app = flask.Flask(\"xmpp-http-upload\")\n app.config.from_envvar(\"XMPP_HTTP_UPLOAD_CONFIG\")\n@@ -39,16 +40,11 @@\n CORS(app)\n \n \n-def sanitized_... | py | CWE-22 | [
"xhu.py"
] | xhu.py | 1 |
$snmpver = 'v2c'; $additional = [ 'snmp_disable' => 1, 'os' => $_POST['os'] ? $_POST['os_id'] : 'ping', 'hardware' => $_POST['hardware'], 'sysName' => $_POST['sysName'], ]; } elseif ($_POST['s... | $snmpver = 'v2c'; $additional = [ 'snmp_disable' => 1, 'os' => $_POST['os'] ? strip_tags($_POST['os_id']) : 'ping', 'hardware' => strip_tags($_POST['hardware']), 'sysName' => strip_tags($_POST['sysName']), ... | GHSA-hxmr-5gv9-6p8v | {'CWE-79'} | 5.4 | {'https://github.com/librenms/librenms/commit/4f86915866703e2fcd1e34b3fc1181ec2ad78e54'} | osv | Cross-site Scripting in librenms Cross-site Scripting (XSS) - Stored in Packagist librenms/librenms prior to 22.2.0. | 2022-02-15 | 1 | https://github.com/librenms/librenms | https://github.com/librenms/librenms/commit/4f86915866703e2fcd1e34b3fc1181ec2ad78e54 | 4f86915866703e2fcd1e34b3fc1181ec2ad78e54 | SINGLE | ['4f86915866703e2fcd1e34b3fc1181ec2ad78e54'] | {'3ac0de16b2767d4d4df25b89aa9439daf070b24c'} | 4f86915866703e2fcd1e34b3fc1181ec2ad78e54 | 1 | 02/13/2022, 18:07:37 | XSS fix, cont. (#13776)
https://huntr.dev/bounties/13951f51-deed-4a3d-8275-52306cc5a87d/ | PipoCanaja | null | {'additions': 3, 'deletions': 3, 'total': 6} | [
{
"additions": 3,
"changes": 6,
"deletions": 3,
"patch": "@@ -45,9 +45,9 @@\n $snmpver = 'v2c';\n $additional = [\n 'snmp_disable' => 1,\n- 'os' => $_POST['os'] ? $_POST['os_id'] : 'ping',\n- 'hardware' => $_POST['ha... | php | CWE-79 | [
"includes/html/pages/addhost.inc.php"
] | includes/html/pages/addhost.inc.php | 1 |
PostgreSQL.prototype.buildExpression = function(columnName, operator, return new ParameterizedSQL(columnName + regexOperator, [operatorValue.source]); case 'contains': return new ParameterizedSQL(columnName + ' @> array[' + operatorValue.map((v) => `'${v}'`) + ']::' + propertyDefinition... | PostgreSQL.prototype.buildExpression = function(columnName, operator, return new ParameterizedSQL(columnName + regexOperator, [operatorValue.source]); case 'contains': return new ParameterizedSQL(columnName + ' @> array[' + operatorValue.map(() => '?') + ']::' + propertyDefinition.postg... | GHSA-j259-6c58-9m58 | {'CWE-20'} | 9.3 | {'https://github.com/loopbackio/loopback-connector-postgresql/commit/d57406c6737692a3a106b58a35406290cddb23e5'} | osv | loopback-connector-postgresql Vulnerable to Improper Sanitization of `contains` Filter Improper input validation on the `contains` LoopBack filter may allow for arbitrary SQL injection.
### Impact
When the extended filter property `contains` is permitted to be interpreted by the Postgres connector, it is possible to ... | 2022-08-11 | 1 | https://github.com/loopbackio/loopback-connector-postgresql | https://github.com/loopbackio/loopback-connector-postgresql/commit/d57406c6737692a3a106b58a35406290cddb23e5 | d57406c6737692a3a106b58a35406290cddb23e5 | SINGLE | ['d57406c6737692a3a106b58a35406290cddb23e5'] | {'1a863f3df332f1732e8fec519f1d686561313a3e'} | d57406c6737692a3a106b58a35406290cddb23e5 | 1 | 08/04/2022, 11:27:20 | fix: improve filter sanitisation
Add sanitisation of user-input for `contains` LoopBack filter which may allow for arbitrary SQL injection.
Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com> | Rifa Achrinza | null | {'additions': 4, 'deletions': 3, 'total': 7} | [
{
"additions": 4,
"changes": 7,
"deletions": 3,
"patch": "@@ -545,10 +545,11 @@ PostgreSQL.prototype.buildExpression = function(columnName, operator,\n return new ParameterizedSQL(columnName + regexOperator,\n [operatorValue.source]);\n case 'contains':\n- return new Parameter... | js | CWE-20 | [
"lib/postgresql.js"
] | lib/postgresql.js | 1 |
limitations under the License. #include "tensorflow/core/framework/register_types.h" #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/framework/tensor_shape.h" #include "tensorflow/core/platform/fingerprint.h" #include "tensorflow/core/util/util.h" #include "tensorflow/core/util/work_sharder.h" ... | limitations under the License. #include "tensorflow/core/framework/register_types.h" #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/framework/tensor_shape.h" #include "tensorflow/core/platform/errors.h" #include "tensorflow/core/platform/fingerprint.h" #include "tensorflow/core/util/util.h" #i... | GHSA-j47f-4232-hvv8 | {'CWE-125'} | 2.5 | {'https://github.com/tensorflow/tensorflow/commit/44b7f486c0143f68b56c34e2d01e146ee445134a'} | osv | Heap out of bounds read in `RaggedCross` ### Impact
An attacker can force accesses outside the bounds of heap allocated arrays by passing in invalid tensor values to `tf.raw_ops.RaggedCross`:
```python
import tensorflow as tf
ragged_values = []
ragged_row_splits = []
sparse_indices = []
sparse_values = []
sparse_sha... | 2021-05-21 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/44b7f486c0143f68b56c34e2d01e146ee445134a | 44b7f486c0143f68b56c34e2d01e146ee445134a | SINGLE | ['44b7f486c0143f68b56c34e2d01e146ee445134a'] | {'efea03b38fb8d3b81762237dc85e579cc5fc6e87'} | 44b7f486c0143f68b56c34e2d01e146ee445134a | 1 | 04/21/2021, 23:19:54 | Fix out of bounds read in `ragged_cross_op.cc`.
PiperOrigin-RevId: 369757702
Change-Id: Ie6e5d2c21513a8d56bf41fcf35960caf76e890f9 | Mihai Maruseac | null | {'additions': 30, 'deletions': 0, 'total': 30} | [
{
"additions": 30,
"changes": 30,
"deletions": 0,
"patch": "@@ -21,6 +21,7 @@ limitations under the License.\n #include \"tensorflow/core/framework/register_types.h\"\n #include \"tensorflow/core/framework/tensor.h\"\n #include \"tensorflow/core/framework/tensor_shape.h\"\n+#include \"tensorflow/cor... | cc | CWE-125 | [
"tensorflow/core/kernels/ragged_cross_op.cc"
] | tensorflow/core/kernels/ragged_cross_op.cc | 1 |
class Server extends EventEmitter { pingTimeout: 5000, pingInterval: 25000, upgradeTimeout: 10000, maxHttpBufferSize: 10e7, transports: Object.keys(transports), allowUpgrades: true, perMessageDeflate: { | class Server extends EventEmitter { pingTimeout: 5000, pingInterval: 25000, upgradeTimeout: 10000, maxHttpBufferSize: 1e6, transports: Object.keys(transports), allowUpgrades: true, perMessageDeflate: { | GHSA-j4f2-536g-r55m | {'CWE-400'} | 7.5 | {'https://github.com/socketio/engine.io/commit/734f9d1268840722c41219e69eb58318e0b2ac6b'} | osv | Resource exhaustion in engine.io Engine.IO before 4.0.0 and 3.6.0 allows attackers to cause a denial of service (resource consumption) via a POST request to the long polling transport. | 2022-02-09 | 1 | https://github.com/socketio/engine.io | https://github.com/socketio/engine.io/commit/734f9d1268840722c41219e69eb58318e0b2ac6b | 734f9d1268840722c41219e69eb58318e0b2ac6b | SINGLE | ['734f9d1268840722c41219e69eb58318e0b2ac6b'] | {'61b949259ed966ef6fc8bfd61f14d1a2ef06d319'} | 734f9d1268840722c41219e69eb58318e0b2ac6b | 1 | 02/11/2020, 06:57:29 | feat: decrease the default value of maxHttpBufferSize
This change reduces the default value from 100 mb to a more sane 1 mb.
This helps protect the server against denial of service attacks by
malicious clients sending huge amounts of data. | Damien Arrachequesne | {'com_1': {'author': 'abergmann', 'datetime': '01/08/2021, 09:14:06', 'body': '[CVE-2020-36048](https://nvd.nist.gov/vuln/detail/CVE-2020-36048) was assigned to this commit.'}, 'com_2': {'author': 'ixevix', 'datetime': '05/11/2022, 18:37:43', 'body': 'Any luck getting this into an official release on some version of en... | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -26,7 +26,7 @@ class Server extends EventEmitter {\n pingTimeout: 5000,\n pingInterval: 25000,\n upgradeTimeout: 10000,\n- maxHttpBufferSize: 10e7,\n+ maxHttpBufferSize: 1e6,\n transports: Obje... | js | CWE-400 | [
"lib/server.js"
] | lib/server.js | 1 |
// Helper function to escape a string for HTML rendering. var escapeHTML = function(string) { return string.replace(/&(?!\w+;)/g, '&').replace(/</g, '<').replace(/>/g, '>').replace(/"/g, '"'); }; }).call(this); | // Helper function to escape a string for HTML rendering. var escapeHTML = function(string) { return string.replace(/&(?!\w+;|#\d+;|#x[\da-f]+;)/gi, '&').replace(/</g, '<').replace(/>/g, '>').replace(/"/g, '"'); }; }).call(this); | GHSA-j6p2-cx3w-6jcp | {'CWE-79'} | 0 | {'https://github.com/jashkenas/backbone/commit/0cdc525961d3fa98e810ffae6bcc8e3838e36d93'} | osv | Cross-Site Scripting in backbone Affected versions of `backbone` are vulnerable to cross-site scripting when users are allowed to supply input to the `Model#Escape` function, and the output is then written to the DOM.
The vulnerability occurs as a result of the regular expression used to encode metacharacters failing... | 2019-02-18 | 1 | https://github.com/jashkenas/backbone | https://github.com/jashkenas/backbone/commit/0cdc525961d3fa98e810ffae6bcc8e3838e36d93 | 0cdc525961d3fa98e810ffae6bcc8e3838e36d93 | SINGLE | ['0cdc525961d3fa98e810ffae6bcc8e3838e36d93'] | {'7216d993502da2e312fc53f4e8edc8b534c25042'} | 0cdc525961d3fa98e810ffae6bcc8e3838e36d93 | 1 | 03/01/2011, 21:12:24 | Fixed escapeHTML function
to skip not only &***;, but also &#***; and &x***; | Dmitry Baranovskiy | {'com_1': {'author': 'alanhogan', 'datetime': '03/06/2011, 02:31:15', 'body': 'What are your thoughts on escaping single quotes?\n\nUsing single quotes around attribute values is less common than double quotes, but is certainly done:\n\n```\n<p id=\'foo\'>…</p>\n```\n\nThis can lead to XSS just as unescaped double-quot... | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -1079,7 +1079,7 @@\n \n // Helper function to escape a string for HTML rendering.\n var escapeHTML = function(string) {\n- return string.replace(/&(?!\\w+;)/g, '&').replace(/</g, '<').replace(/>/g, '>').replace(/\"/g, '&qu... | js | CWE-79 | [
"backbone.js"
] | backbone.js | 1 |
def __str__(self): class Application: SOCKTYPES = { "tcp": socket.SOCK_STREAM, "udp": socket.SOCK_DGRAM, def __call__(self, env, start_response): try: length = int(env["CONTENT_LENGTH"]) except AttributeError: length = -1 try: ... | def __str__(self): class Application: MAX_LENGTH = 128 * 1024 SOCKTYPES = { "tcp": socket.SOCK_STREAM, "udp": socket.SOCK_DGRAM, def __call__(self, env, start_response): try: length = int(env["CONTENT_LENGTH"]) except AttributeError: rai... | GHSA-j7c4-2xj8-wm7r | {'CWE-20'} | 7.5 | {'https://github.com/latchset/kdcproxy/commit/f274aa6787cb8b3ec1cc12c440a56665b7231882'} | osv | Moderate severity vulnerability that affects kdcproxy python-kdcproxy before 0.3.2 allows remote attackers to cause a denial of service via a large POST request. | 2018-11-01 | 1 | https://github.com/latchset/kdcproxy | https://github.com/latchset/kdcproxy/commit/f274aa6787cb8b3ec1cc12c440a56665b7231882 | f274aa6787cb8b3ec1cc12c440a56665b7231882 | SINGLE | ['f274aa6787cb8b3ec1cc12c440a56665b7231882'] | {'e4a71193099cd395578bcf32f4eb8beaa7da3e43'} | f274aa6787cb8b3ec1cc12c440a56665b7231882 | 1 | 08/03/2015, 18:38:49 | Enforce a maximum packet length
Permanently fixes CVE-2015-5159 for all applications. | Nathaniel McCallum | null | {'additions': 6, 'deletions': 1, 'total': 7} | [
{
"additions": 6,
"changes": 7,
"deletions": 1,
"patch": "@@ -61,6 +61,7 @@ def __str__(self):\n \n \n class Application:\n+ MAX_LENGTH = 128 * 1024\n SOCKTYPES = {\n \"tcp\": socket.SOCK_STREAM,\n \"udp\": socket.SOCK_DGRAM,\n@@ -180,7 +181,11 @@ def __call__(self, env, start... | py | CWE-20 | [
"kdcproxy/__init__.py"
] | kdcproxy/__init__.py | 1 |
TfLiteStatus Prepare(TfLiteContext* context, TfLiteNode* node) { TF_LITE_ENSURE_TYPES_EQ(context, input->type, output->type); const int block_size = params->block_size; const int input_height = input->dims->data[1]; const int input_width = input->dims->data[2]; int output_height = input_height / block_size; | TfLiteStatus Prepare(TfLiteContext* context, TfLiteNode* node) { TF_LITE_ENSURE_TYPES_EQ(context, input->type, output->type); const int block_size = params->block_size; TF_LITE_ENSURE(context, block_size > 0); const int input_height = input->dims->data[1]; const int input_width = input->dims->data[2]; int... | GHSA-j7rm-8ww4-xx2g | {'CWE-369'} | 2.5 | {'https://github.com/tensorflow/tensorflow/commit/0d45ea1ca641b21b73bcf9c00e0179cda284e7e7'} | osv | Division by zero in TFLite's implementation of `SpaceToDepth` ### Impact
The `Prepare` step of the `SpaceToDepth` TFLite operator [does not check for 0 before division](https://github.com/tensorflow/tensorflow/blob/5f7975d09eac0f10ed8a17dbb6f5964977725adc/tensorflow/lite/kernels/space_to_depth.cc#L63-L67).
```cc
cons... | 2021-05-21 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/0d45ea1ca641b21b73bcf9c00e0179cda284e7e7 | 0d45ea1ca641b21b73bcf9c00e0179cda284e7e7 | SINGLE | ['0d45ea1ca641b21b73bcf9c00e0179cda284e7e7'] | {'5f7975d09eac0f10ed8a17dbb6f5964977725adc'} | 0d45ea1ca641b21b73bcf9c00e0179cda284e7e7 | 1 | 04/28/2021, 00:45:57 | Prevent one more div by 0 in TFLite
PiperOrigin-RevId: 370800114
Change-Id: I6b956aeb8c458cc6f514408d2e89ffacfe249e57 | Mihai Maruseac | null | {'additions': 1, 'deletions': 0, 'total': 1} | [
{
"additions": 1,
"changes": 1,
"deletions": 0,
"patch": "@@ -61,6 +61,7 @@ TfLiteStatus Prepare(TfLiteContext* context, TfLiteNode* node) {\n TF_LITE_ENSURE_TYPES_EQ(context, input->type, output->type);\n \n const int block_size = params->block_size;\n+ TF_LITE_ENSURE(context, block_size > 0);... | cc | CWE-369 | [
"tensorflow/lite/kernels/space_to_depth.cc"
] | tensorflow/lite/kernels/space_to_depth.cc | 1 |
class Conv2DCustomBackpropFilterOp : public OpKernel { const int filter_total_size = dims.spatial_dims[0].filter_size * dims.spatial_dims[1].filter_size * dims.in_depth; // The output image size is the spatial size of the output. const int... | class Conv2DCustomBackpropFilterOp : public OpKernel { const int filter_total_size = dims.spatial_dims[0].filter_size * dims.spatial_dims[1].filter_size * dims.in_depth; OP_REQUIRES( context, filter_total_size * dims.out_depth ... | GHSA-j8qc-5fqr-52fp | {'CWE-369'} | 2.5 | {'https://github.com/tensorflow/tensorflow/commit/c570e2ecfc822941335ad48f6e10df4e21f11c96'} | osv | Division by zero in `Conv2DBackpropFilter` ### Impact
An attacker can cause a division by zero to occur in `Conv2DBackpropFilter`:
```python
import tensorflow as tf
input_tensor = tf.constant([], shape=[0, 0, 0, 0], dtype=tf.float32)
filter_sizes = tf.constant([0, 0, 0, 0], shape=[4], dtype=tf.int32)
out_backprop = t... | 2021-05-21 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/c570e2ecfc822941335ad48f6e10df4e21f11c96 | c570e2ecfc822941335ad48f6e10df4e21f11c96 | SINGLE | ['c570e2ecfc822941335ad48f6e10df4e21f11c96'] | {'1b0296c3b8dd9bd948f924aa8cd62f87dbb7c3da'} | c570e2ecfc822941335ad48f6e10df4e21f11c96 | 1 | 04/22/2021, 00:50:10 | Fix issues in Conv2DBackpropFilter.
PiperOrigin-RevId: 369772454
Change-Id: I49b465f2ae2ce91def61b56cea8000197d5177d8 | Mihai Maruseac | null | {'additions': 13, 'deletions': 0, 'total': 13} | [
{
"additions": 13,
"changes": 13,
"deletions": 0,
"patch": "@@ -495,6 +495,14 @@ class Conv2DCustomBackpropFilterOp : public OpKernel {\n const int filter_total_size = dims.spatial_dims[0].filter_size *\n dims.spatial_dims[1].filter_size *\n ... | cc | CWE-369 | [
"tensorflow/core/kernels/conv_grad_filter_ops.cc"
] | tensorflow/core/kernels/conv_grad_filter_ops.cc | 1 |
void OneHotComputeImpl(const OneHotContext& op_context) { for (int i = 0; i < op_context.axis; ++i) { prefix_dim_size *= op_context.indices->dims->data[i]; } const int suffix_dim_size = NumElements(op_context.indices) / prefix_dim_size; const int depth = *op_context.depth->data.i32; | void OneHotComputeImpl(const OneHotContext& op_context) { for (int i = 0; i < op_context.axis; ++i) { prefix_dim_size *= op_context.indices->dims->data[i]; } if (prefix_dim_size == 0) { // If indices tensor is degenerate, return a degenerate tensor, just like // TensorFlow does. return; } con... | GHSA-j8qh-3xrq-c825 | {'CWE-369'} | 2.5 | {'https://github.com/tensorflow/tensorflow/commit/3ebedd7e345453d68e279cfc3e4072648e5e12e5'} | osv | Division by zero in TFLite's implementation of `OneHot` ### Impact
The implementation of the `OneHot` TFLite operator is [vulnerable to a division by zero error](https://github.com/tensorflow/tensorflow/blob/f61c57bd425878be108ec787f4d96390579fb83e/tensorflow/lite/kernels/one_hot.cc#L68-L72):
```cc
int prefix_dim_size... | 2021-05-21 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/3ebedd7e345453d68e279cfc3e4072648e5e12e5 | 3ebedd7e345453d68e279cfc3e4072648e5e12e5 | SINGLE | ['3ebedd7e345453d68e279cfc3e4072648e5e12e5'] | {'f61c57bd425878be108ec787f4d96390579fb83e'} | 3ebedd7e345453d68e279cfc3e4072648e5e12e5 | 1 | 04/28/2021, 19:58:07 | Prevent division by 0 in OneHot implementation
If input indices is degenerate, the implementation would do a divide by zero. See https://github.com/tensorflow/tensorflow/blob/745d57df6d5e9bc568666a2a48ed8dd629c27241/tensorflow/lite/kernels/one_hot.cc#L68-L72
PiperOrigin-RevId: 370966870
Change-Id: Ie018337811c8016b5a... | Mihai Maruseac | null | {'additions': 5, 'deletions': 0, 'total': 5} | [
{
"additions": 5,
"changes": 5,
"deletions": 0,
"patch": "@@ -69,6 +69,11 @@ void OneHotComputeImpl(const OneHotContext& op_context) {\n for (int i = 0; i < op_context.axis; ++i) {\n prefix_dim_size *= op_context.indices->dims->data[i];\n }\n+ if (prefix_dim_size == 0) {\n+ // If indices... | cc | CWE-369 | [
"tensorflow/lite/kernels/one_hot.cc"
] | tensorflow/lite/kernels/one_hot.cc | 1 |
bool PxMDecoder::readData( Mat& img ) } } else memcpy( data, src, CV_ELEM_SIZE1(m_type)*m_width); } else { | bool PxMDecoder::readData( Mat& img ) } } else memcpy(data, src, img.elemSize1()*m_width); } else { | GHSA-jcxv-2j3h-mg59 | {'CWE-119'} | 6.5 | {'https://github.com/opencv/opencv/pull/10369/commits/7bbe1a53cfc097b82b1589f7915a2120de39274c'} | osv | Improper Restriction of Operations within the Bounds of a Memory Buffer in OpenCV OpenCV 3.3.1 (corresponding with opencv-python and opencv-contrib-python 3.3.1.11) has a Buffer Overflow in the cv::PxMDecoder::readData function in grfmt_pxm.cpp, because an incorrect size value is used. | 2021-10-12 | 1 | https://github.com/opencv/opencv | https://github.com/opencv/opencv/pull/10369/commits/7bbe1a53cfc097b82b1589f7915a2120de39274c | 7bbe1a53cfc097b82b1589f7915a2120de39274c | SINGLE | ['7bbe1a53cfc097b82b1589f7915a2120de39274c'] | {'eecb64a97313bcc0221db20c9cd0636f1c27a6d8'} | 7bbe1a53cfc097b82b1589f7915a2120de39274c | 1 | 12/21/2017, 01:10:24 | imgcodecs(pxm): fix memcpy size | Alexander Alekhin | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -333,7 +333,7 @@ bool PxMDecoder::readData( Mat& img )\n }\n }\n else\n- memcpy( data, src, CV_ELEM_SIZE1(m_type)*m_width);\n+ me... | cpp | CWE-119 | [
"modules/imgcodecs/src/grfmt_pxm.cpp"
] | modules/imgcodecs/src/grfmt_pxm.cpp | 1 |
<?php include "headers.php"; include "settings.php"; $t = $text['multiple-results']; if ( // TODO: Find in filenames not working with regex, see all instances of findText and $findText below true === haveMatch && -1 < targetURL.indexOf('_perms')) { if (-1 < u... | <?php // TODO: The whole file needs a refactor and comments! include "headers.php"; include "settings.php"; $t = $text['multiple-results']; if ( // TODO: Find in filenames not working with regex, see all instances of findText and $findText below true === haveMatch && -1 < ta... | GHSA-jf9v-q8vh-3fmc | {'CWE-79'} | 5.4 | {'https://github.com/icecoder/ICEcoder/commit/21d6ae0f2a3fce7d076ae430d48f5df56bd0f256'} | osv | Cross-site scripting in ICEcoder In ICEcoder 8.0 allows, a reflected XSS vulnerability was identified in the multipe-results.php page due to insufficient sanitization of the _GET['replace'] variable. As a result, arbitrary Javascript code can get executed. | 2021-09-09 | 1 | https://github.com/icecoder/ICEcoder | https://github.com/icecoder/ICEcoder/commit/21d6ae0f2a3fce7d076ae430d48f5df56bd0f256 | 21d6ae0f2a3fce7d076ae430d48f5df56bd0f256 | SINGLE | ['21d6ae0f2a3fce7d076ae430d48f5df56bd0f256'] | {'54e4aff163d29edb13fe885219f82fca258c7e99'} | 21d6ae0f2a3fce7d076ae430d48f5df56bd0f256 | 1 | 06/25/2021, 20:22:25 | XSS and usage fixes on multiple-results.php | mattpass | null | {'additions': 15, 'deletions': 12, 'total': 27} | [
{
"additions": 15,
"changes": 27,
"deletions": 12,
"patch": "@@ -1,4 +1,5 @@\n <?php\n+// TODO: The whole file needs a refactor and comments!\n include \"headers.php\";\n include \"settings.php\";\n $t = $text['multiple-results'];\n@@ -101,16 +102,18 @@\n if (\n // TODO: ... | php | CWE-79 | [
"lib/multiple-results.php"
] | lib/multiple-results.php | 1 |
function createSearchBox(searchURL) { var ac = new YAHOO.widget.AutoComplete("search-box","search-box-completion",ds); ac.typeAhead = false; ac.autoHighlight = false; var box = $("search-box"); var sizer = $("search-box-sizer"); | function createSearchBox(searchURL) { var ac = new YAHOO.widget.AutoComplete("search-box","search-box-completion",ds); ac.typeAhead = false; ac.autoHighlight = false; ac.formatResult = ac.formatEscapedResult; var box = $("search-box"); var sizer = $("search-box-sizer"); | GHSA-jff5-55xj-4jcq | {'CWE-79'} | 5.4 | {'https://github.com/jenkinsci/jenkins/commit/307ed31caba68a46426b8c73a787a05add2c7489'} | osv | Improper Neutralization of Input During Web Page Generation in Jenkins jenkins before versions 2.44, 2.32.2 is vulnerable to a persisted cross-site scripting in search suggestions due to improperly escaping users with less-than and greater-than characters in their names (SECURITY-388). | 2022-05-13 | 1 | https://github.com/jenkinsci/jenkins | https://github.com/jenkinsci/jenkins/commit/307ed31caba68a46426b8c73a787a05add2c7489 | 307ed31caba68a46426b8c73a787a05add2c7489 | SINGLE | ['307ed31caba68a46426b8c73a787a05add2c7489'] | {'97a61a9fe55f4c16168c123f98301a5173b9fa86', '7ae469770fd10c79bebc07511cd0ab1cafd33292'} | 307ed31caba68a46426b8c73a787a05add2c7489 | 1 | 01/10/2017, 22:21:40 | Merge pull request #98 from jenkinsci-cert/SECURITY-388
[SECURITY-388] Escape metacharacters in the search box | Jesse Glick | null | {'additions': 1, 'deletions': 0, 'total': 1} | [
{
"additions": 1,
"changes": 1,
"deletions": 0,
"patch": "@@ -2168,6 +2168,7 @@ function createSearchBox(searchURL) {\n var ac = new YAHOO.widget.AutoComplete(\"search-box\",\"search-box-completion\",ds);\n ac.typeAhead = false;\n ac.autoHighlight = false;\n+ ac.formatResult = ac.form... | js | CWE-79 | [
"war/src/main/webapp/scripts/hudson-behavior.js"
] | war/src/main/webapp/scripts/hudson-behavior.js | 1 |
var INTERPOLATE = /{([\s\S]+?)}/g module.exports = function(str, data) { var tmpl = 'var __p=[],print=function(){__p.push.apply(__p,arguments);};' + | var INTERPOLATE = /{([^{]+?)}/g module.exports = function(str, data) { var tmpl = 'var __p=[],print=function(){__p.push.apply(__p,arguments);};' + | GHSA-jgrx-mgxx-jf9v | {'CWE-400'} | 7.5 | {'https://github.com/daaku/nodejs-tmpl/commit/4c654e4d1542f329ed561fd95ccd80f30c6872d6'} | osv | tmpl vulnerable to Inefficient Regular Expression Complexity which may lead to resource exhaustion nodejs-tmpl is simple string formatting. tmpl is vulnerable to Inefficient Regular Expression Complexity which may lead to resource exhaustion. | 2021-09-20 | 1 | https://github.com/daaku/nodejs-tmpl | https://github.com/daaku/nodejs-tmpl/commit/4c654e4d1542f329ed561fd95ccd80f30c6872d6 | 4c654e4d1542f329ed561fd95ccd80f30c6872d6 | SINGLE | ['4c654e4d1542f329ed561fd95ccd80f30c6872d6'] | {'1dbd350783f04743bd759cc5ae1e1e3633d550ff'} | 4c654e4d1542f329ed561fd95ccd80f30c6872d6 | 1 | 09/07/2021, 06:41:06 | fix potential dos in regex | Naitik Shah | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -1,4 +1,4 @@\n-var INTERPOLATE = /{([\\s\\S]+?)}/g\n+var INTERPOLATE = /{([^{]+?)}/g\n \n module.exports = function(str, data) {\n var tmpl = 'var __p=[],print=function(){__p.push.apply(__p,arguments);};' +",
"path": "lib/tmpl.js",
... | js | CWE-400 | [
"lib/tmpl.js"
] | lib/tmpl.js | 1 |
package errors import "syscall" // Abort will terminate & sends SIGTERM to process func Abort(i ...int) { pgid, err := syscall.Getpgid(syscall.Getpid()) if err != nil { Exit(err.Error()) | package errors import ( "os" "syscall" ) // Abort will terminate & sends SIGTERM to process func Abort(i ...int) { if _, err := os.Stat("/.dockerenv"); err == nil { os.Exit(i[0]) } pgid, err := syscall.Getpgid(syscall.Getpid()) if err != nil { Exit(err.Error()) | GHSA-jhj6-5mh6-4pvf | {'CWE-476'} | 7.5 | {'https://github.com/kitabisa/teler/commit/ec6082049dba9e44a21f35fb7b123d42ce1a1a7e'} | osv | Denial-of-Service within Docker container ### Impact
If you run teler inside a Docker container and encounter `errors.Exit` function, it will cause denial-of-service (`SIGSEGV`) because it doesn't get process ID and process group ID of teler properly to kills.
### Patches
Upgrade to the >= 0.0.1 version.
### Workarou... | 2021-05-24 | 1 | https://github.com/kitabisa/teler | https://github.com/kitabisa/teler/commit/ec6082049dba9e44a21f35fb7b123d42ce1a1a7e | ec6082049dba9e44a21f35fb7b123d42ce1a1a7e | SINGLE | ['ec6082049dba9e44a21f35fb7b123d42ce1a1a7e'] | {'7be1cb4511a8236d5203a924bc0aa4db008aafb8'} | ec6082049dba9e44a21f35fb7b123d42ce1a1a7e | 1 | 11/02/2020, 14:09:38 | :hammer: Fix segmentation fault of syscall
If teler is run via the docker image, the syscall function cannot allocate and return a nil pointer to address. | Dwi Siswanto | null | {'additions': 8, 'deletions': 1, 'total': 9} | [
{
"additions": 8,
"changes": 9,
"deletions": 1,
"patch": "@@ -2,10 +2,17 @@\n \n package errors\n \n-import \"syscall\"\n+import (\n+\t\"os\"\n+\t\"syscall\"\n+)\n \n // Abort will terminate & sends SIGTERM to process\n func Abort(i ...int) {\n+\tif _, err := os.Stat(\"/.dockerenv\"); err == nil {\n... | go | CWE-476 | [
"pkg/errors/abort.go"
] | pkg/errors/abort.go | 1 |
public function configureJob(array $data): MessageBag $config['fints_password'] = (string)(Crypt::encrypt($data['fints_password']) ?? ''); $config['apply-rules'] = 1 === (int)$data['apply_rules']; $this->repository->setConfiguration($this->importJob, $config); public function setImportJ... | public function configureJob(array $data): MessageBag $config['fints_password'] = (string)(Crypt::encrypt($data['fints_password']) ?? ''); $config['apply-rules'] = 1 === (int)$data['apply_rules']; // sanitize FinTS URL. $config['fints_url'] = $this->validURI($config['fints_url']) ... | GHSA-jjcx-999m-35hc | {'CWE-20'} | 3.3 | {'https://github.com/firefly-iii/firefly-iii/commit/e80d616ef4397e6e764f6b7b7a5b30121244933c'} | osv | Improper Input Validation in Firefly III Firefly III 4.7.17.3 is vulnerable to local file enumeration. An attacker can enumerate local files due to the lack of protocol scheme sanitization, such as for file:/// URLs. This is related to fints_url to import/job/configuration, and import/create/fints. | 2021-09-08 | 1 | https://github.com/firefly-iii/firefly-iii | https://github.com/firefly-iii/firefly-iii/commit/e80d616ef4397e6e764f6b7b7a5b30121244933c | e80d616ef4397e6e764f6b7b7a5b30121244933c | SINGLE | ['e80d616ef4397e6e764f6b7b7a5b30121244933c'] | {'2ddf48f15cbdbb475221c299872420f625c3bc3f'} | e80d616ef4397e6e764f6b7b7a5b30121244933c | 1 | 08/02/2019, 15:05:54 | Fix #2367 | James Cole | null | {'additions': 20, 'deletions': 0, 'total': 20} | [
{
"additions": 20,
"changes": 20,
"deletions": 0,
"patch": "@@ -60,6 +60,9 @@ public function configureJob(array $data): MessageBag\n $config['fints_password'] = (string)(Crypt::encrypt($data['fints_password']) ?? '');\n $config['apply-rules'] = 1 === (int)$data['apply_rules'];\... | php | CWE-20 | [
"app/Support/Import/JobConfiguration/FinTS/NewFinTSJobHandler.php"
] | app/Support/Import/JobConfiguration/FinTS/NewFinTSJobHandler.php | 1 |
TfLiteStatus Subgraph::Invoke() { TF_LITE_ENSURE_STATUS(EnsureTensorDataIsReadable(tensor_index)); } if (tensor->data.raw == nullptr && tensor->bytes > 0) { if (registration.builtin_code == kTfLiteBuiltinReshape && i == 1) { // In general, having a tensor here with no buffer will ... | TfLiteStatus Subgraph::Invoke() { TF_LITE_ENSURE_STATUS(EnsureTensorDataIsReadable(tensor_index)); } if (tensor->data.raw == nullptr && tensor->bytes > 0) { if (registration.builtin_code == kTfLiteBuiltinReshape && i == 1 && tensor->dims->size != 1) { // In general, ha... | GHSA-jjr8-m8g8-p6wv | {'CWE-476'} | 4.4 | {'https://github.com/tensorflow/tensorflow/commit/f8378920345f4f4604202d4ab15ef64b2aceaa16'} | osv | Null pointer dereference in TFLite's `Reshape` operator ### Impact
The fix for [CVE-2020-15209](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15209) missed the case when the target shape of `Reshape` operator is given by the elements of a 1-D tensor. As such, the [fix for the vulnerability](https://github.com... | 2021-05-21 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/f8378920345f4f4604202d4ab15ef64b2aceaa16 | f8378920345f4f4604202d4ab15ef64b2aceaa16 | SINGLE | ['f8378920345f4f4604202d4ab15ef64b2aceaa16'] | {'9c1dc920d8ffb4893d6c9d27d1f039607b326743'} | f8378920345f4f4604202d4ab15ef64b2aceaa16 | 1 | 04/28/2021, 00:47:59 | Prevent a null pointer dereference in TFLite.
PiperOrigin-RevId: 370800353
Change-Id: Ic9c9712ce5c6e384c954dcd640a5bd9ff05c9a05 | Mihai Maruseac | null | {'additions': 10, 'deletions': 3, 'total': 13} | [
{
"additions": 10,
"changes": 13,
"deletions": 3,
"patch": "@@ -1060,10 +1060,17 @@ TfLiteStatus Subgraph::Invoke() {\n TF_LITE_ENSURE_STATUS(EnsureTensorDataIsReadable(tensor_index));\n }\n if (tensor->data.raw == nullptr && tensor->bytes > 0) {\n- if (registration.builti... | cc | CWE-476 | [
"tensorflow/lite/core/subgraph.cc"
] | tensorflow/lite/core/subgraph.cc | 1 |
def charset def redirect(to_url, response_status) self.headers["Status"] = response_status self.headers["Location"] = to_url self.body = "<html><body>You are being <a href=\"#{to_url}\">redirected</a>.</body></html>" end def prepare! | def charset def redirect(to_url, response_status) self.headers["Status"] = response_status self.headers["Location"] = to_url.gsub(/[\r\n]/, '') self.body = "<html><body>You are being <a href=\"#{CGI.escapeHTML(to_url)}\">redirected</a>.</body></html>" end def prepare! | GHSA-jmgf-p46x-982h | {'CWE-352'} | 0 | {'http://github.com/rails/rails/commit/7282ed863ca7e6f928bae9162c9a63a98775a19d'} | osv | Moderate severity vulnerability that affects rails CRLF injection vulnerability in Ruby on Rails before 2.0.5 allows remote attackers to inject arbitrary HTTP headers and conduct HTTP response splitting attacks via a crafted URL to the redirect_to function. | 2017-10-24 | 1 | http://github.com/rails/rails | http://github.com/rails/rails/commit/7282ed863ca7e6f928bae9162c9a63a98775a19d | 7282ed863ca7e6f928bae9162c9a63a98775a19d | SINGLE | ['7282ed863ca7e6f928bae9162c9a63a98775a19d'] | {'e8577991dcc47bcb11f99fd6582ee2a3f8270498'} | 7282ed863ca7e6f928bae9162c9a63a98775a19d | 1 | 10/14/2008, 09:47:27 | Sanitize the URLs passed to redirect_to to prevent a potential response spli
CGI.rb and mongrel don't do any sanitization of the contents of HTTP headers | Michael Koziarski | null | {'additions': 2, 'deletions': 2, 'total': 4} | [
{
"additions": 2,
"changes": 4,
"deletions": 2,
"patch": "@@ -30,9 +30,9 @@ def charset\n \n def redirect(to_url, response_status)\n self.headers[\"Status\"] = response_status\n- self.headers[\"Location\"] = to_url\n+ self.headers[\"Location\"] = to_url.gsub(/[\\r\\n]/, '')\n \n-... | rb | CWE-352 | [
"actionpack/lib/action_controller/response.rb"
] | actionpack/lib/action_controller/response.rb | 1 |
function logRequest (method, res, startTime, opts) { const attempt = res.headers.get('x-fetch-attempts') const attemptStr = attempt && attempt > 1 ? ` attempt #${attempt}` : '' const cacheStr = res.headers.get('x-local-cache') ? ' (from cache)' : '' opts.log.http( 'fetch', `${method.toUpperCase()} ${re... | function logRequest (method, res, startTime, opts) { const attempt = res.headers.get('x-fetch-attempts') const attemptStr = attempt && attempt > 1 ? ` attempt #${attempt}` : '' const cacheStr = res.headers.get('x-local-cache') ? ' (from cache)' : '' let urlStr try { const url = new URL(res.url) urlS... | GHSA-jmqm-f2gx-4fjv | {'CWE-352'} | 5.3 | {'https://github.com/npm/npm-registry-fetch/commit/18bf9b97fb1deecdba01ffb05580370846255c88'} | osv | Sensitive information exposure through logs in npm-registry-fetch Affected versions of `npm-registry-fetch` are vulnerable to an information exposure vulnerability through log files. The cli supports URLs like `<protocol>://[<user>[:<password>]@]<hostname>[:<port>][:][/]<path>`. The password value is not redacted and i... | 2020-07-07 | 1 | https://github.com/npm/npm-registry-fetch | https://github.com/npm/npm-registry-fetch/commit/18bf9b97fb1deecdba01ffb05580370846255c88 | 18bf9b97fb1deecdba01ffb05580370846255c88 | SINGLE | ['18bf9b97fb1deecdba01ffb05580370846255c88'] | {'09e540b09a951ded299ee028e7f1bd21cef5a6da'} | 18bf9b97fb1deecdba01ffb05580370846255c88 | 1 | 06/30/2020, 16:32:16 | chore: remove auth data from logs (#29) | Claudia Hernández | null | {'additions': 10, 'deletions': 1, 'total': 11} | [
{
"additions": 10,
"changes": 11,
"deletions": 1,
"patch": "@@ -30,9 +30,18 @@ function logRequest (method, res, startTime, opts) {\n const attempt = res.headers.get('x-fetch-attempts')\n const attemptStr = attempt && attempt > 1 ? ` attempt #${attempt}` : ''\n const cacheStr = res.headers.get... | js | CWE-352 | [
"check-response.js"
] | check-response.js | 1 |
import ( "github.com/Xhofe/alist/server/common" "github.com/Xhofe/alist/utils" "github.com/gin-gonic/gin" "strings" ) func Plist(c *gin.Context) { return } u := string(bytes) name := utils.Base(u) ipaIndex := strings.Index(name, ".ipa") if ipaIndex != -1 { name = name[:ipaIndex] } plist := fmt.Sprintf(... | import ( "github.com/Xhofe/alist/server/common" "github.com/Xhofe/alist/utils" "github.com/gin-gonic/gin" "net/url" "strings" ) func Plist(c *gin.Context) { return } u := string(bytes) uUrl, err := url.Parse(u) if err != nil { common.ErrorResp(c, err, 500) return } name := utils.Base(u) u = uUrl.Str... | GHSA-jpj5-hg26-6jgc | {'CWE-79'} | 6.1 | {'https://github.com/Xhofe/alist/commit/6af17e2509a400979420f613fd7f2f9721fdcd6e'} | osv | Cross-site Scripting in Alist Alist versions 2.0.10 through 2.1.0 were discovered to contain a cross-site scripting (XSS) vulnerability via /i/:data/ipa.plist. This issue was fixed in version 2.1.1. | 2022-03-13 | 1 | https://github.com/Xhofe/alist | https://github.com/Xhofe/alist/commit/6af17e2509a400979420f613fd7f2f9721fdcd6e | 6af17e2509a400979420f613fd7f2f9721fdcd6e | SINGLE | ['6af17e2509a400979420f613fd7f2f9721fdcd6e'] | {'5193b2aa7df73231ebf68e90b3295f2a5c0916a2'} | 6af17e2509a400979420f613fd7f2f9721fdcd6e | 1 | 03/01/2022, 12:09:25 | :lock: fix #645 xss vulnerability | Xhofe | null | {'additions': 9, 'deletions': 0, 'total': 9} | [
{
"additions": 9,
"changes": 9,
"deletions": 0,
"patch": "@@ -7,6 +7,7 @@ import (\n \t\"github.com/Xhofe/alist/server/common\"\n \t\"github.com/Xhofe/alist/utils\"\n \t\"github.com/gin-gonic/gin\"\n+\t\"net/url\"\n \t\"strings\"\n )\n \n@@ -24,11 +25,19 @@ func Plist(c *gin.Context) {\n \t\treturn\... | go | CWE-79 | [
"server/controllers/other.go"
] | server/controllers/other.go | 1 |
def egrep(pattern, *options) matched = 0 each do |fn| begin open(fn, "r", *options) do |inf| count = 0 inf.each do |line| count += 1 | def egrep(pattern, *options) matched = 0 each do |fn| begin File.open(fn, "r", *options) do |inf| count = 0 inf.each do |line| count += 1 | GHSA-jppv-gw3r-w3q8 | {'CWE-78'} | 0 | {'https://github.com/ruby/rake/commit/5b8f8fc41a5d7d7d6a5d767e48464c60884d3aee'} | osv | OS Command Injection in Rake There is an OS command injection vulnerability in Ruby Rake before 12.3.3 in Rake::FileList when supplying a filename that begins with the pipe character `|`. | 2020-02-28 | 1 | https://github.com/ruby/rake | https://github.com/ruby/rake/commit/5b8f8fc41a5d7d7d6a5d767e48464c60884d3aee | 5b8f8fc41a5d7d7d6a5d767e48464c60884d3aee | SINGLE | ['5b8f8fc41a5d7d7d6a5d767e48464c60884d3aee'] | {'6497ba4d94d12c123df48cc8ab40f0a4eb7fb337'} | 5b8f8fc41a5d7d7d6a5d767e48464c60884d3aee | 1 | 07/22/2019, 01:23:43 | Use File.open explicitly. | Hiroshi SHIBATA | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -294,7 +294,7 @@ def egrep(pattern, *options)\n matched = 0\n each do |fn|\n begin\n- open(fn, \"r\", *options) do |inf|\n+ File.open(fn, \"r\", *options) do |inf|\n count = 0\n ... | rb | CWE-78 | [
"lib/rake/file_list.rb"
] | lib/rake/file_list.rb | 1 |
public function anyData() }) ->addColumn('view', function ($tasks) { return '<a href="' . route("tasks.show", $tasks->external_id) . '" class="btn btn-link">' . __('View') .'</a>' . '<a data-toggle="modal" data-id="'. route('tasks.destroy',$tasks->external_id) . ... | public function anyData() }) ->addColumn('view', function ($tasks) { return '<a href="' . route("tasks.show", $tasks->external_id) . '" class="btn btn-link">' . __('View') .'</a>' . '<a data-toggle="modal" data-id="'. route('tasks.destroy',$tasks->external_id) . ... | GHSA-jr37-66pj-36v7 | {'CWE-79'} | 5.4 | {'https://github.com/Bottelet/DaybydayCRM/commit/002dc75f400cf307bd00b71a5a93f1e26e52cee2'} | osv | Cross-site Scripting in DayByDay CRM In Daybyday CRM, version 2.2.0 is vulnerable to Stored Cross-Site Scripting (XSS) vulnerability that allows low privileged application users to store malicious scripts in the title field of new tasks. These scripts are executed in a victim’s browser when they open the “/tasks” page ... | 2022-01-08 | 1 | https://github.com/Bottelet/DaybydayCRM | https://github.com/Bottelet/DaybydayCRM/commit/002dc75f400cf307bd00b71a5a93f1e26e52cee2 | 002dc75f400cf307bd00b71a5a93f1e26e52cee2 | SINGLE | ['002dc75f400cf307bd00b71a5a93f1e26e52cee2'] | {'fe842ea5ede237443f1f45a99aeb839133115d8b'} | 002dc75f400cf307bd00b71a5a93f1e26e52cee2 | 1 | 06/25/2021, 19:53:06 | fix xss for tasks index | Casper Bottelet | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -82,7 +82,7 @@ public function anyData()\n })\n ->addColumn('view', function ($tasks) {\n return '<a href=\"' . route(\"tasks.show\", $tasks->external_id) . '\" class=\"btn btn-link\">' . __('View') ... | php | CWE-79 | [
"app/Http/Controllers/TasksController.php"
] | app/Http/Controllers/TasksController.php | 1 |
$.extend( $.validator, { // https://gist.github.com/dperini/729294 // see also https://mathiasbynens.be/demo/url-regex // modified to allow protocol-relative URLs return this.optional( element ) || /^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\... | $.extend( $.validator, { // https://gist.github.com/dperini/729294 // see also https://mathiasbynens.be/demo/url-regex // modified to allow protocol-relative URLs return this.optional( element ) || /^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\... | GHSA-jxwx-85vp-gvwm | {'CWE-400'} | 0 | {'https://github.com/jquery-validation/jquery-validation/commit/5d8f29eef363d043a8fec4eb86d42cadb5fa5f7d'} | osv | Regular Expression Denial of Service in jquery-validation The GitHub Security Lab team has identified potential security vulnerabilities in jquery.validation.
The project contains one or more regular expressions that are vulnerable to ReDoS (Regular Expression Denial of Service)
This issue was discovered and reported... | 2021-01-13 | 1 | https://github.com/jquery-validation/jquery-validation | https://github.com/jquery-validation/jquery-validation/commit/5d8f29eef363d043a8fec4eb86d42cadb5fa5f7d | 5d8f29eef363d043a8fec4eb86d42cadb5fa5f7d | SINGLE | ['5d8f29eef363d043a8fec4eb86d42cadb5fa5f7d'] | {'b8d6646ec67c73372dddfbc9aadff45571a96136'} | 5d8f29eef363d043a8fec4eb86d42cadb5fa5f7d | 1 | 01/09/2021, 15:28:00 | Core: fixed Regular Expression Denial of Service vulnerability (#2371)
ReDoS, or Regular Expression Denial of Service, is a vulnerability affecting
poorly constructed and potentially inefficient regular expressions which can
make them perform extremely badly given a creatively constructed input string.
GHSL-2020-... | Markus Staab | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -1412,7 +1412,7 @@ $.extend( $.validator, {\n \t\t\t// https://gist.github.com/dperini/729294\n \t\t\t// see also https://mathiasbynens.be/demo/url-regex\n \t\t\t// modified to allow protocol-relative URLs\n-\t\t\treturn this.optional( ele... | js | CWE-400 | [
"src/core.js"
] | src/core.js | 1 |
def wiki_new fullname = params[:file][:filename] tempfile = params[:file][:tempfile] end # Remove page file dir prefix from upload path if necessary -- committer handles this itself dir = wiki.per_page_uploads ? params[:upload_dest].match(/^(#{wiki.page_file_dir}\/+)?(.*)/)[2] :... | def wiki_new fullname = params[:file][:filename] tempfile = params[:file][:tempfile] end halt 500 unless tempfile.is_a? Tempfile # Remove page file dir prefix from upload path if necessary -- committer handles this itself dir = wiki.per_page_uploads ? params[:upload_dest].... | GHSA-m2q3-53fq-7h66 | {'CWE-200'} | 0 | {'https://github.com/gollum/gollum/commit/ce68a88293ce3b18c261312392ad33a88bb69ea1'} | osv | Moderate severity vulnerability that affects gollum The Precious module in gollum before 4.0.1 allows remote attackers to read arbitrary files by leveraging the lack of a certain temporary-file check. | 2018-08-28 | 1 | https://github.com/gollum/gollum | https://github.com/gollum/gollum/commit/ce68a88293ce3b18c261312392ad33a88bb69ea1 | ce68a88293ce3b18c261312392ad33a88bb69ea1 | SINGLE | ['ce68a88293ce3b18c261312392ad33a88bb69ea1'] | {'288f75929d57bff1753b47aa860066ce674d5229'} | ce68a88293ce3b18c261312392ad33a88bb69ea1 | 1 | 09/20/2015, 11:53:02 | Added security check. | Bart Kamphorst | null | {'additions': 1, 'deletions': 0, 'total': 1} | [
{
"additions": 1,
"changes": 1,
"deletions": 0,
"patch": "@@ -176,6 +176,7 @@ def wiki_new\n fullname = params[:file][:filename]\n tempfile = params[:file][:tempfile]\n end\n+ halt 500 unless tempfile.is_a? Tempfile\n \n # Remove page file dir prefix from upload path... | rb | CWE-200 | [
"lib/gollum/app.rb"
] | lib/gollum/app.rb | 1 |
class QuantizedBiasAddOp : public OpKernel { "Must provide as many biases as the last dimension " "of the input tensor: ", bias.shape().DebugString(), " vs. ", input.shape().DebugString())); Tensor* output = nullptr; OP_REQUIRES_OK(context, | class QuantizedBiasAddOp : public OpKernel { "Must provide as many biases as the last dimension " "of the input tensor: ", bias.shape().DebugString(), " vs. ", input.shape().DebugString())); OP_REQUIRES(context, bias.NumElements() > 0, errors::InvalidArgument("Mu... | GHSA-m34j-p8rj-wjxq | {'CWE-369'} | 2.5 | {'https://github.com/tensorflow/tensorflow/commit/67784700869470d65d5f2ef20aeb5e97c31673cb'} | osv | Division by 0 in `QuantizedBiasAdd` ### Impact
An attacker can trigger an integer division by zero undefined behavior in `tf.raw_ops.QuantizedBiasAdd`:
```python
import tensorflow as tf
input_tensor = tf.constant([], shape=[0, 0, 0, 0], dtype=tf.quint8)
bias = tf.constant([], shape=[0], dtype=tf.quint8)
min_input = t... | 2021-05-21 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/67784700869470d65d5f2ef20aeb5e97c31673cb | 67784700869470d65d5f2ef20aeb5e97c31673cb | SINGLE | ['67784700869470d65d5f2ef20aeb5e97c31673cb'] | {'61bca8bd5ba8a68b2d97435ddfafcdf2b85672cd'} | 67784700869470d65d5f2ef20aeb5e97c31673cb | 1 | 04/23/2021, 18:11:39 | Prevent division by 0 in `QuantizedBiasAdd`.
PiperOrigin-RevId: 370117454
Change-Id: I3804e2ac8dcc6d3afcc92e27853e2325a017ca4d | Mihai Maruseac | null | {'additions': 2, 'deletions': 0, 'total': 2} | [
{
"additions": 2,
"changes": 2,
"deletions": 0,
"patch": "@@ -56,6 +56,8 @@ class QuantizedBiasAddOp : public OpKernel {\n \"Must provide as many biases as the last dimension \"\n \"of the input tensor: \",\n bias.shape().DebugString(), \" vs. \", input.shape().De... | cc | CWE-369 | [
"tensorflow/core/kernels/quantized_bias_add_op.cc"
] | tensorflow/core/kernels/quantized_bias_add_op.cc | 1 |
class QuantizedMulOp : public OpKernel { void Compute(OpKernelContext* context) override { const Tensor& x = context->input(0); const Tensor& y = context->input(1); const float min_x = context->input(2).flat<float>()(0); const float max_x = context->input(3).flat<float>()(0); const float min_y = ... | class QuantizedMulOp : public OpKernel { void Compute(OpKernelContext* context) override { const Tensor& x = context->input(0); const Tensor& y = context->input(1); auto& min_x_tensor = context->input(2); OP_REQUIRES(context, TensorShapeUtils::IsScalar(min_x_tensor.shape()), errors::I... | GHSA-m3f9-w3p3-p669 | {'CWE-787', 'CWE-131'} | 2.5 | {'https://github.com/tensorflow/tensorflow/commit/efea03b38fb8d3b81762237dc85e579cc5fc6e87'} | osv | Heap buffer overflow in `QuantizedMul` ### Impact
An attacker can cause a heap buffer overflow in `QuantizedMul` by passing in invalid thresholds for the quantization:
```python
import tensorflow as tf
x = tf.constant([256, 328], shape=[1, 2], dtype=tf.quint8)
y = tf.constant([256, 328], shape=[1, 2], dtype=tf.quint8... | 2021-05-21 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/efea03b38fb8d3b81762237dc85e579cc5fc6e87 | efea03b38fb8d3b81762237dc85e579cc5fc6e87 | SINGLE | ['efea03b38fb8d3b81762237dc85e579cc5fc6e87'] | {'87cf4d3ea9949051e50ca3f071fc909538a51cd0'} | efea03b38fb8d3b81762237dc85e579cc5fc6e87 | 1 | 04/21/2021, 23:15:46 | Validate inputs to `QuantizedMul`
PiperOrigin-RevId: 369756982
Change-Id: I00d960cc3b9316fd7a86bd37a44e341c96e17624 | Mihai Maruseac | null | {'additions': 16, 'deletions': 4, 'total': 20} | [
{
"additions": 16,
"changes": 20,
"deletions": 4,
"patch": "@@ -284,10 +284,22 @@ class QuantizedMulOp : public OpKernel {\n void Compute(OpKernelContext* context) override {\n const Tensor& x = context->input(0);\n const Tensor& y = context->input(1);\n- const float min_x = context->in... | cc | CWE-787 | [
"tensorflow/core/kernels/quantized_mul_op.cc"
] | tensorflow/core/kernels/quantized_mul_op.cc | 1 |
public static function siteUrl(string $path = '', $params = null, string $scheme return $url; } return parent::siteUrl($path, $params, $scheme, $siteId); } /** public static function absoluteUrlWithProtocol($url): string $url = rtrim($url, '/'); } retu... | public static function siteUrl(string $path = '', $params = null, string $scheme return $url; } return DynamicMeta::sanitizeUrl(parent::siteUrl($path, $params, $scheme, $siteId)); } /** public static function absoluteUrlWithProtocol($url): string $url = rtrim($url, '/'... | GHSA-m3xv-x3ph-mq22 | {'CWE-94'} | 9.8 | {'https://github.com/nystudio107/craft-seomatic/commit/0c5c0c0e0cb61000d12ec55ebf174745a5bf6469'} | osv | Server-side Template Injection in nystudio107/craft-seomatic A Server-side Template Injection (SSTI) vulnerability exists in Nystudio107 Seomatic prior to 3.4.12 in src/helpers/UrlHelper.php via the host header. | 2022-03-12 | 1 | https://github.com/nystudio107/craft-seomatic | https://github.com/nystudio107/craft-seomatic/commit/0c5c0c0e0cb61000d12ec55ebf174745a5bf6469 | 0c5c0c0e0cb61000d12ec55ebf174745a5bf6469 | SINGLE | ['0c5c0c0e0cb61000d12ec55ebf174745a5bf6469'] | {'1a47702db9d2df3fa3e12b1c4be09b55d2b6166f'} | 0c5c0c0e0cb61000d12ec55ebf174745a5bf6469 | 1 | 09/25/2021, 04:44:33 | Sanitize all URLs
Signed-off-by: Andrew Welch <andrew@nystudio107.com> | Andrew Welch | null | {'additions': 2, 'deletions': 2, 'total': 4} | [
{
"additions": 2,
"changes": 4,
"deletions": 2,
"patch": "@@ -56,7 +56,7 @@ public static function siteUrl(string $path = '', $params = null, string $scheme\n return $url;\n }\n \n- return parent::siteUrl($path, $params, $scheme, $siteId);\n+ return DynamicMeta::san... | php | CWE-94 | [
"src/helpers/UrlHelper.php"
] | src/helpers/UrlHelper.php | 1 |
decode_rle4_bad: ; gray_palette[code] ); line_end_flag = y - prev_y; } else if( code > 2 ) // absolute mode { | decode_rle4_bad: ; gray_palette[code] ); line_end_flag = y - prev_y; if( y >= m_height ) break; } else if( code > 2 ) // absolute mode ... | GHSA-m43c-649m-pm48 | {'CWE-190'} | 8.8 | {'https://github.com/opencv/opencv/pull/9726/commits/c58152d94ba878b2d7d76bcac59146312199b9eb'} | osv | Integer Overflow or Wraparound in OpenCV. In opencv/modules/imgcodecs/src/utils.cpp, functions FillUniColor and FillUniGray do not check the input length, which can lead to integer overflow. If the image is from remote, may lead to remote code execution or denial of service. This affects Opencv 3.3 (corresponding with ... | 2021-10-12 | 1 | https://github.com/opencv/opencv | https://github.com/opencv/opencv/pull/9726/commits/c58152d94ba878b2d7d76bcac59146312199b9eb | c58152d94ba878b2d7d76bcac59146312199b9eb | SINGLE | ['c58152d94ba878b2d7d76bcac59146312199b9eb'] | {'7475d23fec4bb7c7e2b662a0fa022d706dd2b520'} | c58152d94ba878b2d7d76bcac59146312199b9eb | 1 | 09/27/2017, 06:04:01 | Fix out of bounds write | blendin | {'com_1': {'author': 'tyomitch', 'datetime': '04/29/2019, 11:17:11', 'body': 'CVE-2017-1000450'}} | {'additions': 3, 'deletions': 0, 'total': 3} | [
{
"additions": 3,
"changes": 3,
"deletions": 0,
"patch": "@@ -375,6 +375,9 @@ decode_rle4_bad: ;\n gray_palette[code] );\n \n line_end_flag = y - prev_y;\n+\n+ if( y >= m_height )\n+ ... | cpp | CWE-190 | [
"modules/imgcodecs/src/grfmt_bmp.cpp"
] | modules/imgcodecs/src/grfmt_bmp.cpp | 1 |
public function register(){ unset($ret['password']); session("login_user" , $ret ); $token = D("UserToken")->createToken($ret['uid']); cookie('cookie_token',$token,array('expire'=>60*60*24*90,'httponly'=>'httponly'));//此处由服务端控制token是否过期,所以... | public function register(){ unset($ret['password']); session("login_user" , $ret ); $token = D("UserToken")->createToken($ret['uid']); if(version_compare(PHP_VERSION,'7.3.0','>')){ setcookie('cookie_token',$token,ar... | GHSA-m4hj-wg2r-qpcr | {'CWE-352'} | 4.3 | {'https://github.com/star7th/showdoc/commit/67093c879a6563aa6ee08003177777d1975e2351'} | osv | showdoc is vulnerable to Cross-Site Request Forgery (CSRF) showdoc is vulnerable to Cross-Site Request Forgery (CSRF). | 2021-11-15 | 1 | https://github.com/star7th/showdoc | https://github.com/star7th/showdoc/commit/67093c879a6563aa6ee08003177777d1975e2351 | 67093c879a6563aa6ee08003177777d1975e2351 | SINGLE | ['67093c879a6563aa6ee08003177777d1975e2351'] | {'7e6b547ac23be296f0a6066382eb1fd389af0439'} | 67093c879a6563aa6ee08003177777d1975e2351 | 1 | 10/19/2021, 14:19:10 | Strict cookie | star7th | null | {'additions': 16, 'deletions': 5, 'total': 21} | [
{
"additions": 16,
"changes": 21,
"deletions": 5,
"patch": "@@ -42,8 +42,12 @@ public function register(){\n unset($ret['password']);\n session(\"login_user\" , $ret );\n $token = D(\"UserToken\")->createToken($ret['uid']);\n- ... | php | CWE-352 | [
"server/Application/Api/Controller/UserController.class.php"
] | server/Application/Api/Controller/UserController.class.php | 1 |
function createHotSpot(hs) { if (config.basePath && !absoluteURL(imgp)) imgp = config.basePath + imgp; a = document.createElement('a'); a.href = sanitizeURL(hs.URL ? hs.URL : imgp); a.target = '_blank'; span.appendChild(a); var image = document.createElement(... | function createHotSpot(hs) { if (config.basePath && !absoluteURL(imgp)) imgp = config.basePath + imgp; a = document.createElement('a'); a.href = sanitizeURL(hs.URL ? hs.URL : imgp, true); a.target = '_blank'; span.appendChild(a); var image = document.createEl... | GHSA-m52x-29pq-w3vv | {'CWE-79'} | 4.8 | {'https://github.com/mpetroff/pannellum/commit/cc2f3d99953de59db908e0c6efd1c2c17f7c6914'} | osv | Pannellum Cross-Site Scripting due to data not being sanitized for URIs or vbscript Versions of `pannellum` prior to 2.5.6 are vulnerable to Cross-Site Scripting (XSS). The package fails to sanitize URLs for data URIs, which may allow attackers to execute arbitrary code in a victim's browser.
## Recommendation
Upgr... | 2019-11-22 | 1 | https://github.com/mpetroff/pannellum | https://github.com/mpetroff/pannellum/commit/cc2f3d99953de59db908e0c6efd1c2c17f7c6914 | cc2f3d99953de59db908e0c6efd1c2c17f7c6914 | SINGLE | ['cc2f3d99953de59db908e0c6efd1c2c17f7c6914'] | {'40111b237e763821437f501c94d8511022274dc3', 'f42e80facb41bb97321a0e2056d9ef5a4779e627'} | cc2f3d99953de59db908e0c6efd1c2c17f7c6914 | 1 | 11/22/2019, 01:35:45 | Merge pull request from GHSA-m52x-29pq-w3vv
Fix potential XSS vulnerability | Matthew Petroff | null | {'additions': 13, 'deletions': 6, 'total': 19} | [
{
"additions": 13,
"changes": 19,
"deletions": 6,
"patch": "@@ -1719,7 +1719,7 @@ function createHotSpot(hs) {\n if (config.basePath && !absoluteURL(imgp))\n imgp = config.basePath + imgp;\n a = document.createElement('a');\n- a.href = sanitizeURL(hs.URL ? hs.URL :... | js | CWE-79 | [
"src/js/pannellum.js"
] | src/js/pannellum.js | 1 |
class CudnnRnnSequenceTensorDescriptor static port::StatusOr<CudnnRnnSequenceTensorDescriptor> Create( GpuExecutor* parent, int max_seq_length, int batch_size, int data_size, cudnnDataType_t data_type) { CHECK_GT(max_seq_length, 0); int dims[] = {batch_size, data_size, 1}; int strides[] = {di... | class CudnnRnnSequenceTensorDescriptor static port::StatusOr<CudnnRnnSequenceTensorDescriptor> Create( GpuExecutor* parent, int max_seq_length, int batch_size, int data_size, cudnnDataType_t data_type) { if (max_seq_length <= 0) { return port::Status(port::error::INVALID_ARGUMENT, "max_seq_leng... | GHSA-m648-33qf-v3gp | {'CWE-20'} | 4.4 | {'https://github.com/tensorflow/tensorflow/commit/14755416e364f17fb1870882fa778c7fec7f16e3'} | osv | CHECK-fail in LSTM with zero-length input in TensorFlow ### Impact
Running an LSTM/GRU model where the LSTM/GRU layer receives an input with zero-length results in a `CHECK` failure when using the CUDA backend.
This can result in a query-of-death vulnerability, via denial of service, if users can control the input to ... | 2020-12-10 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/14755416e364f17fb1870882fa778c7fec7f16e3 | 14755416e364f17fb1870882fa778c7fec7f16e3 | SINGLE | ['14755416e364f17fb1870882fa778c7fec7f16e3'] | {'042a6923d7f9ff05e7514bf6011e4ca30be70113'} | 14755416e364f17fb1870882fa778c7fec7f16e3 | 1 | 12/08/2020, 04:31:31 | Prevent CHECK-fail in LSTM/GRU with zero-length input.
PiperOrigin-RevId: 346239181
Change-Id: I5f233dbc076aab7bb4e31ba24f5abd4eaf99ea4f | Mihai Maruseac | null | {'additions': 6, 'deletions': 2, 'total': 8} | [
{
"additions": 6,
"changes": 8,
"deletions": 2,
"patch": "@@ -1468,7 +1468,9 @@ class CudnnRnnSequenceTensorDescriptor\n static port::StatusOr<CudnnRnnSequenceTensorDescriptor> Create(\n GpuExecutor* parent, int max_seq_length, int batch_size, int data_size,\n cudnnDataType_t data_type... | cc | CWE-20 | [
"tensorflow/stream_executor/cuda/cuda_dnn.cc"
] | tensorflow/stream_executor/cuda/cuda_dnn.cc | 1 |
class BoostedTreesCreateEnsembleOp : public OpKernel { if (!result->InitFromSerialized( tree_ensemble_serialized_t->scalar<tstring>()(), stamp_token)) { result->Unref(); OP_REQUIRES( context, false, errors::InvalidArgument("Unable to parse tree ensemble proto.")); | class BoostedTreesCreateEnsembleOp : public OpKernel { if (!result->InitFromSerialized( tree_ensemble_serialized_t->scalar<tstring>()(), stamp_token)) { result->Unref(); result.release(); // Needed due to the `->Unref` above, to prevent UAF OP_REQUIRES( context, false, ... | GHSA-m7fm-4jfh-jrg6 | {'CWE-416'} | 7.8 | {'https://github.com/tensorflow/tensorflow/commit/5ecec9c6fbdbc6be03295685190a45e7eee726ab'} | osv | Use after free in boosted trees creation ### Impact
The implementation for `tf.raw_ops.BoostedTreesCreateEnsemble` can result in a use after free error if an attacker supplies specially crafted arguments:
```python
import tensorflow as tf
v= tf.Variable([0.0])
tf.raw_ops.BoostedTreesCreateEnsemble(
tree_ensemble_ha... | 2021-08-25 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/5ecec9c6fbdbc6be03295685190a45e7eee726ab | 5ecec9c6fbdbc6be03295685190a45e7eee726ab | SINGLE | ['5ecec9c6fbdbc6be03295685190a45e7eee726ab'] | {'d8a39f2dc1cba935ba153092a09e7d4bb2ce5ee2'} | 5ecec9c6fbdbc6be03295685190a45e7eee726ab | 1 | 07/31/2021, 02:13:19 | Prevent use after free.
A very old version of the code used `result` as a simple pointer to a resource. Two years later, the pointer got changed to a `unique_ptr` but author forgot to remove the call to `Unref`. Three years after that, we finally uncover the UAF.
PiperOrigin-RevId: 387924872
Change-Id: I70fb6f199164d... | Mihai Maruseac | null | {'additions': 1, 'deletions': 0, 'total': 1} | [
{
"additions": 1,
"changes": 1,
"deletions": 0,
"patch": "@@ -53,6 +53,7 @@ class BoostedTreesCreateEnsembleOp : public OpKernel {\n if (!result->InitFromSerialized(\n tree_ensemble_serialized_t->scalar<tstring>()(), stamp_token)) {\n result->Unref();\n+ result.release(); ... | cc | CWE-416 | [
"tensorflow/core/kernels/boosted_trees/resource_ops.cc"
] | tensorflow/core/kernels/boosted_trees/resource_ops.cc | 1 |
public function test(): bool { $this->saldo = $this->debe - $this->haber; $this->codcuenta = trim($this->codcuenta); $this->codsubcuenta = empty($this->idsubcuenta) ? $this->transformCodsubcuenta($this->codsubcuenta) : trim($this->codsubcuenta); $this->descripcion = $this->toolBox(... | public function test(): bool { $this->saldo = $this->debe - $this->haber; // escape html foreach (['codcuenta', 'codsubcuenta', 'descripcion', 'codcuentaesp'] as $field) { $this->{$field} = self::toolBox()::utils()::noHtml($this->{$field}); } $this->codsubcuent... | GHSA-m8gv-gvhf-7rhp | {'CWE-79'} | 6.1 | {'https://github.com/neorazorx/facturascripts/commit/482c5a82b4d79e7a19614f5a67dc24593046cefd'} | osv | Cross-site Scripting in FacturaScripts FacturaScripts versions 2022.06 and prior are vulnerable to reflected cross-site scripting attacks. This vulnerability can use arbitrarily executed javascript code to steal users' cookies, perform HTTP request, get content of `same origin` page, etc. A fix is available on the `mas... | 2022-05-05 | 1 | https://github.com/neorazorx/facturascripts | https://github.com/neorazorx/facturascripts/commit/482c5a82b4d79e7a19614f5a67dc24593046cefd | 482c5a82b4d79e7a19614f5a67dc24593046cefd | SINGLE | ['482c5a82b4d79e7a19614f5a67dc24593046cefd'] | {'0cf47824efa7e96ac1992617d8b23a21efc225c0'} | 482c5a82b4d79e7a19614f5a67dc24593046cefd | 1 | 05/03/2022, 18:23:16 | Escaped html code from model fields to improve security.
------
Escapado el html de los campos del modelo para mejorar la seguridad. | Carlos Garcia Gomez | null | {'additions': 7, 'deletions': 3, 'total': 10} | [
{
"additions": 7,
"changes": 10,
"deletions": 3,
"patch": "@@ -205,8 +205,12 @@ public function test(): bool\n {\n $this->saldo = $this->debe - $this->haber;\n \n- $this->codcuenta = trim($this->codcuenta);\n- $this->codsubcuenta = empty($this->idsubcuenta) ? $this->transfo... | php | CWE-79 | [
"Core/Model/Subcuenta.php"
] | Core/Model/Subcuenta.php | 1 |
<hr class="thin" /> <div class="row"> <?php $iformVr=0; foreach ($form_values_formated as $form_values_row) { <?php if (!is_array($val1)){ ?> <div> <... | <hr class="thin" /> <div class="row"> <?php $iformVr=0; foreach ($form_values_formated as $form_values_row) { <?php if (!is_array($val1)){ ?> <div> <s... | GHSA-m8rp-q82r-c5mf | {'CWE-79'} | 5.4 | {'https://github.com/microweber/microweber/commit/b64ef574b82dbf89a908e1569d790c7012d1ccd7'} | osv | Cross-site Scripting in microweber Cross-site Scripting (XSS) - Stored in Packagist microweber/microweber prior to 1.2.11. | 2022-01-21 | 1 | https://github.com/microweber/microweber | https://github.com/microweber/microweber/commit/b64ef574b82dbf89a908e1569d790c7012d1ccd7 | b64ef574b82dbf89a908e1569d790c7012d1ccd7 | SINGLE | ['b64ef574b82dbf89a908e1569d790c7012d1ccd7'] | {'e17f3e94289b2dac7187e8039e1a3429779e273c'} | b64ef574b82dbf89a908e1569d790c7012d1ccd7 | 1 | 01/19/2022, 09:56:21 | xss on contact form fix | Bozhidar Slaveykov | null | {'additions': 2, 'deletions': 3, 'total': 5} | [
{
"additions": 2,
"changes": 5,
"deletions": 3,
"patch": "@@ -91,7 +91,6 @@\n <hr class=\"thin\" />\n <div class=\"row\">\n \n-\n <?php\n $iformVr=0;\n foreach ($form_values_formated as $form_values_row) {\n@@ -106,12 +105,12 @@... | php | CWE-79 | [
"userfiles/modules/admin/notifications/notif_form_entry.php"
] | userfiles/modules/admin/notifications/notif_form_entry.php | 1 |
protected function prepare($objPage) $this->Template->pageTitle = str_replace('[-]', '', $this->Template->pageTitle); // Meta robots tag $this->Template->robots = $headBag->getMetaRobots(); // Canonical if ($objPage->enableCanonical) { $this->Template->canonical = $headBag->getCanonicalUriForRequest($... | protected function prepare($objPage) $this->Template->pageTitle = str_replace('[-]', '', $this->Template->pageTitle); // Meta robots tag $this->Template->robots = htmlspecialchars($headBag->getMetaRobots()); // Canonical if ($objPage->enableCanonical) { $this->Template->canonical = htmlspecialchars($h... | GHSA-m8x6-6r63-qvj2 | {'CWE-79'} | 7.2 | {'https://github.com/contao/contao/commit/199206849a87ddd0fa5cf674eb3c58292fd8366c'} | osv | Cross site scripting via canonical tag in Contao ### Impact
Untrusted users can inject malicious code into the canonical tag, which is then executed on the web page (front end).
### Patches
Update to Contao 4.13.3.
### Workarounds
Disable canonical tags in the root page settings.
### References
https://contao.org/en... | 2022-05-20 | 1 | https://github.com/contao/contao | https://github.com/contao/contao/commit/199206849a87ddd0fa5cf674eb3c58292fd8366c | 199206849a87ddd0fa5cf674eb3c58292fd8366c | SINGLE | ['199206849a87ddd0fa5cf674eb3c58292fd8366c'] | {'7f4e84da03e62fb2326051291477cfe373b7c823'} | 199206849a87ddd0fa5cf674eb3c58292fd8366c | 1 | 05/05/2022, 06:32:15 | Merge pull request from GHSA-m8x6-6r63-qvj2 | Martin Auswöger | null | {'additions': 2, 'deletions': 2, 'total': 4} | [
{
"additions": 2,
"changes": 4,
"deletions": 2,
"patch": "@@ -230,12 +230,12 @@ protected function prepare($objPage)\n \t\t$this->Template->pageTitle = str_replace('[-]', '', $this->Template->pageTitle);\n \n \t\t// Meta robots tag\n-\t\t$this->Template->robots = $headBag->getMetaRobots();\n+\t\t$th... | php | CWE-79 | [
"core-bundle/src/Resources/contao/pages/PageRegular.php"
] | core-bundle/src/Resources/contao/pages/PageRegular.php | 1 |
public function isDangerFilename($filename){ $isDangerStr($filename , ".php") || $isDangerStr($filename , ".svg") || $isDangerStr($filename , ".htm") || $isDangerStr($filename , "%") || $isDangerStr($filename , ".xml") ) { | public function isDangerFilename($filename){ $isDangerStr($filename , ".php") || $isDangerStr($filename , ".svg") || $isDangerStr($filename , ".htm") || $isDangerStr($filename , ".shtm") || $isDangerStr($filename , "%") || $isDangerStr($filename , ".xml") ) { | GHSA-mg5h-9rhq-4cqx | {'CWE-79'} | 5.4 | {'https://github.com/star7th/showdoc/commit/42c0d9813df3035728b36116a6ce9116e6fa8ed3'} | osv | Cross-site Scripting in ShowDoc ShowDoc is vulnerable to stored cross-site scripting through 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/42c0d9813df3035728b36116a6ce9116e6fa8ed3 | 42c0d9813df3035728b36116a6ce9116e6fa8ed3 | SINGLE | ['42c0d9813df3035728b36116a6ce9116e6fa8ed3'] | {'818d7fe731f452acccacf731ce47ec27ad68049c'} | 42c0d9813df3035728b36116a6ce9116e6fa8ed3 | 1 | 03/13/2022, 02:27:22 | file upload bug | star7th | null | {'additions': 1, 'deletions': 0, 'total': 1} | [
{
"additions": 1,
"changes": 1,
"deletions": 0,
"patch": "@@ -300,6 +300,7 @@ public function isDangerFilename($filename){\n \t\t\t $isDangerStr($filename , \".php\")\n \t\t\t|| $isDangerStr($filename , \".svg\")\n \t\t\t|| $isDangerStr($filename , \".htm\")\n+\t\t\t|| $isDangerStr($filename , \".sh... | php | CWE-79 | [
"server/Application/Api/Model/AttachmentModel.class.php"
] | server/Application/Api/Model/AttachmentModel.class.php | 1 |
def unlink? def params super rescue Rack::Utils::ParameterTypeError, Rack::Utils::InvalidParameterError => e raise BadRequest, "Invalid query parameters: #{e.message}" end private | def unlink? def params super rescue Rack::Utils::ParameterTypeError, Rack::Utils::InvalidParameterError => e raise BadRequest, "Invalid query parameters: #{Rack::Utils.escape_html(e.message)}" end private | GHSA-mq35-wqvf-r23c | {'CWE-79'} | 6.1 | {'https://github.com/sinatra/sinatra/commit/12786867d6faaceaec62c7c2cb5b0e2dc074d71a'} | osv | Sinatra has XSS via 400 Bad Request page via params parser exception Sinatra before 2.0.2 has XSS via the 400 Bad Request page that occurs upon a params parser exception. | 2018-06-05 | 1 | https://github.com/sinatra/sinatra | https://github.com/sinatra/sinatra/commit/12786867d6faaceaec62c7c2cb5b0e2dc074d71a | 12786867d6faaceaec62c7c2cb5b0e2dc074d71a | SINGLE | ['12786867d6faaceaec62c7c2cb5b0e2dc074d71a'] | {'5149dc9e0b0e281231b91223c6a414c905ad3a96'} | 12786867d6faaceaec62c7c2cb5b0e2dc074d71a | 1 | 05/30/2018, 16:05:27 | escape invalid query params, fixes #1428 | Kunpei Sakai | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -78,7 +78,7 @@ def unlink?\n def params\n super\n rescue Rack::Utils::ParameterTypeError, Rack::Utils::InvalidParameterError => e\n- raise BadRequest, \"Invalid query parameters: #{e.message}\"\n+ raise BadRequest, ... | rb | CWE-79 | [
"lib/sinatra/base.rb"
] | lib/sinatra/base.rb | 1 |
def branch_exists(self, branch): """ try: heads = subprocess.run( ["git", "ls-remote", "--heads", self.git_url], capture_output=True, text=True, check=True ) tags = subprocess.run( ["git"... | def branch_exists(self, branch): """ try: heads = subprocess.run( ["git", "ls-remote", "--heads", "--", self.git_url], capture_output=True, text=True, check=True ) tags = subprocess.run( ... | GHSA-mq5p-2mcr-m52j | {'CWE-94'} | 0 | {'https://github.com/jupyterhub/nbgitpuller/commit/07690644f29a566011dd0d7ba14cae3eb0490481'} | osv | Code injection in nbgitpuller ### Impact
Due to an unsanitized input, visiting maliciously crafted links could result in arbitrary code execution in the user environment.
### Patches
0.10.2
### Workarounds
None, other than upgrade to 0.10.2 or downgrade to 0.8.x.
### For more information
If you have any questio... | 2021-08-30 | 1 | https://github.com/jupyterhub/nbgitpuller | https://github.com/jupyterhub/nbgitpuller/commit/07690644f29a566011dd0d7ba14cae3eb0490481 | 07690644f29a566011dd0d7ba14cae3eb0490481 | SINGLE | ['07690644f29a566011dd0d7ba14cae3eb0490481'] | {'f25d3f2685035c11bd668d48e71caf4fc245ba68', '2cad6147f1769a962f8d0733045967663add53cb'} | 07690644f29a566011dd0d7ba14cae3eb0490481 | 1 | 08/25/2021, 12:23:02 | Merge pull request from GHSA-mq5p-2mcr-m52j
make positional args explicit | Erik Sundell | null | {'additions': 4, 'deletions': 4, 'total': 8} | [
{
"additions": 4,
"changes": 8,
"deletions": 4,
"patch": "@@ -88,13 +88,13 @@ def branch_exists(self, branch):\n \"\"\"\n try:\n heads = subprocess.run(\n- [\"git\", \"ls-remote\", \"--heads\", self.git_url],\n+ [\"git\", \"ls-remote\", \"--h... | py | CWE-94 | [
"nbgitpuller/pull.py"
] | nbgitpuller/pull.py | 1 |
def _unzip_iter(filename, root, verbose=True): yield ErrorMessage(filename, e) return # Get lists of directories & files namelist = zf.namelist() dirlist = set() for x in namelist: if x.endswith('/'): dirlist.add(x) else: dirlist.add(x.rsplit('/'... | def _unzip_iter(filename, root, verbose=True): yield ErrorMessage(filename, e) return zf.extractall(root) if verbose: print() | GHSA-mr7p-25v2-35wr | {'CWE-22'} | 7.5 | {'https://github.com/nltk/nltk/commit/f59d7ed8df2e0e957f7f247fe218032abdbe9a10'} | osv | Path Traversal in nltk NLTK Downloader before 3.4.5 is vulnerable to a directory traversal, allowing attackers to write arbitrary files via a ../ (dot dot slash) in an NLTK package (ZIP archive) that is mishandled during extraction. | 2019-08-23 | 1 | https://github.com/nltk/nltk | https://github.com/nltk/nltk/commit/f59d7ed8df2e0e957f7f247fe218032abdbe9a10 | f59d7ed8df2e0e957f7f247fe218032abdbe9a10 | SINGLE | ['f59d7ed8df2e0e957f7f247fe218032abdbe9a10'] | {'2554ff48feed878ba7e830ada9825196f3eaa86a'} | f59d7ed8df2e0e957f7f247fe218032abdbe9a10 | 1 | 08/20/2019, 10:35:00 | CVE-2019-14751:
Fixed security bug in downloader
(https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-14751) | Steven Bird | {'com_1': {'author': 'greysteil', 'datetime': '08/26/2019, 11:01:35', 'body': "Thanks for this @stevenbird, and for all your work on `nltk`.\r\n\r\nHave you got 5 minutes to talk me through the process you went through fixing this, and any way GitHub can help? I'm on GitHub's security team and am working to make it eas... | {'additions': 1, 'deletions': 35, 'total': 36} | [
{
"additions": 1,
"changes": 36,
"deletions": 35,
"patch": "@@ -2260,42 +2260,8 @@ def _unzip_iter(filename, root, verbose=True):\n yield ErrorMessage(filename, e)\n return\n \n- # Get lists of directories & files\n- namelist = zf.namelist()\n- dirlist = set()\n- for x in... | py | CWE-22 | [
"nltk/downloader.py"
] | nltk/downloader.py | 1 |
public function getLegacyLayout( throw new Exception('PrestaShopBundle\Twig\LayoutExtension cannot find the {$content} string in legacy layout template', 1); } $content = str_replace( [ '{$content}', 'var currentIndex = \'index.php\';', ... | public function getLegacyLayout( throw new Exception('PrestaShopBundle\Twig\LayoutExtension cannot find the {$content} string in legacy layout template', 1); } $explodedLayout = explode('{$content}', $layout); $header = explode('</head>', $explodedLayout[0]); $footer = expl... | GHSA-mrq4-7ch7-2465 | {'CWE-94'} | 9 | {'https://github.com/PrestaShop/PrestaShop/commit/d02b469ec365822e6a9f017e57f588966248bf21'} | osv | Server Side Twig Template Injection PrestaShop is an Open Source e-commerce platform. Starting with version 1.7.0.0 and ending with version 1.7.8.3, an attacker is able to inject twig code inside the back office when using the legacy layout. The problem is fixed in version 1.7.8.3. There are no known workarounds. | 2022-01-27 | 1 | https://github.com/PrestaShop/PrestaShop | https://github.com/PrestaShop/PrestaShop/commit/d02b469ec365822e6a9f017e57f588966248bf21 | d02b469ec365822e6a9f017e57f588966248bf21 | SINGLE | ['d02b469ec365822e6a9f017e57f588966248bf21'] | {'ed8eb7ce8242e91d7acf85d7157277aad6bcac21', 'd2807b0560d5ca2835c6a4774e183c182d903f1a'} | d02b469ec365822e6a9f017e57f588966248bf21 | 1 | 01/26/2022, 09:20:05 | Merge pull request from GHSA-mrq4-7ch7-2465
Properly escape smarty output for twig | GoT | null | {'additions': 18, 'deletions': 19, 'total': 37} | [
{
"additions": 18,
"changes": 37,
"deletions": 19,
"patch": "@@ -218,26 +218,25 @@ public function getLegacyLayout(\n throw new Exception('PrestaShopBundle\\Twig\\LayoutExtension cannot find the {$content} string in legacy layout template', 1);\n }\n \n- $content = str_rep... | php | CWE-94 | [
"src/PrestaShopBundle/Twig/LayoutExtension.php"
] | src/PrestaShopBundle/Twig/LayoutExtension.php | 1 |
class DepthwiseConv2dNativeBackpropInputOp : public OpKernel { OP_REQUIRES(context, in_sizes_data[i] >= 0, errors::InvalidArgument("Dimension ", i, " of input_sizes must be >= 0")); input_shape.AddDim(in_sizes_data[i]); } const TensorShape... | class DepthwiseConv2dNativeBackpropInputOp : public OpKernel { OP_REQUIRES(context, in_sizes_data[i] >= 0, errors::InvalidArgument("Dimension ", i, " of input_sizes must be >= 0")); OP_REQUIRES_OK(context, input_shape.AddDimWithStatus(in_sizes_dat... | GHSA-mw6j-hh29-h379 | {'CWE-190'} | 0 | {'https://github.com/tensorflow/tensorflow/commit/3796cc4fcd93ae55812a457abc96dcd55fbb854b'} | osv | `CHECK` failure in depthwise ops via overflows ### Impact
The implementation of depthwise ops in TensorFlow is vulnerable to a denial of service via `CHECK`-failure (assertion failure) caused by overflowing the number of elements in a tensor:
```python
import tensorflow as tf
input = tf.constant(1, shape=[1, 4, 4, 3]... | 2022-05-25 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/3796cc4fcd93ae55812a457abc96dcd55fbb854b | 3796cc4fcd93ae55812a457abc96dcd55fbb854b | SINGLE | ['3796cc4fcd93ae55812a457abc96dcd55fbb854b'] | {'8f704c59219243ee66bdeb93cb3471e8e6af7d86'} | 3796cc4fcd93ae55812a457abc96dcd55fbb854b | 1 | 04/27/2022, 22:53:46 | Fix tf.raw_ops.DepthwiseConv2dNativeBackpropInput vulnerability with large input sizes.
Use AddDimWithStatus rather than AddDim in order to catch and report integer overflow gracefully.
PiperOrigin-RevId: 444989983 | Alan Liu | null | {'additions': 3, 'deletions': 2, 'total': 5} | [
{
"additions": 3,
"changes": 5,
"deletions": 2,
"patch": "@@ -625,7 +625,7 @@ class DepthwiseConv2dNativeBackpropInputOp : public OpKernel {\n OP_REQUIRES(context, in_sizes_data[i] >= 0,\n errors::InvalidArgument(\"Dimension \", i,\n ... | cc | CWE-190 | [
"tensorflow/core/kernels/depthwise_conv_grad_op.cc"
] | tensorflow/core/kernels/depthwise_conv_grad_op.cc | 1 |
See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ #include "tensorflow/core/lib/io/format.h" #include "tensorflow/core/lib/core/coding.h" Status ReadBlock(RandomAccessFile* file, const Bl... | See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ #include <limits> #include "tensorflow/core/lib/io/format.h" #include "tensorflow/core/lib/core/coding.h" Status ReadBlock(RandomAccessF... | GHSA-mw6v-crh8-8533 | {'CWE-190'} | 9.8 | {'https://github.com/tensorflow/tensorflow/commit/d107fee1e4a9a4462f01564798d345802acc2aef'} | osv | Integer Overflow or Wraparound in Google TensorFlow Google TensorFlow 1.7.x and earlier is affected by a Buffer Overflow vulnerability. The type of exploitation is context-dependent. | 2019-04-30 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/d107fee1e4a9a4462f01564798d345802acc2aef | d107fee1e4a9a4462f01564798d345802acc2aef | SINGLE | ['d107fee1e4a9a4462f01564798d345802acc2aef'] | {'f8acfb01792886274778d9ad7a9d990cbef14141'} | d107fee1e4a9a4462f01564798d345802acc2aef | 1 | 04/04/2018, 23:26:25 | Check that n + kBlockTrailerSize does not overflow before reading a block
PiperOrigin-RevId: 191666300 | Frank Chen | null | {'additions': 7, 'deletions': 0, 'total': 7} | [
{
"additions": 7,
"changes": 7,
"deletions": 0,
"patch": "@@ -13,6 +13,8 @@ See the License for the specific language governing permissions and\n limitations under the License.\n ==============================================================================*/\n \n+#include <limits>\n+\n #include \"t... | cc | CWE-190 | [
"tensorflow/core/lib/io/format.cc"
] | tensorflow/core/lib/io/format.cc | 1 |
public function isDangerFilename($filename){ || $isDangerStr($filename , ".shtm") || $isDangerStr($filename , "%") || $isDangerStr($filename , ".xml") ) { return true; } public function isDangerFilename($filename){ }\ No newline at end of file | public function isDangerFilename($filename){ || $isDangerStr($filename , ".shtm") || $isDangerStr($filename , "%") || $isDangerStr($filename , ".xml") || $isDangerStr($filename , ".xxhtml") ) { return true; } public function isDangerFilename($filename){ \ No newline at end of file } | GHSA-mw75-qvfr-hpmr | {'CWE-79'} | 5.4 | {'https://github.com/star7th/showdoc/commit/830c89a4c2c5fd0dd491422bf8e97b4eb5713f55'} | osv | Cross-site Scripting in ShowDoc ShowDoc is vulnerable to stored cross-site scripting through 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/830c89a4c2c5fd0dd491422bf8e97b4eb5713f55 | 830c89a4c2c5fd0dd491422bf8e97b4eb5713f55 | SINGLE | ['830c89a4c2c5fd0dd491422bf8e97b4eb5713f55'] | {'da56d1d68702a7a80506245c251e58eaf84cff27', '42c0d9813df3035728b36116a6ce9116e6fa8ed3'} | 830c89a4c2c5fd0dd491422bf8e97b4eb5713f55 | 1 | 03/13/2022, 08:03:16 | Merge pull request #1628 from ajaysenr/master
Update AttachmentModel.class.php | star7th | null | {'additions': 2, 'deletions': 1, 'total': 3} | [
{
"additions": 2,
"changes": 3,
"deletions": 1,
"patch": "@@ -303,6 +303,7 @@ public function isDangerFilename($filename){\n \t\t\t|| $isDangerStr($filename , \".shtm\")\n \t\t\t|| $isDangerStr($filename , \"%\")\n \t\t\t|| $isDangerStr($filename , \".xml\")\n+\t\t\t|| $isDangerStr($filename , \".xx... | php | CWE-79 | [
"server/Application/Api/Model/AttachmentModel.class.php"
] | server/Application/Api/Model/AttachmentModel.class.php | 1 |
public function fieldcollectionTreeAction(Request $request, EventDispatcherInter if (!isset($groups[$item->getGroup()])) { $groups[$item->getGroup()] = [ 'id' => 'group_' . $item->getKey(), 'text' => $item->getGroup(), ... | public function fieldcollectionTreeAction(Request $request, EventDispatcherInter if (!isset($groups[$item->getGroup()])) { $groups[$item->getGroup()] = [ 'id' => 'group_' . $item->getKey(), 'text' => htmlspecialchars($item->getGroup())... | GHSA-mxh3-2699-98g9 | {'CWE-79'} | 5.4 | {'https://github.com/pimcore/pimcore/commit/b5a9ad65e5a4dde1916f02019f8686ad835681ce'} | osv | Cross-site Scripting pimcore pimcore version 10.3.0 and prior is vulnerable to cross-site scripting. | 2022-02-09 | 1 | https://github.com/pimcore/pimcore | https://github.com/pimcore/pimcore/commit/b5a9ad65e5a4dde1916f02019f8686ad835681ce | b5a9ad65e5a4dde1916f02019f8686ad835681ce | SINGLE | ['b5a9ad65e5a4dde1916f02019f8686ad835681ce'] | {'6ccb5c12fc1be065ebce9c89c4677ee939b88597'} | b5a9ad65e5a4dde1916f02019f8686ad835681ce | 1 | 02/07/2022, 14:23:39 | [Admin] DataObject - Escape class definitions group properly | dpahuja | null | {'additions': 2, 'deletions': 2, 'total': 4} | [
{
"additions": 2,
"changes": 4,
"deletions": 2,
"patch": "@@ -861,7 +861,7 @@ public function fieldcollectionTreeAction(Request $request, EventDispatcherInter\n if (!isset($groups[$item->getGroup()])) {\n $groups[$item->getGroup()] = [\n 'i... | php | CWE-79 | [
"bundles/AdminBundle/Controller/Admin/DataObject/ClassController.php"
] | bundles/AdminBundle/Controller/Admin/DataObject/ClassController.php | 1 |
<div> <h1>Error</h1> <p> {{ error_message|safe }} </p> <hr> <p> | <div> <h1>Error</h1> <p> {{ error_message }} </p> <hr> <p> | GHSA-mxvc-fwgx-j778 | {'CWE-79'} | 5.4 | {'https://github.com/benbusby/whoogle-search/commit/abc30d7da3b5c67be7ce84d4699f327442d44606'} | osv | Whoogle Search Cross-site Scripting via string parameter The package whoogle-search before 0.7.2 is vulnerable to Cross-site Scripting (XSS) via the query string parameter q. In the case where it does not contain the http string, it is used to build the error_message that is then rendered in the error.html template, us... | 2022-07-15 | 1 | https://github.com/benbusby/whoogle-search | https://github.com/benbusby/whoogle-search/commit/abc30d7da3b5c67be7ce84d4699f327442d44606 | abc30d7da3b5c67be7ce84d4699f327442d44606 | SINGLE | ['abc30d7da3b5c67be7ce84d4699f327442d44606'] | {'d62ceb84239ee0df677851f46eb885c40e98211f'} | abc30d7da3b5c67be7ce84d4699f327442d44606 | 1 | 04/26/2022, 15:28:05 | Render error message w/o `safe` filter
The error message shown in the error template does not need to be
rendered using the safe filter, and furthermore opens up an XSS
vulnerability. | Ben Busby | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -16,7 +16,7 @@\n <div>\n <h1>Error</h1>\n <p>\n- {{ error_message|safe }}\n+ {{ error_message }}\n </p>\n <hr>\n <p>",
"path": "app/templates/error.html",
"raw_url": "https://github.com/benbusby/wh... | html | CWE-79 | [
"app/templates/error.html"
] | app/templates/error.html | 1 |
private function getPluginInfo(string $pluginName, string $iniContent): array 'require' => [], 'version' => 1 ]; $ini = parse_ini_string($iniContent); if ($ini !== false) { foreach (['name', 'version', 'description', 'min_version'] as $key) { ... | private function getPluginInfo(string $pluginName, string $iniContent): array 'require' => [], 'version' => 1 ]; $ini = parse_ini_string($iniContent); if ($ini === false) { return $info; } $info['name'] = strip_tags($ini['name'] ?? $info['nam... | GHSA-p3w3-4ppm-c3f6 | {'CWE-79'} | 9 | {'https://github.com/neorazorx/facturascripts/commit/aa9f28cb86467468f43486b77ddef7ff4d3c687e'} | osv | Cross site scripting in FacturaScripts FacturaScripts prior to version 2022.06 is vulnerable to stored cross-site scripting via upload plugin functionality in zip format. | 2022-04-29 | 1 | https://github.com/neorazorx/facturascripts | https://github.com/neorazorx/facturascripts/commit/aa9f28cb86467468f43486b77ddef7ff4d3c687e | aa9f28cb86467468f43486b77ddef7ff4d3c687e | SINGLE | ['aa9f28cb86467468f43486b77ddef7ff4d3c687e'] | {'fad9cc6db891b8a408d2d326342c3481829d69ee'} | aa9f28cb86467468f43486b77ddef7ff4d3c687e | 1 | 04/27/2022, 18:22:59 | Sanitized the data read from the ini file to avoid security problems.
------
Saneados los datos leídos del archivo ini para evitar problemas de seguridad. | Carlos Garcia Gomez | null | {'additions': 19, 'deletions': 14, 'total': 33} | [
{
"additions": 19,
"changes": 33,
"deletions": 14,
"patch": "@@ -380,27 +380,32 @@ private function getPluginInfo(string $pluginName, string $iniContent): array\n 'require' => [],\n 'version' => 1\n ];\n-\n $ini = parse_ini_string($iniContent);\n- if ($... | php | CWE-79 | [
"Core/Base/PluginManager.php"
] | Core/Base/PluginManager.php | 1 |
func (srv *Server) serveTCP(l net.Listener) error { } return err } m, err := reader.ReadTCP(rw, rtimeout) if err != nil { continue } go srv.serve(rw.RemoteAddr(), handler, m, nil, nil, rw) } } | func (srv *Server) serveTCP(l net.Listener) error { } return err } go func() { m, err := reader.ReadTCP(rw, rtimeout) if err != nil { rw.Close() return } srv.serve(rw.RemoteAddr(), handler, m, nil, nil, rw) }() } } | GHSA-p55x-7x9v-q8m4 | {'CWE-400'} | 7.5 | {'https://github.com/miekg/dns/commit/43913f2f4fbd7dcff930b8a809e709591e4dd79e'} | osv | Denial of Service in miekg-dns A denial of service flaw was found in miekg-dns before 1.0.4. A remote attacker could use carefully timed TCP packets to block the DNS server from accepting new connections. | 2021-06-29 | 1 | https://github.com/miekg/dns | https://github.com/miekg/dns/commit/43913f2f4fbd7dcff930b8a809e709591e4dd79e | 43913f2f4fbd7dcff930b8a809e709591e4dd79e | SINGLE | ['43913f2f4fbd7dcff930b8a809e709591e4dd79e'] | {'862243b3b1e77ca9f73771fc95a7148d11cebb55'} | 43913f2f4fbd7dcff930b8a809e709591e4dd79e | 1 | 01/25/2018, 10:36:19 | Fix for CVE-2017-15133 TCP DOS (#631)
serveTCP calls reader.ReadTCP in the accept loop rather than in
the per-connection goroutine. If an attacker opens a connection
and leaves it idle, this will block the accept loop until the
connection times out (2s by default). During this time no other
incoming connections wi... | Miek Gieben | null | {'additions': 8, 'deletions': 5, 'total': 13} | [
{
"additions": 8,
"changes": 13,
"deletions": 5,
"patch": "@@ -472,11 +472,14 @@ func (srv *Server) serveTCP(l net.Listener) error {\n \t\t\t}\n \t\t\treturn err\n \t\t}\n-\t\tm, err := reader.ReadTCP(rw, rtimeout)\n-\t\tif err != nil {\n-\t\t\tcontinue\n-\t\t}\n-\t\tgo srv.serve(rw.RemoteAddr(), ha... | go | CWE-400 | [
"server.go"
] | server.go | 1 |
public function requestedAssets() // Make sure the asset and request still exist if ($checkoutRequest && $checkoutRequest->itemRequested()) { $results['rows'][] = [ 'image' => $checkoutRequest->itemRequested()->present()->getImageUrl(), 'n... | public function requestedAssets() // Make sure the asset and request still exist if ($checkoutRequest && $checkoutRequest->itemRequested()) { $results['rows'][] = [ 'image' => e($checkoutRequest->itemRequested()->present()->getImageUrl()), ... | GHSA-p885-prv3-m4xv | {'CWE-79'} | 5.4 | {'https://github.com/snipe/snipe-it/commit/f211c11034baf4281aa62e7b5e0347248d995ee9'} | osv | Cross-site Scripting in snipe-it Stored Cross Site Scripting vulnerability in Item name parameter in GitHub repository snipe/snipe-it prior to v5.4.3. The vulnerability is capable of stolen the user Cookie. | 2022-04-17 | 1 | https://github.com/snipe/snipe-it | https://github.com/snipe/snipe-it/commit/f211c11034baf4281aa62e7b5e0347248d995ee9 | f211c11034baf4281aa62e7b5e0347248d995ee9 | SINGLE | ['f211c11034baf4281aa62e7b5e0347248d995ee9'] | {'698c7f4904f8fd843c5b9761053c9c68819ec288', '7479f5f12d73f73d9bc8c479651e0e5602ad1791'} | f211c11034baf4281aa62e7b5e0347248d995ee9 | 1 | 04/15/2022, 11:25:56 | Merge pull request #10942 from snipe/fixes/xss_user_requested
Fixes potential XSS vuln in user requestable results | snipe | null | {'additions': 5, 'deletions': 5, 'total': 10} | [
{
"additions": 5,
"changes": 10,
"deletions": 5,
"patch": "@@ -30,11 +30,11 @@ public function requestedAssets()\n // Make sure the asset and request still exist\n if ($checkoutRequest && $checkoutRequest->itemRequested()) {\n $results['rows'][] = [\n- ... | php | CWE-79 | [
"app/Http/Controllers/Api/ProfileController.php"
] | app/Http/Controllers/Api/ProfileController.php | 1 |
public static File writeZipStreamToTempDir(InputStream inputStream) throws IOExc */ private static void processZipStream(File dir, InputStream inputStream) throws IOException { ZipInputStream zip = new ZipInputStream(inputStream); while (true) { private static void processZipStream(File dir... | public static File writeZipStreamToTempDir(InputStream inputStream) throws IOExc */ private static void processZipStream(File dir, InputStream inputStream) throws IOException { String canonicalDestinationDirPath = dir.getCanonicalPath(); ZipInputStream zip = new ZipInputStream(inputStream); ... | GHSA-p9j6-4pjr-gp48 | {'CWE-22'} | 5.3 | {'https://github.com/joniles/mpxj/commit/8eaf4225048ea5ba7e59ef4556dab2098fcc4a1d'} | osv | MPXJ path Traversal vulnerability common/InputStreamHelper.java in Packwood MPXJ before 8.3.5 allows directory traversal in the zip stream handler flow, leading to the writing of files to arbitrary locations. | 2020-12-18 | 1 | https://github.com/joniles/mpxj | https://github.com/joniles/mpxj/commit/8eaf4225048ea5ba7e59ef4556dab2098fcc4a1d | 8eaf4225048ea5ba7e59ef4556dab2098fcc4a1d | SINGLE | ['8eaf4225048ea5ba7e59ef4556dab2098fcc4a1d'] | {'1eed5f01ac8e49b433e0538bdc079caeda7d6fd7'} | 8eaf4225048ea5ba7e59ef4556dab2098fcc4a1d | 1 | 12/14/2020, 12:13:14 | zip slip fix | Jon Iles | null | {'additions': 9, 'deletions': 0, 'total': 9} | [
{
"additions": 9,
"changes": 9,
"deletions": 0,
"patch": "@@ -114,6 +114,7 @@ public static File writeZipStreamToTempDir(InputStream inputStream) throws IOExc\n */\n private static void processZipStream(File dir, InputStream inputStream) throws IOException\n {\n+ String canonicalDesti... | java | CWE-22 | [
"src/main/java/net/sf/mpxj/common/InputStreamHelper.java"
] | src/main/java/net/sf/mpxj/common/InputStreamHelper.java | 1 |
<a href="$backUrl" class='button secondary'>{{translation key="platform.wiki.users.join.request.cancel.label"/}}</a> </span> <input type='hidden' name='wikiId' value="$!wikiId"/> <input type='hidden' name='requestJoin' value="... | <a href="$backUrl" class='button secondary'>{{translation key="platform.wiki.users.join.request.cancel.label"/}}</a> </span> <input type='hidden' name='wikiId' value="$!wikiId"/> <input type='hidden' name='requestJoin' value="... | GHSA-ph5x-h23x-7q5q | {'CWE-79', 'CWE-116'} | 7.4 | {'https://github.com/xwiki/xwiki-platform/commit/27f839133d41877e538d35fa88274b50a1c00b9b'} | osv | Cross-site Scripting in wiki manager join wiki page ### Impact
We found a possible XSS vector in the `WikiManager.JoinWiki ` wiki page related to the "requestJoin" field.
### Patches
The issue is patched in versions 12.10.11, 14.0-rc-1, 13.4.7, 13.10.3.
### Workarounds
The easiest workaround is to edit the wiki page ... | 2022-05-25 | 1 | https://github.com/xwiki/xwiki-platform | https://github.com/xwiki/xwiki-platform/commit/27f839133d41877e538d35fa88274b50a1c00b9b | 27f839133d41877e538d35fa88274b50a1c00b9b | SINGLE | ['27f839133d41877e538d35fa88274b50a1c00b9b'] | {'bd935320bee3c27cf7548351b1d0f935f116d437'} | 27f839133d41877e538d35fa88274b50a1c00b9b | 1 | 01/04/2022, 10:35:46 | XWIKI-19292: Fix bad escaping | Thomas Mortagne | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -245,7 +245,7 @@\n <a href=\"$backUrl\" class='button secondary'>{{translation key=\"platform.wiki.users.join.request.cancel.label\"/}}</a>\n </span>\n <input type='hid... | xml | CWE-79 | [
"xwiki-platform-core/xwiki-platform-wiki/xwiki-platform-wiki-ui/xwiki-platform-wiki-ui-mainwiki/src/main/resources/WikiManager/JoinWiki.xml"
] | xwiki-platform-core/xwiki-platform-wiki/xwiki-platform-wiki-ui/xwiki-platform-wiki-ui-mainwiki/src/main/resources/WikiManager/JoinWiki.xml | 1 |
* * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ if ($item = ((isset($event['extra'])) ? $event['extra']['stat'] : false)): ?> <p> <?php if (!empty($item['isFailed'])) : ?> endif; ?> <?php if ($counter > 1): ?><hr/><?php endif; ?> <st... | * * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ if ($item = ((isset($event['extra'])) ? $event['extra']['stat'] : false)): ?> <p> <?php if (!empty($item['isFailed'])) : ?> endif; ?> <?php if ($counter > 1): ?><hr/><?php endif; ?> <s... | GHSA-pjpc-87mp-4332 | {'CWE-79'} | 9.6 | {'https://github.com/mautic/mautic/commit/462eb596027fd949efbf9ac5cb2b376805e9d246'} | osv | Cross-site Scripting vulnerability in Mautic's tracking pixel functionality ### Impact
Mautic allows you to track open rates by using tracking pixels.
The tracking information is stored together with extra metadata of the tracking request.
The output isn't sufficiently filtered when showing the metadata of the track... | 2022-05-25 | 1 | https://github.com/mautic/mautic | https://github.com/mautic/mautic/commit/462eb596027fd949efbf9ac5cb2b376805e9d246 | 462eb596027fd949efbf9ac5cb2b376805e9d246 | SINGLE | ['462eb596027fd949efbf9ac5cb2b376805e9d246'] | {'d1518c24e45515d710d4e488bc33a14027b64194'} | 462eb596027fd949efbf9ac5cb2b376805e9d246 | 1 | 05/23/2022, 11:55:13 | Merge pull request from GHSA-pjpc-87mp-4332
* sanitise user agent before displaying
* Update app/bundles/EmailBundle/Views/SubscribedEvents/Timeline/index.html.php
Co-authored-by: John Linhart <admin@escope.cz>
* removed obsolete use statement
Co-authored-by: John Linhart <admin@escope.cz> | mollux | null | {'additions': 2, 'deletions': 1, 'total': 3} | [
{
"additions": 2,
"changes": 3,
"deletions": 1,
"patch": "@@ -8,6 +8,7 @@\n *\n * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html\n */\n+\n if ($item = ((isset($event['extra'])) ? $event['extra']['stat'] : false)): ?>\n <p>\n <?php if (!empty($item['isFailed'])) : ?>\n... | php | CWE-79 | [
"app/bundles/EmailBundle/Views/SubscribedEvents/Timeline/index.html.php"
] | app/bundles/EmailBundle/Views/SubscribedEvents/Timeline/index.html.php | 1 |
public async Task<ConnectorResult> ExtractAsync(FullPath fullPath, bool newFolde string file = Path.Combine(rootPath, entry.FullName) .Replace("/", separator).Replace("\\", separator); if (file.EndsWith(separator)) //directory ... | public async Task<ConnectorResult> ExtractAsync(FullPath fullPath, bool newFolde string file = Path.Combine(rootPath, entry.FullName) .Replace("/", separator).Replace("\\", separator); string destPath = Path.GetFullPath(file); ... | GHSA-pjxv-w3qj-j8m3 | {'CWE-22'} | 7.5 | {'https://github.com/mguinness/elFinder.AspNet/commit/675049b39284a9e84f0915c71d688da8ebc7d720'} | osv | Directory Traversal in elFinder.AspNet This affects the package elFinder.AspNet before 1.1.1.
The user-controlled file name is not properly sanitized before it is used to create a file system path. | 2021-08-09 | 1 | https://github.com/mguinness/elFinder.AspNet | https://github.com/mguinness/elFinder.AspNet/commit/675049b39284a9e84f0915c71d688da8ebc7d720 | 675049b39284a9e84f0915c71d688da8ebc7d720 | SINGLE | ['675049b39284a9e84f0915c71d688da8ebc7d720'] | {'8f2690712bd6cf417d897d70f734d6e972cf0071'} | 675049b39284a9e84f0915c71d688da8ebc7d720 | 1 | 07/10/2021, 01:28:34 | Directory traversal fixes | mguinness | null | {'additions': 16, 'deletions': 0, 'total': 16} | [
{
"additions": 16,
"changes": 16,
"deletions": 0,
"patch": "@@ -229,6 +229,12 @@ public async Task<ConnectorResult> ExtractAsync(FullPath fullPath, bool newFolde\n string file = Path.Combine(rootPath, entry.FullName)\n .Replace(\"/\", separator).R... | cs | CWE-22 | [
"elFinder.AspNet/Drivers/FileSystem/FileSystemDriver.cs"
] | elFinder.AspNet/Drivers/FileSystem/FileSystemDriver.cs | 1 |
var ecstatic = module.exports = function (dir, options) { return function middleware (req, res, next) { // Strip any null bytes from the url while(req.url.indexOf('%00') !== -1) { req.url = req.url.replace(/\%00/g, ''); } // Figure out the path for the file from the given url var parsed = ... | var ecstatic = module.exports = function (dir, options) { return function middleware (req, res, next) { // Strip any null bytes from the url // This was at one point necessary because of an old bug in url.parse // // See: https://github.com/jfhbrook/node-ecstatic/issues/16#issuecomment-3039914 /... | GHSA-pm9p-9926-w68m | {'CWE-20'} | 7.5 | {'https://github.com/jfhbrook/node-ecstatic/commit/71ce93988ead4b561a8592168c72143907189f01'} | osv | Denial of Service in ecstatic `ecstatic`, a simple static file server middleware, is vulnerable to denial of service. If a payload with a large number of null bytes (`%00`) is provided by an attacker it can crash ecstatic by running it out of memory.
[Results from the original advisory](https://www.checkmarx.com/advi... | 2017-12-28 | 1 | https://github.com/jfhbrook/node-ecstatic | https://github.com/jfhbrook/node-ecstatic/commit/71ce93988ead4b561a8592168c72143907189f01 | 71ce93988ead4b561a8592168c72143907189f01 | SINGLE | ['71ce93988ead4b561a8592168c72143907189f01'] | {'2fceb40fb9eeaaba29f5d2c3b63583fefb04a130'} | 71ce93988ead4b561a8592168c72143907189f01 | 1 | 08/09/2016, 16:37:39 | Remove stripping of null bytes
This was at one point necessary because of an old bug in url.parse
See: https://github.com/jfhbrook/node-ecstatic/issues/16#issuecomment-3039914
See: https://github.com/jfhbrook/node-ecstatic/commit/43f7e72a31524f88f47e367c3cc3af710e67c9f4
But this opens up a regex dos attack vector! D... | Joshua Holbrook | null | {'additions': 12, 'deletions': 0, 'total': 12} | [
{
"additions": 12,
"changes": 12,
"deletions": 0,
"patch": "@@ -52,9 +52,21 @@ var ecstatic = module.exports = function (dir, options) {\n return function middleware (req, res, next) {\n \n // Strip any null bytes from the url\n+ // This was at one point necessary because of an old bug in u... | js | CWE-20 | [
"lib/ecstatic.js"
] | lib/ecstatic.js | 1 |
TfLiteStatus Prepare(TfLiteContext* context, TfLiteNode* node) { const int rank = params->rank; const int batch_size = input->dims->data[0]; const int num_filters = weights_feature->dims->data[0]; TF_LITE_ENSURE_EQ(context, num_filters % rank, 0); const int num_units = num_filters / rank; const int memory_... | TfLiteStatus Prepare(TfLiteContext* context, TfLiteNode* node) { const int rank = params->rank; const int batch_size = input->dims->data[0]; const int num_filters = weights_feature->dims->data[0]; TF_LITE_ENSURE(context, rank != 0); TF_LITE_ENSURE_EQ(context, num_filters % rank, 0); const int num_units = n... | GHSA-pmpr-55fj-r229 | {'CWE-369'} | 2.5 | {'https://github.com/tensorflow/tensorflow/commit/6841e522a3e7d48706a02e8819836e809f738682'} | osv | Division by zero in TFLite's implementation of `SVDF` ### Impact
The implementation of the `SVDF` TFLite operator is [vulnerable to a division by zero error](https://github.com/tensorflow/tensorflow/blob/7f283ff806b2031f407db64c4d3edcda8fb9f9f5/tensorflow/lite/kernels/svdf.cc#L99-L102):
```cc
const int rank = params->... | 2021-05-21 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/6841e522a3e7d48706a02e8819836e809f738682 | 6841e522a3e7d48706a02e8819836e809f738682 | SINGLE | ['6841e522a3e7d48706a02e8819836e809f738682'] | {'7f283ff806b2031f407db64c4d3edcda8fb9f9f5'} | 6841e522a3e7d48706a02e8819836e809f738682 | 1 | 04/28/2021, 22:13:03 | Prevent division by 0
PiperOrigin-RevId: 370995582
Change-Id: I670ffaf52d1ff8823ec31ea5f438f9125b402223 | Mihai Maruseac | null | {'additions': 1, 'deletions': 0, 'total': 1} | [
{
"additions": 1,
"changes": 1,
"deletions": 0,
"patch": "@@ -99,6 +99,7 @@ TfLiteStatus Prepare(TfLiteContext* context, TfLiteNode* node) {\n const int rank = params->rank;\n const int batch_size = input->dims->data[0];\n const int num_filters = weights_feature->dims->data[0];\n+ TF_LITE_ENS... | cc | CWE-369 | [
"tensorflow/lite/kernels/svdf.cc"
] | tensorflow/lite/kernels/svdf.cc | 1 |
static URL extract(URL url) throws IOException { if (jar == null) { return url; } File dir = File.createTempFile(jar.getName(), ".dir"); dir.delete(); dir.mkdirs(); Enumeration<JarEntry> en = jar.entries(); while (en.hasMoreElements()) { | static URL extract(URL url) throws IOException { if (jar == null) { return url; } File dir = Files.createTempDirectory(jar.getName() + ".dir").toFile(); Enumeration<JarEntry> en = jar.entries(); while (en.hasMoreElements()) { | GHSA-ppc3-fpvh-7396 | {'CWE-362'} | 7 | {'https://github.com/apache/netbeans-html4j/commit/fa70e507e5555e1adb4f6518479fc408a7abd0e6'} | osv | Improper synchronization in Apache Netbeans HTML/Java API There exists a race condition between the deletion of the temporary file and the creation of the temporary directory in `webkit` subproject of HTML/Java API version 1.7. A similar vulnerability has recently been disclosed in other Java projects and the fix in HT... | 2022-02-09 | 1 | https://github.com/apache/netbeans-html4j | https://github.com/apache/netbeans-html4j/commit/fa70e507e5555e1adb4f6518479fc408a7abd0e6 | fa70e507e5555e1adb4f6518479fc408a7abd0e6 | SINGLE | ['fa70e507e5555e1adb4f6518479fc408a7abd0e6'] | {'d1dcd9c0542ac46d7764256a81057dfbe2d8805a'} | fa70e507e5555e1adb4f6518479fc408a7abd0e6 | 1 | 12/15/2020, 08:56:27 | createTempDirectory atomically | Jaroslav Tulach | null | {'additions': 1, 'deletions': 3, 'total': 4} | [
{
"additions": 1,
"changes": 4,
"deletions": 3,
"patch": "@@ -39,9 +39,7 @@ static URL extract(URL url) throws IOException {\n if (jar == null) {\n return url;\n }\n- File dir = File.createTempFile(jar.getName(), \".dir\");\n- dir.delete();\n- dir.mkd... | java | CWE-362 | [
"webkit/src/main/java/org/netbeans/html/presenters/webkit/UnJarResources.java"
] | webkit/src/main/java/org/netbeans/html/presenters/webkit/UnJarResources.java | 1 |
class DilationOp : public OpKernel { ParseSizes(context, strides_, rates_, padding_, &stride_rows, &stride_cols, &rate_rows, &rate_cols, &pad_top, &pad_left, &out_rows, &out_cols); // Output tensor is of the following dimensions: // [ batch, out_rows, out_cols, depth ] class ... | class DilationOp : public OpKernel { ParseSizes(context, strides_, rates_, padding_, &stride_rows, &stride_cols, &rate_rows, &rate_cols, &pad_top, &pad_left, &out_rows, &out_cols); if (!context->status().ok()) return; // Output tensor is of the following dimensions: // [ ... | GHSA-pvrc-hg3f-58r6 | {'CWE-787'} | 2.5 | {'https://github.com/tensorflow/tensorflow/commit/3f6fe4dfef6f57e768260b48166c27d148f3015f'} | osv | Heap OOB access in `Dilation2DBackpropInput` ### Impact
An attacker can write outside the bounds of heap allocated arrays by passing invalid arguments to `tf.raw_ops.Dilation2DBackpropInput`:
```python
import tensorflow as tf
input_tensor = tf.constant([1.1] * 81, shape=[3, 3, 3, 3], dtype=tf.float32)
filter = tf... | 2021-05-21 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/3f6fe4dfef6f57e768260b48166c27d148f3015f | 3f6fe4dfef6f57e768260b48166c27d148f3015f | SINGLE | ['3f6fe4dfef6f57e768260b48166c27d148f3015f'] | {'afd954e65f15aea4d438d0a219136fc4a63a573d'} | 3f6fe4dfef6f57e768260b48166c27d148f3015f | 1 | 05/05/2021, 01:33:28 | Add missing validations in dillation ops.
PiperOrigin-RevId: 372037158
Change-Id: I4ee304c84a02550c030288a6534000b934fc1599 | Mihai Maruseac | null | {'additions': 11, 'deletions': 4, 'total': 15} | [
{
"additions": 11,
"changes": 15,
"deletions": 4,
"patch": "@@ -130,6 +130,7 @@ class DilationOp : public OpKernel {\n ParseSizes(context, strides_, rates_, padding_, &stride_rows, &stride_cols,\n &rate_rows, &rate_cols, &pad_top, &pad_left, &out_rows,\n &out_cols);... | cc | CWE-787 | [
"tensorflow/core/kernels/dilation_ops.cc"
] | tensorflow/core/kernels/dilation_ops.cc | 1 |
app.use((req, res, next) => { next(); }); app.get("/health", (req, res) => res.sendStatus(200)); const handler = (res, params) => { const handler = (res, params) => { app.get("/", (req, res) => handler(res, req.query)); app.post("/", (req, res) => handler(res, req.body)); app.get("/dynamic", (req, res) => handl... | app.use((req, res, next) => { next(); }); function htmlEscape(text) { return text.replace(/&/g, '&'). replace(/</g, '<'). replace(/"/g, '"'). replace(/'/g, '''); } function sanitize(params) { result = {} for (let [key, value] of Object.entries(params)) { result[key] = htmlEscap... | GHSA-pxcf-v868-m492 | {'CWE-74', 'CWE-79'} | 7.6 | {'https://github.com/jperelli/osm-static-maps/commit/97355d29e08753d1cfe99b1281dbaa06f4e651b0'} | osv | Injection and Cross-site Scripting in osm-static-maps This affects all versions of package osm-static-maps under 3.9.0. User input given to the package is passed directly to a template without escaping ({{{ ... }}}). As such, it is possible for an attacker to inject arbitrary HTML/JS code and depending on the context. ... | 2021-05-10 | 1 | https://github.com/jperelli/osm-static-maps | https://github.com/jperelli/osm-static-maps/commit/97355d29e08753d1cfe99b1281dbaa06f4e651b0 | 97355d29e08753d1cfe99b1281dbaa06f4e651b0 | SINGLE | ['97355d29e08753d1cfe99b1281dbaa06f4e651b0'] | {'6bce2e2a8dd4cbbbbe083820e494ba858be74b16'} | 97355d29e08753d1cfe99b1281dbaa06f4e651b0 | 1 | 10/11/2020, 23:25:42 | fix: escape special characters before insertion to template | snoopysecurity | null | {'additions': 25, 'deletions': 6, 'total': 31} | [
{
"additions": 25,
"changes": 31,
"deletions": 6,
"patch": "@@ -19,6 +19,23 @@ app.use((req, res, next) => {\n next();\n });\n \n+\n+function htmlEscape(text) {\n+ return text.replace(/&/g, '&').\n+ replace(/</g, '<').\n+ replace(/\"/g, '"').\n+ replace(/'/g, ''');\n+}\n+\n+\n... | js | CWE-79 | [
"src/server.js"
] | src/server.js | 1 |
Tagify.prototype = { _s.disabled = input.hasAttribute('disabled') _s.readonly = _s.readonly || input.hasAttribute('readonly') _s.placeholder = input.getAttribute('placeholder') || _s.placeholder || "" _s.required = input.hasAttribute('required') for( let name in _s.classNames ... | Tagify.prototype = { _s.disabled = input.hasAttribute('disabled') _s.readonly = _s.readonly || input.hasAttribute('readonly') _s.placeholder = escapeHTML(input.getAttribute('placeholder') || _s.placeholder || "") _s.required = input.hasAttribute('required') for( let name in _s... | GHSA-pxpf-v376-7xx5 | {'CWE-79'} | 6.1 | {'https://github.com/yairEO/tagify/commit/198c0451fad188390390395ccfc84ab371def4c7'} | osv | tagify can pass a malicious placeholder to initiate the cross-site scripting (XSS) payload This affects the package @yaireo/tagify before 4.9.8. The package is used for rendering UI components inside the input or text fields, and an attacker can pass a malicious placeholder value to it to fire the cross-site scripting ... | 2022-04-30 | 1 | https://github.com/yairEO/tagify | https://github.com/yairEO/tagify/commit/198c0451fad188390390395ccfc84ab371def4c7 | 198c0451fad188390390395ccfc84ab371def4c7 | SINGLE | ['198c0451fad188390390395ccfc84ab371def4c7'] | {'93f729c6d1bf45666a1dc21d5cae3aefe1b18043'} | 198c0451fad188390390395ccfc84ab371def4c7 | 1 | 02/17/2022, 08:16:09 | fixes #989 - fix XSS | Yair Even Or | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -101,7 +101,7 @@ Tagify.prototype = {\n \n _s.disabled = input.hasAttribute('disabled')\n _s.readonly = _s.readonly || input.hasAttribute('readonly')\n- _s.placeholder = input.getAttribute('placeholder') || _s.placeh... | js | CWE-79 | [
"src/tagify.js"
] | src/tagify.js | 1 |
limitations under the License. #include "tensorflow/core/lib/gtl/inlined_vector.h" #include "tensorflow/core/lib/strings/scanner.h" #include "tensorflow/core/lib/strings/str_util.h" #include "tensorflow/core/platform/logging.h" #include "tensorflow/core/platform/macros.h" #include "tensorflow/core/public/version.h" vo... | limitations under the License. #include "tensorflow/core/lib/gtl/inlined_vector.h" #include "tensorflow/core/lib/strings/scanner.h" #include "tensorflow/core/lib/strings/str_util.h" #include "tensorflow/core/platform/errors.h" #include "tensorflow/core/platform/logging.h" #include "tensorflow/core/platform/macros.h" #... | GHSA-q263-fvxm-m5mw | {'CWE-908', 'CWE-125'} | 4.4 | {'https://github.com/tensorflow/tensorflow/commit/0cc38aaa4064fd9e79101994ce9872c6d91f816b'} | osv | Heap out of bounds access in MakeEdge in TensorFlow ### Impact
Under certain cases, loading a saved model can result in accessing uninitialized memory while building the computation graph. The [`MakeEdge` function](https://github.com/tensorflow/tensorflow/blob/3616708cb866365301d8e67b43b32b46d94b08a0/tensorflow/core/co... | 2020-12-10 | 1 | https://github.com/tensorflow/tensorflow | https://github.com/tensorflow/tensorflow/commit/0cc38aaa4064fd9e79101994ce9872c6d91f816b | 0cc38aaa4064fd9e79101994ce9872c6d91f816b | SINGLE | ['0cc38aaa4064fd9e79101994ce9872c6d91f816b'] | {'3616708cb866365301d8e67b43b32b46d94b08a0'} | 0cc38aaa4064fd9e79101994ce9872c6d91f816b | 1 | 12/08/2020, 17:31:57 | Prevent unitialized memory access in `GraphConstructor::MakeEdge`
The `MakeEdge` implementation assumes that there exists an output at `output_index` of `src` node and an input at `input_index` of `dst` node. However, if this is not the case this results in accessing data out of bounds. Because we are accessing an arr... | Mihai Maruseac | null | {'additions': 12, 'deletions': 0, 'total': 12} | [
{
"additions": 12,
"changes": 12,
"deletions": 0,
"patch": "@@ -44,6 +44,7 @@ limitations under the License.\n #include \"tensorflow/core/lib/gtl/inlined_vector.h\"\n #include \"tensorflow/core/lib/strings/scanner.h\"\n #include \"tensorflow/core/lib/strings/str_util.h\"\n+#include \"tensorflow/core... | cc | CWE-125 | [
"tensorflow/core/common_runtime/graph_constructor.cc"
] | tensorflow/core/common_runtime/graph_constructor.cc | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.