[CVE] Handle invalid query, index and date in vega charts filter handlers#1932
Merged
ananzh merged 3 commits intoopensearch-project:mainfrom Jul 28, 2022
Merged
Conversation
…lers Potential way to prevent XSS vulnerability discovered in the Vega charts OSD integration. CVE link: https://nvd.nist.gov/vuln/detail/CVE-2022-23713 Signed-off-by: Bandini Bhopi <bandinib@amazon.com>
kavilla
reviewed
Jul 24, 2022
Signed-off-by: Bandini Bhopi <bandinib@amazon.com>
Codecov Report
@@ Coverage Diff @@
## main #1932 +/- ##
==========================================
+ Coverage 67.48% 67.50% +0.01%
==========================================
Files 3076 3077 +1
Lines 59144 59184 +40
Branches 8989 9003 +14
==========================================
+ Hits 39915 39953 +38
- Misses 17044 17045 +1
- Partials 2185 2186 +1
Help us with your feedback. Take ten seconds to tell us how you rate us. |
ZilongX
approved these changes
Jul 28, 2022
opensearch-trigger-bot bot
pushed a commit
that referenced
this pull request
Jul 28, 2022
…lers (#1932) * [CVE] Handle invalid query, index and date in vega charts filter handlers Potential way to prevent XSS vulnerability discovered in the Vega charts OSD integration. CVE link: https://nvd.nist.gov/vuln/detail/CVE-2022-23713 Signed-off-by: Bandini Bhopi <bandinib@amazon.com> * new license header for new files Signed-off-by: Bandini Bhopi <bandinib@amazon.com> Co-authored-by: Kawika Avilla <kavilla414@gmail.com> (cherry picked from commit 9496da3)
opensearch-trigger-bot bot
pushed a commit
that referenced
this pull request
Jul 28, 2022
…lers (#1932) * [CVE] Handle invalid query, index and date in vega charts filter handlers Potential way to prevent XSS vulnerability discovered in the Vega charts OSD integration. CVE link: https://nvd.nist.gov/vuln/detail/CVE-2022-23713 Signed-off-by: Bandini Bhopi <bandinib@amazon.com> * new license header for new files Signed-off-by: Bandini Bhopi <bandinib@amazon.com> Co-authored-by: Kawika Avilla <kavilla414@gmail.com> (cherry picked from commit 9496da3)
kavilla
pushed a commit
that referenced
this pull request
Jul 29, 2022
…lers (#1932) (#2002) * [CVE] Handle invalid query, index and date in vega charts filter handlers Potential way to prevent XSS vulnerability discovered in the Vega charts OSD integration. CVE link: https://nvd.nist.gov/vuln/detail/CVE-2022-23713 Signed-off-by: Bandini Bhopi <bandinib@amazon.com> * new license header for new files Signed-off-by: Bandini Bhopi <bandinib@amazon.com> Co-authored-by: Kawika Avilla <kavilla414@gmail.com> (cherry picked from commit 9496da3) Co-authored-by: Bandini <63824432+bandinib-amzn@users.noreply.github.com>
noCharger
pushed a commit
that referenced
this pull request
Aug 3, 2022
…lers (#1932) * [CVE] Handle invalid query, index and date in vega charts filter handlers Potential way to prevent XSS vulnerability discovered in the Vega charts OSD integration. CVE link: https://nvd.nist.gov/vuln/detail/CVE-2022-23713 Signed-off-by: Bandini Bhopi <bandinib@amazon.com> * new license header for new files Signed-off-by: Bandini Bhopi <bandinib@amazon.com> Co-authored-by: Kawika Avilla <kavilla414@gmail.com>
CPTNB
pushed a commit
to CPTNB/OpenSearch-Dashboards
that referenced
this pull request
Aug 8, 2022
…lers (opensearch-project#1932) * [CVE] Handle invalid query, index and date in vega charts filter handlers Potential way to prevent XSS vulnerability discovered in the Vega charts OSD integration. CVE link: https://nvd.nist.gov/vuln/detail/CVE-2022-23713 Signed-off-by: Bandini Bhopi <bandinib@amazon.com> * new license header for new files Signed-off-by: Bandini Bhopi <bandinib@amazon.com> Co-authored-by: Kawika Avilla <kavilla414@gmail.com>
opensearch-trigger-bot bot
pushed a commit
that referenced
this pull request
Aug 23, 2022
…lers (#1932) * [CVE] Handle invalid query, index and date in vega charts filter handlers Potential way to prevent XSS vulnerability discovered in the Vega charts OSD integration. CVE link: https://nvd.nist.gov/vuln/detail/CVE-2022-23713 Signed-off-by: Bandini Bhopi <bandinib@amazon.com> * new license header for new files Signed-off-by: Bandini Bhopi <bandinib@amazon.com> Co-authored-by: Kawika Avilla <kavilla414@gmail.com> (cherry picked from commit 9496da3)
ananzh
pushed a commit
that referenced
this pull request
Sep 7, 2022
…lers (#1932) (#2001) * [CVE] Handle invalid query, index and date in vega charts filter handlers Potential way to prevent XSS vulnerability discovered in the Vega charts OSD integration. CVE link: https://nvd.nist.gov/vuln/detail/CVE-2022-23713 Signed-off-by: Bandini Bhopi <bandinib@amazon.com> * new license header for new files Signed-off-by: Bandini Bhopi <bandinib@amazon.com> Co-authored-by: Kawika Avilla <kavilla414@gmail.com> (cherry picked from commit 9496da3) Co-authored-by: Bandini <63824432+bandinib-amzn@users.noreply.github.com>
kavilla
pushed a commit
that referenced
this pull request
Sep 12, 2022
…lers (#1932) (#2191) * [CVE] Handle invalid query, index and date in vega charts filter handlers Potential way to prevent XSS vulnerability discovered in the Vega charts OSD integration. CVE link: https://nvd.nist.gov/vuln/detail/CVE-2022-23713 Signed-off-by: Bandini Bhopi <bandinib@amazon.com> * new license header for new files Signed-off-by: Bandini Bhopi <bandinib@amazon.com> Co-authored-by: Kawika Avilla <kavilla414@gmail.com> (cherry picked from commit 9496da3) Co-authored-by: Bandini <63824432+bandinib-amzn@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Potential way to prevent XSS vulnerability discovered in the Vega charts OSD integration.
CVE link:
https://nvd.nist.gov/vuln/detail/CVE-2022-23713
Signed-off-by: Bandini Bhopi bandinib@amazon.com
Testing:
Sanity testing by creating Vega visualization from Vega Example Gallery
Check List
yarn test:jestyarn test:jest_integrationyarn test:ftr