Merge pull request #3672 from pikpikcu/patch-321

Create CVE-2022-0432
patch-1
Prince Chaddha 2022-02-10 01:10:52 +05:30 committed by GitHub
commit c065716a94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,28 @@
id: CVE-2022-0432
info:
name: CVE-2022-0432
author: pikpikcu
severity: medium
description: Prototype Pollution in GitHub repository mastodon/mastodon prior to 3.5.0.
reference:
- https://github.com/mastodon/mastodon/commit/4d6d4b43c6186a13e67b92eaf70fe1b70ea24a09
- https://drive.google.com/file/d/1vpZ0CcmFhTEUasLTPUBf8o-4l7G6ojtG/view
- https://nvd.nist.gov/vuln/detail/CVE-2022-0432
tags: cve,cve2022,mastodon,prototype
requests:
- method: GET
path:
- '{{BaseURL}}/embed.js'
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
part: body
words:
- "if (data.type !== 'setHeight' || !iframes[data.id]) {"