Erik Krogh Kristensen
4fa33b151f
Merge pull request #5146 from github/more-redos-tests
...
JS: add two non ReDoS regular expressions to the ReDoS test suite
2021-02-12 18:56:52 +01:00
CodeQL CI
179a7a89dd
Merge pull request #5098 from erik-krogh/xml2js
...
Approved by asgerf
2021-02-12 09:22:40 -08:00
Chris Smowton
402f20c5e2
Merge pull request #5154 from smowton/smowton/admin/deprecate-old-maven-predicate-names
...
Java: Re-introduce deprecated versions of old Maven predicate names
2021-02-12 17:22:05 +00:00
Chris Smowton
80978c7c35
Merge pull request #5153 from smowton/smowton/admin/move-misplaced-experimental-query
...
Move misplaced experimental query into the conventional directory
2021-02-12 17:21:57 +00:00
Anders Schack-Mulligen
085286ab58
Merge pull request #5135 from pwntester/guava_preconditions
...
Add support for the Preconditions Class in the Guava framework
2021-02-12 14:15:17 +01:00
Chris Smowton
655cfb3a47
Re-introduce deprecated versions of old Maven predicate names
2021-02-12 12:24:19 +00:00
Chris Smowton
97df60f9d6
Move misplaced experimental query into the conventional directory
2021-02-12 12:12:16 +00:00
Chris Smowton
942ae7ef47
Merge pull request #5142 from Marcono1234/marcono1234/maven-pom-improvements
...
Java: Improve MavenPom documentation, rename inconsistent predicates
2021-02-12 11:52:19 +00:00
Marcono1234
e89891fa1f
Address review comments
2021-02-12 01:30:47 +01:00
Erik Krogh Kristensen
d14586de56
add two non ReDoS regular expressions to the ReDoS test suite
...
Adds the regular expression from #5145
2021-02-11 14:41:45 +01:00
Erik Krogh Kristensen
3ee0029cd8
Update javascript/change-notes/2021-02-08-xml-parser-taint.md
...
Co-authored-by: Asger F <asgerf@github.com >
2021-02-11 13:33:42 +01:00
CodeQL CI
02578cfff2
Merge pull request #5112 from erik-krogh/forms
...
Approved by asgerf
2021-02-11 04:32:14 -08:00
Marcono1234
2a1c11b517
Improve MavenPom documentation, rename inconsistent predicates
2021-02-10 23:56:45 +01:00
Anders Schack-Mulligen
b74911204a
Merge pull request #4945 from intrigus-lgtm/java/insecure-jxbrowser
...
Java: Insecure JXBrowser
2021-02-10 15:48:17 +01:00
Erik Krogh Kristensen
91f7d33044
add change note
2021-02-10 14:17:49 +01:00
Erik Krogh Kristensen
101d4358a9
detect DOM nodes from event callbacks
2021-02-10 14:17:49 +01:00
Erik Krogh Kristensen
be9636491b
add source for react-hook-form in xss-through-dom
2021-02-10 14:17:49 +01:00
Erik Krogh Kristensen
65d93c9061
detect for DOM elements from DOM events in React
2021-02-10 14:17:49 +01:00
Erik Krogh Kristensen
458dda9d25
add xss-through-dom source from react-final-form
2021-02-10 14:17:49 +01:00
Erik Krogh Kristensen
ff3950ce98
add model for formik
2021-02-10 14:17:49 +01:00
Erik Krogh Kristensen
d1087d4e41
move sources from XssThroughDom into a customizations file
2021-02-10 14:17:49 +01:00
Erik Krogh Kristensen
4969a1ef4f
add change note
2021-02-10 14:16:31 +01:00
Erik Krogh Kristensen
0ca2310594
add model for htmlparser2
2021-02-10 14:16:31 +01:00
Erik Krogh Kristensen
e2a66bf3ed
add model for xml-js
2021-02-10 14:16:31 +01:00
Erik Krogh Kristensen
73f7cd149f
add model for sax
2021-02-10 14:16:31 +01:00
Erik Krogh Kristensen
c43025d7b3
add model for xml2js
2021-02-10 14:16:30 +01:00
Erik Krogh Kristensen
44ca2e26a6
add taint-step to XML parsers
2021-02-10 14:16:08 +01:00
intrigus
5c82ff83de
Java: Fix qhelp, fix CWE reference
2021-02-10 13:57:51 +01:00
Alvaro Muñoz
645b021845
Add support for the Preconditions Class in the Guava framework
2021-02-10 13:20:29 +01:00
Shati Patel
18225fa254
Merge pull request #4997 from github/shati-patel/cwe-coverage-docs
...
Docs: Add outline for CWE coverage page
2021-02-10 11:45:09 +00:00
Anders Schack-Mulligen
66d0bf6b5e
Merge pull request #5128 from hvitved/dataflow/exploration-clears-content
...
Data flow: Take `clearsContent()` into account in flow exploration
2021-02-10 11:52:24 +01:00
yoff
9930d59aca
Merge pull request #5124 from RasmusWL/typetracking-with-decorator
...
Python: Add test for type-tracking through decorators
2021-02-10 09:34:54 +01:00
Tom Hvitved
1f9b42f9ab
Data flow: Sync files
2021-02-09 20:10:23 +01:00
Tom Hvitved
e5970f4c65
Data flow: Take clearsContent() into account in flow exploration
2021-02-09 20:09:24 +01:00
Alexander Eyers-Taylor
1c43505d30
Merge pull request #5121 from alexet/fix-js-jdoc
...
Javascript Extractor: Update <tt> tages to <code>
2021-02-09 13:07:19 +00:00
CodeQL CI
475d216f8e
Merge pull request #5087 from erik-krogh/immutable
...
Approved by asgerf
2021-02-09 12:43:19 +00:00
Rasmus Wriedt Larsen
1d25184b32
Python: Add test for type-tracking through decorators
...
In general, if there is _some_ decorator on a function, it might not be safe to
track content out of it (since the decorator could do anything), but in this
case, we can see what the decorator does, so we should be able to handle it (but
we don't right now).
By my understanding of how type-tracking works, if we track content through
`my_decorator`, then we would also track content to the result of
`unrelated_func()`, which I wanted to make sure our tests would catch.
I found out the core of the problem seems to come from our lack of being able to
track to the inner scope, and added an explicit test for that.
2021-02-09 13:43:10 +01:00
alexet
8dd5a7e7c7
Javascript Extractor: Update <tt> tages to <code>
2021-02-09 12:10:09 +00:00
Alexander Eyers-Taylor
bed10ad562
Merge pull request #5113 from github/alexet/fix-var-decls-spec
...
Update the language specification to allow empty var_decls
2021-02-09 11:08:23 +00:00
Alexander Eyers-Taylor
7583904046
Update the language specification to allow empty var_decls
...
This is a degenerate form that is accepted in the compiler even if they don't make much sense.
Fixes #5060
2021-02-08 18:54:13 +00:00
CodeQL CI
8a2e063af7
Merge pull request #5107 from asgerf/js/json-in-script-tag
...
Approved by erik-krogh
codeql-cli/v2.4.4
2021-02-08 09:52:53 +00:00
Erik Krogh Kristensen
504db8739d
fix typo in execa change-note file name
2021-02-08 10:00:26 +01:00
Erik Krogh Kristensen
8ca75e41d2
add change note
2021-02-08 09:59:45 +01:00
intrigus
2e30f2d9ce
Java: Fix QHelp & accept test output
...
Accept test output for changed alert message.
2021-02-08 00:05:02 +01:00
Jonas Jensen
7859c5234a
Merge pull request #5085 from geoffw0/msprintf2
...
C++: Fix FormattingFunction regression.
2021-02-06 16:06:35 +01:00
yoff
f1a0ec2dec
Merge pull request #4981 from RasmusWL/port-url-redirect-query
...
Python: Port url redirect query
2021-02-06 00:39:10 +01:00
yoff
ddd362bc16
Update python/ql/src/semmle/python/frameworks/Django.qll
...
Co-authored-by: Rasmus Wriedt Larsen <rasmuswl@github.com >
2021-02-05 23:31:20 +01:00
Asger Feldthaus
0ceb8aa638
JS: Bump extractor version
2021-02-05 21:55:43 +00:00
Asger Feldthaus
236b7c5887
JS: Tolerate JSON in script tags
2021-02-05 21:54:50 +00:00
Alexander Eyers-Taylor
9af99f195e
Merge pull request #5095 from alexet/imporve-js-perf
...
Javascript: Improve performance of ExplicitInvokeNode::getArgument
2021-02-05 18:49:03 +00:00