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
async def ip(ctx , *, argument): @Client.command() async def dirsearch(ctx , *, argument): Path = TOOLS['dirsearch']; MainPath = getcwd(); chdir(Path) await ctx.send(f"**Running Your Dirsearch Scan, We Will Send The Results When It's Done**") Process = subprocess.Popen(f'python3 dirsearch.py -u {argument}...
async def ip(ctx , *, argument): @Client.command() async def dirsearch(ctx , *, argument): if not CommandInjection.commandInjection(argument=argument , RCE=RCE): await ctx.send("**Your Command Contains Unallowed Chars. Don't Try To Use It Again.**") return Path = TOOLS['dirsearch']; MainP...
CVE-2021-21433
{'CWE-94'}
6.4
{'https://github.com/DEMON1A/Discord-Recon/commit/26e2a084679679cccdeeabbb6889ce120eff7e50'}
nvd
Discord Recon Server is a bot that allows you to do your reconnaissance process from your Discord. Remote code execution in version 0.0.1 would allow remote users to execute commands on the server resulting in serious issues. This flaw is patched in 0.0.2.
2021-04-09
1
https://github.com/DEMON1A/Discord-Recon
https://github.com/DEMON1A/Discord-Recon/commit/26e2a084679679cccdeeabbb6889ce120eff7e50
26e2a084679679cccdeeabbb6889ce120eff7e50
SINGLE
['26e2a084679679cccdeeabbb6889ce120eff7e50']
{'a6996fb801df313173453084525cdb3973a89c0b'}
26e2a084679679cccdeeabbb6889ce120eff7e50
1
02/25/2021, 10:32:33
Fixing Command Injection Issues.
Mohamed Dief
null
{'additions': 8, 'deletions': 0, 'total': 8}
[ { "additions": 8, "changes": 8, "deletions": 0, "patch": "@@ -95,6 +95,10 @@ async def ip(ctx , *, argument):\n \n @Client.command()\n async def dirsearch(ctx , *, argument):\n+ if not CommandInjection.commandInjection(argument=argument , RCE=RCE):\n+ await ctx.send(\"**Your Command Contai...
py
CWE-94
[ "app.py" ]
app.py
1
extern "C" int64_t enc_untrusted_syscall(int sysno, ...) { // Copy outputs back into pointer parameters. auto response_reader = asylo::system_call::MessageReader({response_buffer, response_size}); const asylo::primitives::PrimitiveStatus response_status = response_reader.Validate(); if (!response_s...
extern "C" int64_t enc_untrusted_syscall(int sysno, ...) { // Copy outputs back into pointer parameters. auto response_reader = asylo::system_call::MessageReader({response_buffer, response_size}); if (response_reader.sysno() != sysno) { error_handler("system_call.cc: Unexpected sysno in response"); }...
CVE-2021-22552
{'CWE-125'}
2.9
{'https://github.com/google/asylo/commit/90d7619e9dd99bcdb6cd28c7649d741d254d9a1a'}
nvd
An untrusted memory read vulnerability in Asylo versions up to 0.6.1 allows an untrusted attacker to pass a syscall number in MessageReader that is then used by sysno() and can bypass validation. This can allow the attacker to read memory from within the secure enclave. We recommend updating to Asylo 0.6.3 or past http...
2021-08-02
1
https://github.com/google/asylo
https://github.com/google/asylo/commit/90d7619e9dd99bcdb6cd28c7649d741d254d9a1a
90d7619e9dd99bcdb6cd28c7649d741d254d9a1a
SINGLE
['90d7619e9dd99bcdb6cd28c7649d741d254d9a1a']
{'b0413b7e1babb149a0467b924437b7cdc5313e57'}
90d7619e9dd99bcdb6cd28c7649d741d254d9a1a
1
06/03/2021, 18:02:29
Add sysno check in MessageReader The sysno in MessageReader is interpreted from the Message header passed from the host. A malicious Message header may provide a modified sysno to bypass the validation, and overwrites enclave memory. This change adds a check for sysno to make sure it matches the expected value. This ...
Chong Cai
null
{'additions': 3, 'deletions': 0, 'total': 3}
[ { "additions": 3, "changes": 3, "deletions": 0, "patch": "@@ -115,6 +115,9 @@ extern \"C\" int64_t enc_untrusted_syscall(int sysno, ...) {\n // Copy outputs back into pointer parameters.\n auto response_reader =\n asylo::system_call::MessageReader({response_buffer, response_size});\n+ if ...
cc
CWE-125
[ "asylo/platform/system_call/system_call.cc" ]
asylo/platform/system_call/system_call.cc
1
{/if} <!--rows-{$status}-start--> {if !empty($topPager->links)} <span id="page-{$status}" class="hide">{$page}</span> <div class="tableWrapper topPagerContainer clearfix"> <div class="pager topPager"> {$topPager->links} </div> </div> {/if} <table id="zones-{$status}" class="zones new-table tableWrapper"> <...
{/if} <!--rows-{$status|escape}-start--> {if !empty($topPager->links)} <span id="page-{$status|escape}" class="hide">{$page}</span> <div class="tableWrapper topPagerContainer clearfix"> <div class="pager topPager"> {$topPager->links} </div> </div> {/if} <table id="zones-{$status|escape}" class="zones new-tab...
CVE-2021-22888
{'CWE-79'}
2.9
{'https://github.com/revive-adserver/revive-adserver/commit/f472d890c6e46d9ba4c1863435af35bf5b9f619a'}
nvd
Revive Adserver before v5.2.0 is vulnerable to a reflected XSS vulnerability in the `status` parameter of campaign-zone-zones.php. An attacker could trick a user with access to the user interface of a Revive Adserver instance into clicking on a specifically crafted URL and execute injected JavaScript code.
2021-03-25
1
https://github.com/revive-adserver/revive-adserver
https://github.com/revive-adserver/revive-adserver/commit/f472d890c6e46d9ba4c1863435af35bf5b9f619a
f472d890c6e46d9ba4c1863435af35bf5b9f619a
SINGLE
['f472d890c6e46d9ba4c1863435af35bf5b9f619a']
{'2f868414190e69322716ea7667f7336f291c3cf2'}
f472d890c6e46d9ba4c1863435af35bf5b9f619a
1
03/05/2021, 14:28:12
Fix h1 report 1097979
Matteo Beccati
null
{'additions': 11, 'deletions': 11, 'total': 22}
[ { "additions": 11, "changes": 22, "deletions": 11, "patch": "@@ -16,19 +16,19 @@\n {/if}\n \n \n-<!--rows-{$status}-start-->\n+<!--rows-{$status|escape}-start-->\n {if !empty($topPager->links)}\n-<span id=\"page-{$status}\" class=\"hide\">{$page}</span>\n+<span id=\"page-{$status|escape}\" class=\"h...
html
CWE-79
[ "lib/templates/admin/campaign-zone-zones.html" ]
lib/templates/admin/campaign-zone-zones.html
1
function _loadStatsBreakdownParam() */ function _loadPeriodPresetParam() { $this->aPageParams['statsBreakdown'] = htmlspecialchars(MAX_getStoredValue('statsBreakdown', 'day')); $this->statsBreakdown = $this->aPageParams['statsBreakdown']; }
function _loadStatsBreakdownParam() */ function _loadPeriodPresetParam() { $this->aPageParams['statsBreakdown'] = htmlspecialchars(MAX_getStoredValue('statsBreakdown', 'day'), ENT_QUOTES); $this->statsBreakdown = $this->aPageParams['statsBreakdown']; }
CVE-2021-22889
{'CWE-79'}
2.9
{'https://github.com/revive-adserver/revive-adserver/commit/2f868414190e69322716ea7667f7336f291c3cf2'}
nvd
Revive Adserver before v5.2.0 is vulnerable to a reflected XSS vulnerability in the `statsBreakdown` parameter of stats.php (and possibly other scripts) due to single quotes not being escaped. An attacker could trick a user with access to the user interface of a Revive Adserver instance into clicking on a specifically ...
2021-03-25
1
https://github.com/revive-adserver/revive-adserver
https://github.com/revive-adserver/revive-adserver/commit/2f868414190e69322716ea7667f7336f291c3cf2
2f868414190e69322716ea7667f7336f291c3cf2
SINGLE
['2f868414190e69322716ea7667f7336f291c3cf2']
{'071f227c2b4d5eca2254caec6f6d26686cbc4418'}
2f868414190e69322716ea7667f7336f291c3cf2
1
03/05/2021, 14:27:40
Fix h1 report 1097217
Matteo Beccati
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -1230,7 +1230,7 @@ function _loadStatsBreakdownParam()\n */\n function _loadPeriodPresetParam()\n {\n- $this->aPageParams['statsBreakdown'] = htmlspecialchars(MAX_getStoredValue('statsBreakdown', 'day'));\n+ $thi...
php
CWE-79
[ "lib/OA/Admin/Statistics/Common.php" ]
lib/OA/Admin/Statistics/Common.php
1
#include <cassert> #include <cstdint> #include <cstdlib> #include <stdexcept> #include <folly/Conv.h> #include <folly/hash/SpookyHashV2.h> #include <folly/io/Cursor.h> #include <folly/lang/Align.h> #include <folly/lang/Exception.h> #include <folly/memory/Malloc.h> #include <folly/memory/SanitizeAddress.h> enum : std:...
#include <cassert> #include <cstdint> #include <cstdlib> #include <limits> #include <stdexcept> #include <folly/Conv.h> #include <folly/hash/SpookyHashV2.h> #include <folly/io/Cursor.h> #include <folly/lang/Align.h> #include <folly/lang/CheckedMath.h> #include <folly/lang/Exception.h> #include <folly/memory/Malloc.h>...
CVE-2021-24036
{'CWE-787'}
6.4
{'https://github.com/facebook/folly/commit/4f304af1411e68851bdd00ef6140e9de4616f7d3'}
nvd
Passing an attacker controlled size when creating an IOBuf could cause integer overflow, leading to an out of bounds write on the heap with the possibility of remote code execution. This issue affects versions of folly prior to v2021.07.22.00. This issue affects HHVM versions prior to 4.80.5, all versions between 4.81....
2021-07-23
1
https://github.com/facebook/folly
https://github.com/facebook/folly/commit/4f304af1411e68851bdd00ef6140e9de4616f7d3
4f304af1411e68851bdd00ef6140e9de4616f7d3
SINGLE
['4f304af1411e68851bdd00ef6140e9de4616f7d3']
{'bb79a9beefc76173027ea81db10ccdfe16a8993b'}
4f304af1411e68851bdd00ef6140e9de4616f7d3
1
07/20/2021, 16:06:10
[folly] Add additional overflow checks to IOBuf - CVE-2021-24036 Summary: As per title CVE-2021-24036 Reviewed By: jan Differential Revision: D27938605 fbshipit-source-id: 7481c54ae6fbb7b67b15b3631d5357c2f7043f9c
Orvid
null
{'additions': 34, 'deletions': 3, 'total': 37}
[ { "additions": 34, "changes": 37, "deletions": 3, "patch": "@@ -23,6 +23,7 @@\n #include <cassert>\n #include <cstdint>\n #include <cstdlib>\n+#include <limits>\n #include <stdexcept>\n \n #include <folly/Conv.h>\n@@ -32,6 +33,7 @@\n #include <folly/hash/SpookyHashV2.h>\n #include <folly/io/Cursor.h...
cpp
CWE-787
[ "folly/io/IOBuf.cpp" ]
folly/io/IOBuf.cpp
1
public String controllerBasePath() { public void setupRoutes() { path(controllerBasePath(), () -> { before("", mimeType, this::setContentType); // change the line below to enable appropriate security before("", mimeType, this.apiAuthenticationHelper::checkAdminUserAnd4...
public String controllerBasePath() { public void setupRoutes() { path(controllerBasePath(), () -> { before("", mimeType, this::setContentType); before("/*", mimeType, this::setContentType); before("", mimeType, this::verifyContentType); before("/*", mimeType,...
CVE-2021-25924
{'CWE-352'}
10
{'https://github.com/gocd/gocd/commit/7d0baab0d361c377af84994f95ba76c280048548'}
nvd
In GoCD, versions 19.6.0 to 21.1.0 are vulnerable to Cross-Site Request Forgery due to missing CSRF protection at the `/go/api/config/backup` endpoint. An attacker can trick a victim to click on a malicious link which could change backup configurations or execute system commands in the post_backup_script field.
2021-04-01
1
https://github.com/gocd/gocd
https://github.com/gocd/gocd/commit/7d0baab0d361c377af84994f95ba76c280048548
7d0baab0d361c377af84994f95ba76c280048548
SINGLE
['7d0baab0d361c377af84994f95ba76c280048548']
{'ae5618922e9249eb51349242f713a1f4f1e3f3fb'}
7d0baab0d361c377af84994f95ba76c280048548
1
02/19/2021, 10:46:02
#000 - Add missing Content-Type check
Aravind SV
null
{'additions': 3, 'deletions': 1, 'total': 4}
[ { "additions": 3, "changes": 4, "deletions": 1, "patch": "@@ -65,7 +65,9 @@ public String controllerBasePath() {\n public void setupRoutes() {\n path(controllerBasePath(), () -> {\n before(\"\", mimeType, this::setContentType);\n-\n+ before(\"/*\", mimeType, this::...
java
CWE-352
[ "api/api-backup-config-v1/src/main/java/com/thoughtworks/go/apiv1/backupconfig/BackupConfigControllerV1.java" ]
api/api-backup-config-v1/src/main/java/com/thoughtworks/go/apiv1/backupconfig/BackupConfigControllerV1.java
1
// @flow import axios from 'axios'; import renderHTML from 'react-render-html'; const randomString = () => Math.random() .toString(36) const getPusher = () => { const renderContent = (content: string | any) => { if (typeof content === 'string') { return renderHTML(content); } return content; };
// @flow import axios from 'axios'; import renderHTML from 'react-render-html'; import { sanitize } from 'dompurify'; const randomString = () => Math.random() .toString(36) const getPusher = () => { const renderContent = (content: string | any) => { if (typeof content === 'string') { return renderHTML(saniti...
CVE-2021-25990
{'CWE-79'}
2.9
{'https://github.com/ifmeorg/ifme/commit/83fd44ef8921a8dcf394a012e44901ab08596bdc'}
nvd
In “ifme”, versions v7.22.0 to v7.31.4 are vulnerable against self-stored XSS in the contacts field as it allows loading XSS payloads fetched via an iframe.
2021-12-29
1
https://github.com/ifmeorg/ifme
https://github.com/ifmeorg/ifme/commit/83fd44ef8921a8dcf394a012e44901ab08596bdc
83fd44ef8921a8dcf394a012e44901ab08596bdc
SINGLE
['83fd44ef8921a8dcf394a012e44901ab08596bdc']
{'52df4c7adb64628b08ad3b61343c4268bc3600ce'}
83fd44ef8921a8dcf394a012e44901ab08596bdc
1
11/18/2021, 23:03:30
[#2052] Sanitize string content in renderContent
Julia Nguyen
null
{'additions': 2, 'deletions': 1, 'total': 3}
[ { "additions": 2, "changes": 3, "deletions": 1, "patch": "@@ -1,6 +1,7 @@\n // @flow\n import axios from 'axios';\n import renderHTML from 'react-render-html';\n+import { sanitize } from 'dompurify';\n \n const randomString = () => Math.random()\n .toString(36)\n@@ -34,7 +35,7 @@ const getPusher =...
js
CWE-79
[ "client/app/utils/index.js" ]
client/app/utils/index.js
1
]; Event::registerLog($logInfo); $type = isset($_REQUEST['type']) ? $_REQUEST['type'] : null; $interbreadcrumb[] = [ 'url' => api_get_path(WEB_CODE_PATH).'calendar/agenda_js.php?type='.Security::remove_XSS($type),
]; Event::registerLog($logInfo); $typeList = ['personal', 'course', 'admin', 'platform']; $type = isset($_REQUEST['type']) && in_array($_REQUEST['type'], $typeList, true) ? $_REQUEST['type'] : null; $interbreadcrumb[] = [ 'url' => api_get_path(WEB_CODE_PATH).'calendar/agenda_js.php?type='.Security::remove_XSS($t...
CVE-2021-26746
{'CWE-79'}
2.9
{'https://github.com/chamilo/chamilo-lms/commit/d939402d83bf68af5377b629883d8e5437d843ec'}
nvd
Chamilo 1.11.14 allows XSS via a main/calendar/agenda_list.php?type= URI.
2021-02-19
1
https://github.com/chamilo/chamilo-lms
https://github.com/chamilo/chamilo-lms/commit/d939402d83bf68af5377b629883d8e5437d843ec
d939402d83bf68af5377b629883d8e5437d843ec
SINGLE
['d939402d83bf68af5377b629883d8e5437d843ec']
{'33754fe29d8faac5fd041426b330c84866cb7629'}
d939402d83bf68af5377b629883d8e5437d843ec
1
01/27/2021, 07:55:52
Agenda: Fix type paremeter #security
Julio Montoya
null
{'additions': 2, 'deletions': 1, 'total': 3}
[ { "additions": 2, "changes": 3, "deletions": 1, "patch": "@@ -12,7 +12,8 @@\n ];\n Event::registerLog($logInfo);\n \n-$type = isset($_REQUEST['type']) ? $_REQUEST['type'] : null;\n+$typeList = ['personal', 'course', 'admin', 'platform'];\n+$type = isset($_REQUEST['type']) && in_array($_REQUEST['type...
php
CWE-79
[ "main/calendar/agenda_list.php" ]
main/calendar/agenda_list.php
1
public function filterCollectionsForm($request, $htmlPurifierFilter = null) $request->setPost($post); } /** * Purify all of the data in the theme settings *
public function filterCollectionsForm($request, $htmlPurifierFilter = null) $request->setPost($post); } /** * Filter the Files form post, including the 'Elements' array of the POST. * * @param Zend_Controller_Request_Abstract $request * @param Omeka_Filter_HtmlPurifier $htmlPurifie...
CVE-2021-26799
{'CWE-79'}
2.9
{'https://github.com/omeka/Omeka/commit/08bfdf470e234edb68e5307a2fef8c899d89256c'}
nvd
Cross Site Scripting (XSS) vulnerability in admin/files/edit in Omeka Classic <=2.7 allows remote attackers to inject arbitrary web script or HTML.
2021-07-23
1
https://github.com/omeka/Omeka
https://github.com/omeka/Omeka/commit/08bfdf470e234edb68e5307a2fef8c899d89256c
08bfdf470e234edb68e5307a2fef8c899d89256c
SINGLE
['08bfdf470e234edb68e5307a2fef8c899d89256c']
{'88f26bc2f0242f812be86c50ac83fcc32a42a9e2'}
08bfdf470e234edb68e5307a2fef8c899d89256c
1
02/03/2021, 18:27:12
Apply HTML filtering to files form (fix #935)
John Flatness
null
{'additions': 18, 'deletions': 0, 'total': 18}
[ { "additions": 18, "changes": 18, "deletions": 0, "patch": "@@ -106,6 +106,24 @@ public function filterCollectionsForm($request, $htmlPurifierFilter = null)\n $request->setPost($post);\n }\n \n+ /**\n+ * Filter the Files form post, including the 'Elements' array of the POST.\n+ ...
php
CWE-79
[ "application/libraries/Omeka/Controller/Plugin/HtmlPurifier.php" ]
application/libraries/Omeka/Controller/Plugin/HtmlPurifier.php
1
function mycode_parse_email($email, $name="") { $name = $email; } if(preg_match("/^([a-zA-Z0-9-_\+\.]+?)@[a-zA-Z0-9-]+\.[a-zA-Z0-9\.-]+$/si", $email)) { $email = $email; } elseif(preg_match("/^([a-zA-Z0-9-_\+\.]+?)@[a-zA-Z0-9-]+\.[a-zA-Z0-9\.-]+\?(.*?)$/si", $email)) { $email = htmlspecialchars_...
function mycode_parse_email($email, $name="") { $name = $email; } $email = $this->encode_url($email); eval("\$mycode_email = \"".$templates->get("mycode_email", 1, 0)."\";"); return $mycode_email;
CVE-2021-27279
{'CWE-79'}
2.9
{'https://github.com/mybb/mybb/commit/cb781b49116bf5c4d8deca3e17498122b701677a'}
nvd
MyBB before 1.8.25 allows stored XSS via nested [email] tags with MyCode (aka BBCode).
2021-02-22
1
https://github.com/mybb/mybb
https://github.com/mybb/mybb/commit/cb781b49116bf5c4d8deca3e17498122b701677a
cb781b49116bf5c4d8deca3e17498122b701677a
SINGLE
['cb781b49116bf5c4d8deca3e17498122b701677a']
{'5fe63c81a0a6373d8f7bfd5c78311ee9977cf72d'}
cb781b49116bf5c4d8deca3e17498122b701677a
1
02/22/2021, 16:42:36
Fix Nested Email MyCode Persistent XSS
Tomasz Mlynski
null
{'additions': 2, 'deletions': 8, 'total': 10}
[ { "additions": 2, "changes": 10, "deletions": 8, "patch": "@@ -1347,14 +1347,8 @@ function mycode_parse_email($email, $name=\"\")\n \t\t{\n \t\t\t$name = $email;\n \t\t}\n-\t\tif(preg_match(\"/^([a-zA-Z0-9-_\\+\\.]+?)@[a-zA-Z0-9-]+\\.[a-zA-Z0-9\\.-]+$/si\", $email))\n-\t\t{\n-\t\t\t$email = $email;\...
php
CWE-79
[ "inc/class_parser.php" ]
inc/class_parser.php
1
static bool MR_primality_test(UnsignedBigInteger n, const Vector<UnsignedBigInte return n == 2; } for (auto a : tests) { // Technically: ASSERT(2 <= a && a <= n - 2) ASSERT(a < n); auto x = ModularPower(a, d, n);
static bool MR_primality_test(UnsignedBigInteger n, const Vector<UnsignedBigInte return n == 2; } for (auto& a : tests) { // Technically: ASSERT(2 <= a && a <= n - 2) ASSERT(a < n); auto x = ModularPower(a, d, n);
CVE-2021-27343
{'CWE-120'}
2.9
{'https://github.com/SerenityOS/serenity/commit/48fbf6a88d4822a1e5470cf08f29464511bd72c1'}
nvd
SerenityOS Unspecified is affected by: Buffer Overflow. The impact is: obtain sensitive information (context-dependent). The component is: /Userland/Libraries/LibCrypto/ASN1/DER.h Crypto::der_decode_sequence() function. The attack vector is: Parsing RSA Key ASN.1.
2021-04-06
1
https://github.com/SerenityOS/serenity
https://github.com/SerenityOS/serenity/commit/48fbf6a88d4822a1e5470cf08f29464511bd72c1
48fbf6a88d4822a1e5470cf08f29464511bd72c1
SINGLE
['48fbf6a88d4822a1e5470cf08f29464511bd72c1']
{'3fe7ac0924ada70faaf27636b6e0f40bcde24f77'}
48fbf6a88d4822a1e5470cf08f29464511bd72c1
1
02/14/2021, 11:22:18
LibCrypto: Don't copy the prime test candidates This was copying a bunch of bigints for no reason.
AnotherTest
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -258,7 +258,7 @@ static bool MR_primality_test(UnsignedBigInteger n, const Vector<UnsignedBigInte\n return n == 2;\n }\n \n- for (auto a : tests) {\n+ for (auto& a : tests) {\n // Technically: ASSERT(2 <= a && a <...
cpp
CWE-120
[ "Userland/Libraries/LibCrypto/NumberTheory/ModularFunctions.cpp" ]
Userland/Libraries/LibCrypto/NumberTheory/ModularFunctions.cpp
1
/* $OpenBSD: ssh-agent.c,v 1.276 2021/02/02 22:35:14 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland reaper(void) return (deadline - now); } static int parse_key_constraints(struct sshbuf *m, struct sshkey *k, time_t *deathp, u_int *second...
/* $OpenBSD: ssh-agent.c,v 1.277 2021/02/12 03:14:18 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland reaper(void) return (deadline - now); } static int parse_key_constraint_extension(struct sshbuf *m, char **sk_providerp) { char *ext_name = N...
CVE-2021-28041
{'CWE-415'}
6.4
{'https://github.com/openssh/openssh-portable/commit/e04fd6dde16de1cdc5a4d9946397ff60d96568db'}
nvd
ssh-agent in OpenSSH before 8.5 has a double free that may be relevant in a few less-common scenarios, such as unconstrained agent-socket access on a legacy operating system, or the forwarding of an agent to an attacker-controlled host.
2021-03-05
1
https://github.com/openssh/openssh-portable
https://github.com/openssh/openssh-portable/commit/e04fd6dde16de1cdc5a4d9946397ff60d96568db
e04fd6dde16de1cdc5a4d9946397ff60d96568db
SINGLE
['e04fd6dde16de1cdc5a4d9946397ff60d96568db']
{'1bb130ed34721d46452529d094d9bbf045607d79'}
e04fd6dde16de1cdc5a4d9946397ff60d96568db
1
02/12/2021, 03:14:18
upstream: factor SSH_AGENT_CONSTRAIN_EXTENSION parsing into its own function and remove an unused variable; ok dtucker@ OpenBSD-Commit-ID: e1a938657fbf7ef0ba5e73b30365734a0cc96559
djm@openbsd.org
{'com_1': {'author': 'chh13502', 'datetime': '01/10/2022, 03:07:36', 'body': 'Errrr...So what should i do to solve this problem? replace the file?'}, 'com_2': {'author': 'djmdjm', 'datetime': '01/10/2022, 03:14:11', 'body': "You haven't provided any context so I have no idea what you are talking about."}}
{'additions': 59, 'deletions': 41, 'total': 100}
[ { "additions": 59, "changes": 100, "deletions": 41, "patch": "@@ -1,4 +1,4 @@\n-/* $OpenBSD: ssh-agent.c,v 1.276 2021/02/02 22:35:14 djm Exp $ */\n+/* $OpenBSD: ssh-agent.c,v 1.277 2021/02/12 03:14:18 djm Exp $ */\n /*\n * Author: Tatu Ylonen <ylo@cs.hut.fi>\n * Copyright (c) 1995 Tatu Ylonen <ylo...
c
CWE-415
[ "ssh-agent.c" ]
ssh-agent.c
1
{ $mybb->input['comment'] = $feedback['comment']; eval('$comment_row = "'.$templates->get('ougcfeedback_form_comment', 1, 0).'";'); }
{ $mybb->input['comment'] = $feedback['comment']; $mybb->input['comment'] = htmlspecialchars_uni($mybb->input['comment']); eval('$comment_row = "'.$templates->get('ougcfeedback_form_comment', 1, 0).'";'); }
CVE-2021-28115
{'CWE-79'}
2.9
{'https://github.com/Sama34/OUGC-Feedback/pull/31/commits/ceef7c06359e5dcbaffe90a40884265c5754068c'}
nvd
The OUGC Feedback plugin before 1.8.23 for MyBB allows XSS via the comment field of feedback during an edit operation.
2021-03-09
1
https://github.com/Sama34/OUGC-Feedback
https://github.com/Sama34/OUGC-Feedback/pull/31/commits/ceef7c06359e5dcbaffe90a40884265c5754068c
ceef7c06359e5dcbaffe90a40884265c5754068c
SINGLE
['ceef7c06359e5dcbaffe90a40884265c5754068c']
{'1bdec80ece24704e6ada69786e19da9b4ccea59c'}
ceef7c06359e5dcbaffe90a40884265c5754068c
1
01/30/2021, 08:33:45
XSS on edit https://community.mybb.com/user-120436.html
Omar Gonzalez
null
{'additions': 2, 'deletions': 0, 'total': 2}
[ { "additions": 2, "changes": 2, "deletions": 0, "patch": "@@ -370,6 +370,8 @@\n \t{\n \t\t$mybb->input['comment'] = $feedback['comment'];\n \n+\t\t$mybb->input['comment'] = htmlspecialchars_uni($mybb->input['comment']);\n+\n \t\teval('$comment_row = \"'.$templates->get('ougcfeedback_form_comment', 1...
php
CWE-79
[ "Upload/feedback.php" ]
Upload/feedback.php
1
//session_start(); include($_SERVER['DOCUMENT_ROOT']."/inc/main.php"); // Check login_as feature
//session_start(); $hostname = exec('hostname'); $port = $_SERVER['SERVER_PORT']; $expected_http_origin="https://".$hostname.":".$port; if ($_SERVER['HTTP_ORIGIN'] != $expected_http_origin) { die ("Nope."); } include($_SERVER['DOCUMENT_ROOT']."/inc/main.php"); // Check login_as feature
CVE-2021-28379
{'CWE-434'}
6.4
{'https://github.com/myvesta/vesta/commit/3402071e950e76b79fa8672a1e09b70d3860f355'}
nvd
web/upload/UploadHandler.php in Vesta Control Panel (aka VestaCP) through 0.9.8-27 and myVesta through 0.9.8-26-39 allows uploads from a different origin.
2021-03-15
1
https://github.com/myvesta/vesta
https://github.com/myvesta/vesta/commit/3402071e950e76b79fa8672a1e09b70d3860f355
3402071e950e76b79fa8672a1e09b70d3860f355
SINGLE
['3402071e950e76b79fa8672a1e09b70d3860f355']
{'fdc6e191c270146c9e035f3687fae8506857f214'}
3402071e950e76b79fa8672a1e09b70d3860f355
1
03/14/2021, 19:49:14
Preventing uploads from other origin Credits to: Fady Othman, Security Consultant # ZINAD IT
myvesta
null
{'additions': 7, 'deletions': 0, 'total': 7}
[ { "additions": 7, "changes": 7, "deletions": 0, "patch": "@@ -2,6 +2,13 @@\n \n //session_start();\n \n+$hostname = exec('hostname');\n+$port = $_SERVER['SERVER_PORT'];\n+$expected_http_origin=\"https://\".$hostname.\":\".$port;\n+if ($_SERVER['HTTP_ORIGIN'] != $expected_http_origin) {\n+ die (\"...
php
CWE-434
[ "web/upload/UploadHandler.php" ]
web/upload/UploadHandler.php
1
static void do_iccprofile_item(deark *c, lctx *d, i64 pos, i64 len) if(selector==0 || selector==1) { // Beginning and Continuation segments normally have profile data. // End segments (selector==2) are not allowed to include data. dbuf_copy(c->infile, pos+4, data_len, d->iccprofile_file); } }
static void do_iccprofile_item(deark *c, lctx *d, i64 pos, i64 len) if(selector==0 || selector==1) { // Beginning and Continuation segments normally have profile data. // End segments (selector==2) are not allowed to include data. if(!d->iccprofile_file) { de_warn(c, "Bad ICC profile segment"); return; ...
CVE-2021-28855
{'CWE-476'}
2.9
{'https://github.com/jsummers/deark/commit/287f5ac31dfdc074669182f51ece637706070eeb'}
nvd
In Deark before 1.5.8, a specially crafted input file can cause a NULL pointer dereference in the dbuf_write function (src/deark-dbuf.c).
2021-04-14
1
https://github.com/jsummers/deark
https://github.com/jsummers/deark/commit/287f5ac31dfdc074669182f51ece637706070eeb
287f5ac31dfdc074669182f51ece637706070eeb
SINGLE
['287f5ac31dfdc074669182f51ece637706070eeb']
{'7a0fd74717fc658289d23677c991eada5cca2022'}
287f5ac31dfdc074669182f51ece637706070eeb
1
03/12/2021, 14:43:49
pict: Fixed a bug with ICC profile extraction Could cause a NULL pointer dereference. Found by F. Çelik.
Jason Summers
{'com_1': {'author': 'abergmann', 'datetime': '04/15/2021, 06:17:05', 'body': '[CVE-2021-28855](https://nvd.nist.gov/vuln/detail/CVE-2021-28855) was assigned to this commit.'}}
{'additions': 5, 'deletions': 0, 'total': 5}
[ { "additions": 5, "changes": 5, "deletions": 0, "patch": "@@ -660,6 +660,11 @@ static void do_iccprofile_item(deark *c, lctx *d, i64 pos, i64 len)\n \tif(selector==0 || selector==1) {\n \t\t// Beginning and Continuation segments normally have profile data.\n \t\t// End segments (selector==2) are not...
c
CWE-476
[ "modules/pict.c" ]
modules/pict.c
1
void fmtutil_macbitmap_read_pixmap_only_fields(deark *c, dbuf *f, struct fmtutil de_dbg(c, "pixel type=%d, bits/pixel=%d, components/pixel=%d, bits/comp=%d", (int)bi->pixeltype, (int)bi->pixelsize, (int)bi->cmpcount, (int)bi->cmpsize); bi->pdwidth = (bi->rowbytes*8)/bi->pixelsize; if(bi->pdwidth < bi->npwidth) {...
void fmtutil_macbitmap_read_pixmap_only_fields(deark *c, dbuf *f, struct fmtutil de_dbg(c, "pixel type=%d, bits/pixel=%d, components/pixel=%d, bits/comp=%d", (int)bi->pixeltype, (int)bi->pixelsize, (int)bi->cmpcount, (int)bi->cmpsize); if(bi->pixelsize>0) { bi->pdwidth = (bi->rowbytes*8)/bi->pixelsize; } if(b...
CVE-2021-28856
{'CWE-369'}
2.9
{'https://github.com/jsummers/deark/commit/62acb7753b0e3c0d3ab3c15057b0a65222313334'}
nvd
In Deark before v1.5.8, a specially crafted input file can cause a division by zero in (src/fmtutil.c) because of the value of pixelsize.
2021-04-14
1
https://github.com/jsummers/deark
https://github.com/jsummers/deark/commit/62acb7753b0e3c0d3ab3c15057b0a65222313334
62acb7753b0e3c0d3ab3c15057b0a65222313334
SINGLE
['62acb7753b0e3c0d3ab3c15057b0a65222313334']
{'deb0c972b04588ef81b03a4792bc0758b94cfa25'}
62acb7753b0e3c0d3ab3c15057b0a65222313334
1
03/13/2021, 12:35:56
pict,macrsrc: Fixed a bug that could cause division by 0 Found by F. Çelik.
Jason Summers
null
{'additions': 3, 'deletions': 1, 'total': 4}
[ { "additions": 3, "changes": 4, "deletions": 1, "patch": "@@ -1618,7 +1618,9 @@ void fmtutil_macbitmap_read_pixmap_only_fields(deark *c, dbuf *f, struct fmtutil\n \tde_dbg(c, \"pixel type=%d, bits/pixel=%d, components/pixel=%d, bits/comp=%d\",\n \t\t(int)bi->pixeltype, (int)bi->pixelsize, (int)bi->c...
c
CWE-369
[ "src/fmtutil.c" ]
src/fmtutil.c
1
String UTF8Decoder::to_utf8(const StringView& input) String UTF16BEDecoder::to_utf8(const StringView& input) { StringBuilder builder(input.length() / 2); for (size_t i = 0; i < input.length(); i += 2) { u16 code_point = (input[i] << 8) | input[i + 1]; builder.append_code_point(code_point); ...
String UTF8Decoder::to_utf8(const StringView& input) String UTF16BEDecoder::to_utf8(const StringView& input) { StringBuilder builder(input.length() / 2); size_t utf16_length = input.length() - (input.length() % 2); for (size_t i = 0; i < utf16_length; i += 2) { u16 code_point = (input[i] << 8) | in...
CVE-2021-28874
{'CWE-120'}
6.4
{'https://github.com/SerenityOS/serenity/commit/c9f25bca048443e317f1994ba9b106f2386688c3'}
nvd
SerenityOS fixed as of c9f25bca048443e317f1994ba9b106f2386688c3 contains a buffer overflow vulnerability in LibTextCode through opening a crafted file.
2021-04-06
1
https://github.com/SerenityOS/serenity
https://github.com/SerenityOS/serenity/commit/c9f25bca048443e317f1994ba9b106f2386688c3
c9f25bca048443e317f1994ba9b106f2386688c3
SINGLE
['c9f25bca048443e317f1994ba9b106f2386688c3']
{'7156b61d579d47636ad57ec0cf127258f65b50a6'}
c9f25bca048443e317f1994ba9b106f2386688c3
1
03/15/2021, 14:26:56
LibTextCodec: Make UTF16BEDecoder read only up to an even offset Reading up to the end of the input string of odd length results in an out-of-bounds read
Idan Horowitz
null
{'additions': 2, 'deletions': 1, 'total': 3}
[ { "additions": 2, "changes": 3, "deletions": 1, "patch": "@@ -183,7 +183,8 @@ String UTF8Decoder::to_utf8(const StringView& input)\n String UTF16BEDecoder::to_utf8(const StringView& input)\n {\n StringBuilder builder(input.length() / 2);\n- for (size_t i = 0; i < input.length(); i += 2) {\n+ ...
cpp
CWE-120
[ "Userland/Libraries/LibTextCodec/Decoder.cpp" ]
Userland/Libraries/LibTextCodec/Decoder.cpp
1
typedef struct Bool is_playing; Bool is_file; Bool initial_play_done, file_loaded; Bool initialized; u32 sample_rate, nb_channels, bits_per_sample, block_size; GF_Err flac_dmx_process(GF_Filter *filter) u64 cts = GF_FILTER_NO_TS; FLACHeader hdr; //always reparse duration if (!ctx->duration.num) flac_dmx_c...
typedef struct Bool is_playing; Bool is_file; Bool initial_play_done, file_loaded; Bool in_error; Bool initialized; u32 sample_rate, nb_channels, bits_per_sample, block_size; GF_Err flac_dmx_process(GF_Filter *filter) u64 cts = GF_FILTER_NO_TS; FLACHeader hdr; if (ctx->in_error) return GF_NON_COMPLIANT_BI...
CVE-2021-29279
{'CWE-190', 'CWE-787'}
6.4
{'https://github.com/gpac/gpac/commit/da69ad1f970a7e17c865eaec9af98cc84df10d5b'}
nvd
There is a integer overflow in function filter_core/filter_props.c:gf_props_assign_value in GPAC 1.0.1. In which, the arg const GF_PropertyValue *value,maybe value->value.data.size is a negative number. In result, memcpy in gf_props_assign_value failed.
2021-04-19
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/da69ad1f970a7e17c865eaec9af98cc84df10d5b
da69ad1f970a7e17c865eaec9af98cc84df10d5b
SINGLE
['da69ad1f970a7e17c865eaec9af98cc84df10d5b']
{'757501a462339f162e3a8b0f5221d079e8658dfb'}
da69ad1f970a7e17c865eaec9af98cc84df10d5b
1
03/29/2021, 07:17:40
fixed 1718
jeanlf
null
{'additions': 18, 'deletions': 1, 'total': 19}
[ { "additions": 18, "changes": 19, "deletions": 1, "patch": "@@ -59,6 +59,7 @@ typedef struct\n \tBool is_playing;\n \tBool is_file;\n \tBool initial_play_done, file_loaded;\n+\tBool in_error;\n \n \tBool initialized;\n \tu32 sample_rate, nb_channels, bits_per_sample, block_size;\n@@ -388,6 +389,9 @@...
c
CWE-787
[ "src/filters/reframe_flac.c" ]
src/filters/reframe_flac.c
1
typedef struct Bool is_playing; Bool is_file; Bool initial_play_done, file_loaded; Bool initialized; u32 sample_rate, nb_channels, bits_per_sample, block_size; GF_Err flac_dmx_process(GF_Filter *filter) u64 cts = GF_FILTER_NO_TS; FLACHeader hdr; //always reparse duration if (!ctx->duration.num) flac_dmx_c...
typedef struct Bool is_playing; Bool is_file; Bool initial_play_done, file_loaded; Bool in_error; Bool initialized; u32 sample_rate, nb_channels, bits_per_sample, block_size; GF_Err flac_dmx_process(GF_Filter *filter) u64 cts = GF_FILTER_NO_TS; FLACHeader hdr; if (ctx->in_error) return GF_NON_COMPLIANT_BI...
CVE-2021-29279
{'CWE-190', 'CWE-787'}
6.4
{'https://github.com/gpac/gpac/commit/da69ad1f970a7e17c865eaec9af98cc84df10d5b'}
nvd
There is a integer overflow in function filter_core/filter_props.c:gf_props_assign_value in GPAC 1.0.1. In which, the arg const GF_PropertyValue *value,maybe value->value.data.size is a negative number. In result, memcpy in gf_props_assign_value failed.
2021-04-19
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/da69ad1f970a7e17c865eaec9af98cc84df10d5b
da69ad1f970a7e17c865eaec9af98cc84df10d5b
SINGLE
['da69ad1f970a7e17c865eaec9af98cc84df10d5b']
{'757501a462339f162e3a8b0f5221d079e8658dfb'}
da69ad1f970a7e17c865eaec9af98cc84df10d5b
1
03/29/2021, 07:17:40
fixed 1718
jeanlf
null
{'additions': 18, 'deletions': 1, 'total': 19}
[ { "additions": 18, "changes": 19, "deletions": 1, "patch": "@@ -59,6 +59,7 @@ typedef struct\n \tBool is_playing;\n \tBool is_file;\n \tBool initial_play_done, file_loaded;\n+\tBool in_error;\n \n \tBool initialized;\n \tu32 sample_rate, nb_channels, bits_per_sample, block_size;\n@@ -388,6 +389,9 @@...
c
CWE-190
[ "src/filters/reframe_flac.c" ]
src/filters/reframe_flac.c
1
namespace Exiv2 { DataBuf chunkId(WEBP_TAG_SIZE+1); chunkId.pData_ [WEBP_TAG_SIZE] = '\0'; io_->read(data, WEBP_TAG_SIZE * 3); uint64_t filesize = Exiv2::getULong(data + WEBP_TAG_SIZE, littleEndian); /* Set up header */ namespace Exiv2 { case we have any exif or xmp d...
namespace Exiv2 { DataBuf chunkId(WEBP_TAG_SIZE+1); chunkId.pData_ [WEBP_TAG_SIZE] = '\0'; readOrThrow(*io_, data, WEBP_TAG_SIZE * 3, Exiv2::kerCorruptedMetadata); uint64_t filesize = Exiv2::getULong(data + WEBP_TAG_SIZE, littleEndian); /* Set up header */ namespace Exiv2 { ...
CVE-2021-29463
{'CWE-125'}
2.9
{'https://github.com/Exiv2/exiv2/commit/783b3a6ff15ed6f82a8f8e6c8a6f3b84a9b04d4b'}
nvd
Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An out-of-bounds read was found in Exiv2 versions v0.27.3 and earlier. The out-of-bounds read is triggered when Exiv2 is used to write metadata into a crafted image file. An attacker could potentia...
2021-04-30
1
https://github.com/Exiv2/exiv2
https://github.com/Exiv2/exiv2/commit/783b3a6ff15ed6f82a8f8e6c8a6f3b84a9b04d4b
783b3a6ff15ed6f82a8f8e6c8a6f3b84a9b04d4b
SINGLE
['783b3a6ff15ed6f82a8f8e6c8a6f3b84a9b04d4b']
{'dbde0bc5367e2ad29909ed84170e3fe4c28c9dea'}
783b3a6ff15ed6f82a8f8e6c8a6f3b84a9b04d4b
1
04/19/2021, 17:06:00
Improve bound checking in WebPImage::doWriteMetadata()
Kevin Backhouse
null
{'additions': 30, 'deletions': 11, 'total': 41}
[ { "additions": 30, "changes": 41, "deletions": 11, "patch": "@@ -145,7 +145,7 @@ namespace Exiv2 {\n DataBuf chunkId(WEBP_TAG_SIZE+1);\n chunkId.pData_ [WEBP_TAG_SIZE] = '\\0';\n \n- io_->read(data, WEBP_TAG_SIZE * 3);\n+ readOrThrow(*io_, data, WEBP_TAG_SIZE * 3, Exiv2...
cpp
CWE-125
[ "src/webpimage.cpp" ]
src/webpimage.cpp
1
static void boxes_check(size_t b,size_t m) void Jp2Image::encodeJp2Header(const DataBuf& boxBuf,DataBuf& outBuf) { DataBuf output(boxBuf.size_ + iccProfile_.size_ + 100); // allocate sufficient space int outlen = sizeof(Jp2BoxHeader) ; // now many bytes have we written to output? in...
static void boxes_check(size_t b,size_t m) void Jp2Image::encodeJp2Header(const DataBuf& boxBuf,DataBuf& outBuf) { DataBuf output(boxBuf.size_ + iccProfile_.size_ + 100); // allocate sufficient space long outlen = sizeof(Jp2BoxHeader) ; // now many bytes have we written to output? lo...
CVE-2021-29464
{'CWE-787'}
6.4
{'https://github.com/Exiv2/exiv2/commit/f9308839198aca5e68a65194f151a1de92398f54'}
nvd
Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. A heap buffer overflow was found in Exiv2 versions v0.27.3 and earlier. The heap overflow is triggered when Exiv2 is used to write metadata into a crafted image file. An attacker could potentially ...
2021-04-30
1
https://github.com/Exiv2/exiv2
https://github.com/Exiv2/exiv2/commit/f9308839198aca5e68a65194f151a1de92398f54
f9308839198aca5e68a65194f151a1de92398f54
SINGLE
['f9308839198aca5e68a65194f151a1de92398f54']
{'e1686ebc3893db3b5a3b9842e8b047473dde5b72'}
f9308839198aca5e68a65194f151a1de92398f54
1
04/20/2021, 11:04:13
Better bounds checking in Jp2Image::encodeJp2Header()
Kevin Backhouse
null
{'additions': 9, 'deletions': 5, 'total': 14}
[ { "additions": 9, "changes": 14, "deletions": 5, "patch": "@@ -646,11 +646,11 @@ static void boxes_check(size_t b,size_t m)\n void Jp2Image::encodeJp2Header(const DataBuf& boxBuf,DataBuf& outBuf)\n {\n DataBuf output(boxBuf.size_ + iccProfile_.size_ + 100); // allocate sufficient spa...
cpp
CWE-787
[ "src/jp2image.cpp" ]
src/jp2image.cpp
1
switch (config.imageUploadType) { ] } // generate correct path config.sslCAPath.forEach(function (capath, i, array) { array[i] = path.resolve(appRootPath, capath)
switch (config.imageUploadType) { ] } // Disable PDF export due to security issue if (config.allowPDFExport) { config.allowPDFExport = false logger.warn('PDF export was disabled for this release to mitigate a critical security issue. This feature will hopefully become available again in future releases.') } ...
CVE-2021-29475
{'CWE-918', 'CWE-94'}
4.9
{'https://github.com/hedgedoc/hedgedoc/commit/c1789474020a6d668d616464cb2da5e90e123f65'}
nvd
HedgeDoc (formerly known as CodiMD) is an open-source collaborative markdown editor. An attacker is able to receive arbitrary files from the file system when exporting a note to PDF. Since the code injection has to take place as note content, there fore this exploit requires the attackers ability to modify a note. This...
2021-04-26
1
https://github.com/hedgedoc/hedgedoc
https://github.com/hedgedoc/hedgedoc/commit/c1789474020a6d668d616464cb2da5e90e123f65
c1789474020a6d668d616464cb2da5e90e123f65
SINGLE
['c1789474020a6d668d616464cb2da5e90e123f65']
{'e574ae7588ef2981799ddefe3684809e27411204'}
c1789474020a6d668d616464cb2da5e90e123f65
1
08/15/2019, 21:05:02
Disable PDF export due to security issue As a temporary fix, to keep you and your users save, this patch disables the PDF export feature. Details of the attack along with a fix for future versions of CodiMD will be released in future. I hope you can live with this solution for this release because I'm super short on ...
Sheogorath
null
{'additions': 6, 'deletions': 0, 'total': 6}
[ { "additions": 6, "changes": 6, "deletions": 0, "patch": "@@ -189,6 +189,12 @@ switch (config.imageUploadType) {\n ]\n }\n \n+// Disable PDF export due to security issue\n+if (config.allowPDFExport) {\n+ config.allowPDFExport = false\n+ logger.warn('PDF export was disabled for this release to ...
js
CWE-94
[ "lib/config/index.js" ]
lib/config/index.js
1
<?php class ApiQueryWikiConfig extends ApiQueryBase { public function __construct( $query, $moduleName ) { parent::__construct( $query, $moduleName, 'wcf' ); public function execute() { $mwSet = new ManageWikiSettings( $wiki ); if ( isset( $prop['settings'] ) ) { $wikiData['settings'] = $mwSet->list(); ...
<?php use MediaWiki\MediaWikiServices; class ApiQueryWikiConfig extends ApiQueryBase { public function __construct( $query, $moduleName ) { parent::__construct( $query, $moduleName, 'wcf' ); public function execute() { $mwSet = new ManageWikiSettings( $wiki ); if ( isset( $prop['settings'] ) ) { $wikiDa...
CVE-2021-29483
{'CWE-200'}
2.9
{'https://github.com/miraheze/ManageWiki/commit/befb83c66f5b643e174897ea41a8a46679b26304'}
nvd
ManageWiki is an extension to the MediaWiki project. The 'wikiconfig' API leaked the value of private configuration variables set through the ManageWiki variable to all users. This has been patched by https://github.com/miraheze/ManageWiki/compare/99f3b2c8af18...befb83c66f5b.patch. If you are unable to patch set `$wgAP...
2021-04-28
1
https://github.com/miraheze/ManageWiki
https://github.com/miraheze/ManageWiki/commit/befb83c66f5b643e174897ea41a8a46679b26304
befb83c66f5b643e174897ea41a8a46679b26304
SINGLE
['befb83c66f5b643e174897ea41a8a46679b26304']
{'99f3b2c8af18bbbea3dcaa097fd8584d4ac95630'}
befb83c66f5b643e174897ea41a8a46679b26304
1
04/28/2021, 19:33:37
Merge pull request from GHSA-jmc9-rv2f-g8vv The ManageWiki API currently allows viewing of sensitive information set as visible to only ManageWiki right users, such as Discord and Slack webhooks. This fixes it by adding a check to the API, to hide it if the config has set `$wgManageWikiSettings[SETTING]['requires']['v...
Universal Omega
null
{'additions': 11, 'deletions': 0, 'total': 11}
[ { "additions": 11, "changes": 11, "deletions": 0, "patch": "@@ -1,4 +1,7 @@\n <?php\n+\n+use MediaWiki\\MediaWikiServices;\n+\n class ApiQueryWikiConfig extends ApiQueryBase {\n \tpublic function __construct( $query, $moduleName ) {\n \t\tparent::__construct( $query, $moduleName, 'wcf' );\n@@ -31,6 ...
php
CWE-200
[ "includes/api/ApiQueryWikiConfig.php" ]
includes/api/ApiQueryWikiConfig.php
1
static s32 gf_avc_read_sps_bs_internal(GF_BitStream *bs, AVCState *avc, u32 subs by subset SPS. According to the SVC standard, subset SPS can have the same sps_id than its base layer, but it does not refer to the same SPS. */ sps_id = gf_bs_read_ue_log(bs, "sps_id") + GF_SVC_SSPS_ID_SHIFT * subseq_sps; if (sps_id ...
static s32 gf_avc_read_sps_bs_internal(GF_BitStream *bs, AVCState *avc, u32 subs by subset SPS. According to the SVC standard, subset SPS can have the same sps_id than its base layer, but it does not refer to the same SPS. */ sps_id = gf_bs_read_ue_log(bs, "sps_id") + GF_SVC_SSPS_ID_SHIFT * subseq_sps; if ((sps_id...
CVE-2021-30014
{'CWE-190'}
2.9
{'https://github.com/gpac/gpac/commit/51cdb67ff7c5f1242ac58c5aa603ceaf1793b788'}
nvd
There is a integer overflow in media_tools/av_parsers.c in the hevc_parse_slice_segment function in GPAC 1.0.1 which results in a crash.
2021-04-19
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/51cdb67ff7c5f1242ac58c5aa603ceaf1793b788
51cdb67ff7c5f1242ac58c5aa603ceaf1793b788
SINGLE
['51cdb67ff7c5f1242ac58c5aa603ceaf1793b788']
{'13dad7d5ef74ca2e6fe4010f5b03eb12e9bbe0ec'}
51cdb67ff7c5f1242ac58c5aa603ceaf1793b788
1
03/29/2021, 07:34:02
add safety in avc/hevc/vvc sps/pps/vps ID check - cf #1720 #1721 #1722
jeanlf
null
{'additions': 12, 'deletions': 15, 'total': 27}
[ { "additions": 12, "changes": 27, "deletions": 15, "patch": "@@ -5115,10 +5115,7 @@ static s32 gf_avc_read_sps_bs_internal(GF_BitStream *bs, AVCState *avc, u32 subs\n \tby subset SPS. According to the SVC standard, subset SPS can have the same sps_id\n \tthan its base layer, but it does not refer to...
c
CWE-190
[ "src/media_tools/av_parsers.c" ]
src/media_tools/av_parsers.c
1
static GF_Err av1dmx_parse_flush_sample(GF_Filter *filter, GF_AV1DmxCtx *ctx) GF_FilterPacket *pck; u8 *output; gf_bs_get_content_no_truncate(ctx->state.bs, &ctx->state.frame_obus, &pck_size, &ctx->state.frame_obus_alloc); if (!pck_size) {
static GF_Err av1dmx_parse_flush_sample(GF_Filter *filter, GF_AV1DmxCtx *ctx) GF_FilterPacket *pck; u8 *output; if (!ctx->opid) return GF_NON_COMPLIANT_BITSTREAM; gf_bs_get_content_no_truncate(ctx->state.bs, &ctx->state.frame_obus, &pck_size, &ctx->state.frame_obus_alloc); if (!pck_size) {
CVE-2021-30015
{'CWE-476'}
2.9
{'https://github.com/gpac/gpac/commit/13dad7d5ef74ca2e6fe4010f5b03eb12e9bbe0ec'}
nvd
There is a Null Pointer Dereference in function filter_core/filter_pck.c:gf_filter_pck_new_alloc_internal in GPAC 1.0.1. The pid comes from function av1dmx_parse_flush_sample, the ctx.opid maybe NULL. The result is a crash in gf_filter_pck_new_alloc_internal.
2021-04-19
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/13dad7d5ef74ca2e6fe4010f5b03eb12e9bbe0ec
13dad7d5ef74ca2e6fe4010f5b03eb12e9bbe0ec
SINGLE
['13dad7d5ef74ca2e6fe4010f5b03eb12e9bbe0ec']
{'da69ad1f970a7e17c865eaec9af98cc84df10d5b'}
13dad7d5ef74ca2e6fe4010f5b03eb12e9bbe0ec
1
03/29/2021, 07:21:51
fixed #1719
jeanlf
null
{'additions': 3, 'deletions': 0, 'total': 3}
[ { "additions": 3, "changes": 3, "deletions": 0, "patch": "@@ -739,6 +739,9 @@ static GF_Err av1dmx_parse_flush_sample(GF_Filter *filter, GF_AV1DmxCtx *ctx)\n \tGF_FilterPacket *pck;\n \tu8 *output;\n \n+\tif (!ctx->opid)\n+\t\treturn GF_NON_COMPLIANT_BITSTREAM;\n+\t\t\n \tgf_bs_get_content_no_trunca...
c
CWE-476
[ "src/filters/reframe_av1.c" ]
src/filters/reframe_av1.c
1
GF_Err adts_dmx_process(GF_Filter *filter) break; } adts_dmx_check_pid(filter, ctx); if (!ctx->is_playing) {
GF_Err adts_dmx_process(GF_Filter *filter) break; } if (ctx->hdr.frame_size < ctx->hdr.hdr_size) { GF_LOG(GF_LOG_WARNING, GF_LOG_PARSER, ("[ADTSDmx] Corrupted ADTS frame header, resyncing\n")); ctx->nb_frames = 0; goto drop_byte; } adts_dmx_check_pid(filter, ctx); if (!ctx->is_playing) {
CVE-2021-30019
{'CWE-787'}
2.9
{'https://github.com/gpac/gpac/commit/22774aa9e62f586319c8f107f5bae950fed900bc'}
nvd
In the adts_dmx_process function in filters/reframe_adts.c in GPAC 1.0.1, a crafted file may cause ctx->hdr.frame_size to be smaller than ctx->hdr.hdr_size, resulting in size to be a negative number and a heap overflow in the memcpy.
2021-04-19
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/22774aa9e62f586319c8f107f5bae950fed900bc
22774aa9e62f586319c8f107f5bae950fed900bc
SINGLE
['22774aa9e62f586319c8f107f5bae950fed900bc']
{'51cdb67ff7c5f1242ac58c5aa603ceaf1793b788'}
22774aa9e62f586319c8f107f5bae950fed900bc
1
03/29/2021, 07:44:12
fixed potential crash in adts reframer with broken streams - cf #1723
jeanlf
null
{'additions': 6, 'deletions': 0, 'total': 6}
[ { "additions": 6, "changes": 6, "deletions": 0, "patch": "@@ -745,6 +745,12 @@ GF_Err adts_dmx_process(GF_Filter *filter)\n \t\t\tbreak;\n \t\t}\n \n+\t\tif (ctx->hdr.frame_size < ctx->hdr.hdr_size) {\n+\t\t\tGF_LOG(GF_LOG_WARNING, GF_LOG_PARSER, (\"[ADTSDmx] Corrupted ADTS frame header, resyncing\\...
c
CWE-787
[ "src/filters/reframe_adts.c" ]
src/filters/reframe_adts.c
1
/** * @copyright Copyright (C) 2010-2021, the Friendica project * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as use Friendica\Model\Item; use Friendica\Model\Post; use Fr...
/** * @copyright Copyright (C) 2010-2021, the Friendica project * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as use Friendica\Model\Item; use Friendica\Model\Post; use ...
CVE-2021-30141
{'CWE-401'}
2.9
{'https://github.com/friendica/friendica/pull/10113/commits/acbcc56754121ba080eac5b6fdf69e64ed7fe453'}
nvd
** DISPUTED ** Module/Settings/UserExport.php in Friendica through 2021.01 allows settings/userexport to be used by anonymous users, as demonstrated by an attempted access to an array offset on a value of type null, and excessive memory consumption. NOTE: the vendor states "the feature still requires a valid authentica...
2021-04-05
1
https://github.com/friendica/friendica
https://github.com/friendica/friendica/pull/10113/commits/acbcc56754121ba080eac5b6fdf69e64ed7fe453
acbcc56754121ba080eac5b6fdf69e64ed7fe453
SINGLE
['acbcc56754121ba080eac5b6fdf69e64ed7fe453']
{'5947698dc15ee6887dd9af0da1c68d6a41f06ced'}
acbcc56754121ba080eac5b6fdf69e64ed7fe453
1
04/01/2021, 23:29:21
Prevent settings/userexport to be used by anonymous users - Add forbidden exceptions in module methods - Add runtime exceptions in individual export methods
Hypolite Petovan
null
{'additions': 78, 'deletions': 31, 'total': 109}
[ { "additions": 78, "changes": 109, "deletions": 31, "patch": "@@ -2,7 +2,7 @@\n /**\n * @copyright Copyright (C) 2010-2021, the Friendica project\n *\n- * @license GNU AGPL version 3 or any later version\n+ * @license GNU AGPL version 3 or any later version\n *\n * This program is free softwar...
php
CWE-401
[ "src/Module/Settings/UserExport.php" ]
src/Module/Settings/UserExport.php
1
GF_Err latm_dmx_process(GF_Filter *filter) GF_LATMDmxCtx *ctx = gf_filter_get_udta(filter); GF_FilterPacket *pck, *dst_pck; u32 pos; u8 *data, *output; u32 pck_size, prev_pck_size; u64 cts = GF_FILTER_NO_TS; if (ctx->in_error) GF_Err latm_dmx_process(GF_Filter *filter) } else { return GF_OK; } } data...
GF_Err latm_dmx_process(GF_Filter *filter) GF_LATMDmxCtx *ctx = gf_filter_get_udta(filter); GF_FilterPacket *pck, *dst_pck; u32 pos; u8 *data=NULL, *output; u32 pck_size=0, prev_pck_size; u64 cts = GF_FILTER_NO_TS; if (ctx->in_error) GF_Err latm_dmx_process(GF_Filter *filter) } else { return GF_OK; } }...
CVE-2021-30199
{'CWE-476'}
2.9
{'https://github.com/gpac/gpac/commit/b2db2f99b4c30f96e17b9a14537c776da6cb5dca'}
nvd
In filters/reframe_latm.c in GPAC 1.0.1 there is a Null Pointer Dereference, when gf_filter_pck_get_data is called. The first arg pck may be null with a crafted mp4 file,which results in a crash.
2021-04-19
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/b2db2f99b4c30f96e17b9a14537c776da6cb5dca
b2db2f99b4c30f96e17b9a14537c776da6cb5dca
SINGLE
['b2db2f99b4c30f96e17b9a14537c776da6cb5dca']
{'24c0988016bfc3721f2775b1ca03af1bc2554e57'}
b2db2f99b4c30f96e17b9a14537c776da6cb5dca
1
04/08/2021, 07:29:42
fixed #1728
jeanlf
null
{'additions': 4, 'deletions': 4, 'total': 8}
[ { "additions": 4, "changes": 8, "deletions": 4, "patch": "@@ -448,8 +448,8 @@ GF_Err latm_dmx_process(GF_Filter *filter)\n \tGF_LATMDmxCtx *ctx = gf_filter_get_udta(filter);\n \tGF_FilterPacket *pck, *dst_pck;\n \tu32 pos;\n-\tu8 *data, *output;\n-\tu32 pck_size, prev_pck_size;\n+\tu8 *data=NULL, *o...
c
CWE-476
[ "src/filters/reframe_latm.c" ]
src/filters/reframe_latm.c
1
writefile(const char *name, struct string *s) return -1; } ret = 0; if (fwrite(s->s, 1, s->n, f) != s->n || fflush(f) != 0) { warn("write %s:", name); ret = -1; }
writefile(const char *name, struct string *s) return -1; } ret = 0; if (s && (fwrite(s->s, 1, s->n, f) != s->n || fflush(f) != 0)) { warn("write %s:", name); ret = -1; }
CVE-2021-30218
{'CWE-476'}
2.9
{'https://github.com/michaelforney/samurai/commit/e84b6d99c85043fa1ba54851ee500540ec206918'}
nvd
samurai 1.2 has a NULL pointer dereference in writefile() in util.c via a crafted build file.
2021-04-29
1
https://github.com/michaelforney/samurai
https://github.com/michaelforney/samurai/commit/e84b6d99c85043fa1ba54851ee500540ec206918
e84b6d99c85043fa1ba54851ee500540ec206918
SINGLE
['e84b6d99c85043fa1ba54851ee500540ec206918']
{'3629b72da159daeb6d0394c53ce1ade5d553fae2'}
e84b6d99c85043fa1ba54851ee500540ec206918
1
04/03/2021, 00:27:48
util: Check for NULL string in writefile This check was there previously, but was removed in f549b757 with the addition of a check during parse that every rule has rspfile if and only if it has rspfile_content. However, this fails to consider the possibility of those variables coming from the edge or global environmen...
Michael Forney
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -258,7 +258,7 @@ writefile(const char *name, struct string *s)\n \t\treturn -1;\n \t}\n \tret = 0;\n-\tif (fwrite(s->s, 1, s->n, f) != s->n || fflush(f) != 0) {\n+\tif (s && (fwrite(s->s, 1, s->n, f) != s->n || fflush(f) != 0)) {\n \t\twar...
c
CWE-476
[ "util.c" ]
util.c
1
parserule(struct scanner *s, struct environment *env) var = scanname(s); parselet(s, &val); ruleaddvar(r, var, val); if (strcmp(var, "command") == 0) hascommand = true; else if (strcmp(var, "rspfile") == 0)
parserule(struct scanner *s, struct environment *env) var = scanname(s); parselet(s, &val); ruleaddvar(r, var, val); if (!val) continue; if (strcmp(var, "command") == 0) hascommand = true; else if (strcmp(var, "rspfile") == 0)
CVE-2021-30219
{'CWE-476'}
2.9
{'https://github.com/michaelforney/samurai/commit/d2af3bc375e2a77139c3a28d6128c60cd8d08655'}
nvd
samurai 1.2 has a NULL pointer dereference in printstatus() function in build.c via a crafted build file.
2021-04-29
1
https://github.com/michaelforney/samurai
https://github.com/michaelforney/samurai/commit/d2af3bc375e2a77139c3a28d6128c60cd8d08655
d2af3bc375e2a77139c3a28d6128c60cd8d08655
SINGLE
['d2af3bc375e2a77139c3a28d6128c60cd8d08655']
{'27dde2e218808daa8b945eb9d18c3326ea2d1274'}
d2af3bc375e2a77139c3a28d6128c60cd8d08655
1
04/04/2021, 10:50:09
parse: Check for non-empty command/rspfile/rspfile_content This matches ninja behavior and prevents the possibility of a rule with an empty (NULL) command string. Fixes #68.
Michael Forney
null
{'additions': 2, 'deletions': 0, 'total': 2}
[ { "additions": 2, "changes": 2, "deletions": 0, "patch": "@@ -42,6 +42,8 @@ parserule(struct scanner *s, struct environment *env)\n \t\tvar = scanname(s);\n \t\tparselet(s, &val);\n \t\truleaddvar(r, var, val);\n+\t\tif (!val)\n+\t\t\tcontinue;\n \t\tif (strcmp(var, \"command\") == 0)\n \t\t\thascom...
c
CWE-476
[ "parse.c" ]
parse.c
1
bool PackLinuxElf32::calls_crt1(Elf32_Rel const *rel, int sz) int PackLinuxElf32::canUnpack() { if (super::canUnpack()) { return true; } if (Elf32_Ehdr::ET_DYN==get_te16(&ehdri.e_type)) { PackLinuxElf32help1(fi); } return false; } proceed: ; int PackLinuxElf64::canUnpack() { ...
bool PackLinuxElf32::calls_crt1(Elf32_Rel const *rel, int sz) int PackLinuxElf32::canUnpack() { if (checkEhdr(&ehdri)) { return false; } // FIXME: ET_DYN same as 64-bit canUnpack ?? if (Elf32_Ehdr::ET_DYN==get_te16(&ehdri.e_type)) { PackLinuxElf32help1(fi); } if (super::canUnpa...
CVE-2021-30500
{'CWE-476'}
6.4
{'https://github.com/upx/upx/commit/90279abdfcd235172eab99651043051188938dcc'}
nvd
Null pointer dereference was found in upx PackLinuxElf::canUnpack() in p_lx_elf.cpp,in version UPX 4.0.0. That allow attackers to execute arbitrary code and cause a denial of service via a crafted file.
2021-05-27
1
https://github.com/upx/upx
https://github.com/upx/upx/commit/90279abdfcd235172eab99651043051188938dcc
90279abdfcd235172eab99651043051188938dcc
SINGLE
['90279abdfcd235172eab99651043051188938dcc']
{'28e761cd42211dfe0124b7a29b2f74730f453e46'}
90279abdfcd235172eab99651043051188938dcc
1
04/10/2021, 17:11:48
PackLinuxElf::canUnpack must checkEhdr() for ELF input https://github.com/upx/upx/issues/485 modified: p_lx_elf.cpp
John Reiser
null
{'additions': 15, 'deletions': 5, 'total': 20}
[ { "additions": 15, "changes": 20, "deletions": 5, "patch": "@@ -1971,12 +1971,16 @@ bool PackLinuxElf32::calls_crt1(Elf32_Rel const *rel, int sz)\n \n int PackLinuxElf32::canUnpack()\n {\n- if (super::canUnpack()) {\n- return true;\n+ if (checkEhdr(&ehdri)) {\n+ return false;\n ...
cpp
CWE-476
[ "src/p_lx_elf.cpp" ]
src/p_lx_elf.cpp
1
int PackMachBase<T>::canUnpack() if (2048 < headway) { infoWarning("Mach_header.sizeofcmds(%d) > 2048", headway); } rawmseg_buf.alloc(mhdri.sizeofcmds); rawmseg = (Mach_segment_command *)rawmseg_buf.getVoidPtr(); fi->readx(rawmseg, mhdri.sizeofcmds);
int PackMachBase<T>::canUnpack() if (2048 < headway) { infoWarning("Mach_header.sizeofcmds(%d) > 2048", headway); } if(!headway){ throwCantPack("Mach_header.sizeofcmds == 0"); } rawmseg_buf.alloc(mhdri.sizeofcmds); rawmseg = (Mach_segment_command *)rawmseg_buf.getVoidPtr(); ...
CVE-2021-30501
{'CWE-20'}
2.9
{'https://github.com/upx/upx/commit/28e761cd42211dfe0124b7a29b2f74730f453e46'}
nvd
An assertion abort was found in upx MemBuffer::alloc() in mem.cpp, in version UPX 4.0.0. The flow allows attackers to cause a denial of service (abort) via a crafted file.
2021-05-27
1
https://github.com/upx/upx
https://github.com/upx/upx/commit/28e761cd42211dfe0124b7a29b2f74730f453e46
28e761cd42211dfe0124b7a29b2f74730f453e46
SINGLE
['28e761cd42211dfe0124b7a29b2f74730f453e46']
{'04c229340c7c3de16220a336c55892b5be3601eb', 'a94c7b32e483ca6daca1f63d63a3c587655b2675'}
28e761cd42211dfe0124b7a29b2f74730f453e46
1
04/10/2021, 15:57:14
Merge pull request #487 from chibataiki/devel Complain when Mach_header.sizeofcmds == 0 https://github.com/upx/upx/pull/487
John Reiser
null
{'additions': 3, 'deletions': 0, 'total': 3}
[ { "additions": 3, "changes": 3, "deletions": 0, "patch": "@@ -1552,6 +1552,9 @@ int PackMachBase<T>::canUnpack()\n if (2048 < headway) {\n infoWarning(\"Mach_header.sizeofcmds(%d) > 2048\", headway);\n }\n+ if(!headway){\n+ throwCantPack(\"Mach_header.sizeofcmds == 0\");\n+...
cpp
CWE-20
[ "src/p_mach.cpp" ]
src/p_mach.cpp
1
GF_Err tenc_box_read(GF_Box *s, GF_BitStream *bs) ISOM_DECREASE_SIZE(ptr, 1); iv_size = ptr->key_info[20] = gf_bs_read_u8(bs); ISOM_DECREASE_SIZE(ptr, ptr->key_info[20]); gf_bs_read_data(bs, ptr->key_info+21, iv_size); } return GF_OK; }
GF_Err tenc_box_read(GF_Box *s, GF_BitStream *bs) ISOM_DECREASE_SIZE(ptr, 1); iv_size = ptr->key_info[20] = gf_bs_read_u8(bs); ISOM_DECREASE_SIZE(ptr, ptr->key_info[20]); if ((iv_size!=8) && (iv_size!=16)) { GF_LOG(GF_LOG_ERROR, GF_LOG_CONTAINER, ("[iso file] Invalid constant IV size %d, must be 8 or 16\n",...
CVE-2021-31254
{'CWE-787'}
6.4
{'https://github.com/gpac/gpac/commit/8986422c21fbd9a7bf6561cae65aae42077447e8'}
nvd
Buffer overflow in the tenc_box_read function in MP4Box in GPAC 1.0.1 allows attackers to cause a denial of service or execute arbitrary code via a crafted file, related invalid IV sizes.
2021-04-19
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/8986422c21fbd9a7bf6561cae65aae42077447e8
8986422c21fbd9a7bf6561cae65aae42077447e8
SINGLE
['8986422c21fbd9a7bf6561cae65aae42077447e8']
{'c4a5109dad73abe25ad12d8d529a728ae98d78ca'}
8986422c21fbd9a7bf6561cae65aae42077447e8
1
03/11/2021, 14:37:21
fixed #1703
jeanlf
null
{'additions': 9, 'deletions': 0, 'total': 9}
[ { "additions": 9, "changes": 9, "deletions": 0, "patch": "@@ -876,8 +876,17 @@ GF_Err tenc_box_read(GF_Box *s, GF_BitStream *bs)\n \t\tISOM_DECREASE_SIZE(ptr, 1);\n \t\tiv_size = ptr->key_info[20] = gf_bs_read_u8(bs);\n \t\tISOM_DECREASE_SIZE(ptr, ptr->key_info[20]);\n+\t\tif ((iv_size!=8) && (iv_si...
c
CWE-787
[ "src/isomedia/box_code_drm.c" ]
src/isomedia/box_code_drm.c
1
GF_Err abst_box_read(GF_Box *s, GF_BitStream *bs) int i; u32 tmp_strsize; char *tmp_str; GF_Err e; ISOM_DECREASE_SIZE(ptr, 25) GF_Err abst_box_read(GF_Box *s, GF_BitStream *bs) ISOM_DECREASE_SIZE(ptr, 1) tmp_str[i] = gf_bs_read_u8(bs); tmp_strsize--; if (!tmp_str[i]) break; i++; } if (i) { ptr->...
GF_Err abst_box_read(GF_Box *s, GF_BitStream *bs) int i; u32 tmp_strsize; char *tmp_str; Bool zfound=GF_FALSE; GF_Err e; ISOM_DECREASE_SIZE(ptr, 25) GF_Err abst_box_read(GF_Box *s, GF_BitStream *bs) ISOM_DECREASE_SIZE(ptr, 1) tmp_str[i] = gf_bs_read_u8(bs); tmp_strsize--; if (!tmp_str[i]) { zfound = ...
CVE-2021-31255
{'CWE-120'}
6.4
{'https://github.com/gpac/gpac/commit/758135e91e623d7dfe7f6aaad7aeb3f791b7a4e5'}
nvd
Buffer overflow in the abst_box_read function in MP4Box in GPAC 1.0.1 allows attackers to cause a denial of service or execute arbitrary code via a crafted file.
2021-04-19
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/758135e91e623d7dfe7f6aaad7aeb3f791b7a4e5
758135e91e623d7dfe7f6aaad7aeb3f791b7a4e5
SINGLE
['758135e91e623d7dfe7f6aaad7aeb3f791b7a4e5']
{'05f453ec48710066582e3c3f4b71f6a9dc849f2a'}
758135e91e623d7dfe7f6aaad7aeb3f791b7a4e5
1
04/08/2021, 08:07:35
fixed #1733
jeanlf
null
{'additions': 30, 'deletions': 5, 'total': 35}
[ { "additions": 30, "changes": 35, "deletions": 5, "patch": "@@ -79,6 +79,7 @@ GF_Err abst_box_read(GF_Box *s, GF_BitStream *bs)\n \tint i;\n \tu32 tmp_strsize;\n \tchar *tmp_str;\n+\tBool zfound=GF_FALSE;\n \tGF_Err e;\n \n \tISOM_DECREASE_SIZE(ptr, 25)\n@@ -102,10 +103,14 @@ GF_Err abst_box_read(GF...
c
CWE-120
[ "src/isomedia/box_code_adobe.c" ]
src/isomedia/box_code_adobe.c
1
GF_Err stbl_GetSampleInfos(GF_SampleTableBox *stbl, u32 sampleNumber, u64 *offse if ( stbl->ChunkOffset->type == GF_ISOM_BOX_TYPE_STCO) { stco = (GF_ChunkOffsetBox *)stbl->ChunkOffset; if (!stco->offsets) return GF_ISOM_INVALID_FILE; (*offset) = (u64) stco->offsets[sampleNumber - 1]; } else { co64 = (...
GF_Err stbl_GetSampleInfos(GF_SampleTableBox *stbl, u32 sampleNumber, u64 *offse if ( stbl->ChunkOffset->type == GF_ISOM_BOX_TYPE_STCO) { stco = (GF_ChunkOffsetBox *)stbl->ChunkOffset; if (!stco->offsets) return GF_ISOM_INVALID_FILE; if (stco->nb_entries < sampleNumber) return GF_ISOM_INVALID_FILE; (*of...
CVE-2021-31256
{'CWE-401'}
2.9
{'https://github.com/gpac/gpac/commit/2da2f68bffd51d89b1d272d22aa8cc023c1c066e'}
nvd
Memory leak in the stbl_GetSampleInfos function in MP4Box in GPAC 1.0.1 allows attackers to read memory via a crafted file.
2021-04-19
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/2da2f68bffd51d89b1d272d22aa8cc023c1c066e
2da2f68bffd51d89b1d272d22aa8cc023c1c066e
SINGLE
['2da2f68bffd51d89b1d272d22aa8cc023c1c066e']
{'a3862a8fe11f24de8a25f2aed0fff42b586a6f73'}
2da2f68bffd51d89b1d272d22aa8cc023c1c066e
1
03/12/2021, 10:46:56
fixed #1705
jeanlf
null
{'additions': 2, 'deletions': 0, 'total': 2}
[ { "additions": 2, "changes": 2, "deletions": 0, "patch": "@@ -419,11 +419,13 @@ GF_Err stbl_GetSampleInfos(GF_SampleTableBox *stbl, u32 sampleNumber, u64 *offse\n \t\tif ( stbl->ChunkOffset->type == GF_ISOM_BOX_TYPE_STCO) {\n \t\t\tstco = (GF_ChunkOffsetBox *)stbl->ChunkOffset;\n \t\t\tif (!stco->of...
c
CWE-401
[ "src/isomedia/stbl_read.c" ]
src/isomedia/stbl_read.c
1
GF_Err HintFile(GF_ISOFile *file, u32 MTUSize, u32 max_ptime, u32 rtp_rate, u32 streamType = 0; esd = gf_isom_get_esd(file, i+1, 1); if (esd) { streamType = esd->decoderConfig->streamType; if (!prev_ocr) { prev_ocr = esd->OCRESID;
GF_Err HintFile(GF_ISOFile *file, u32 MTUSize, u32 max_ptime, u32 rtp_rate, u32 streamType = 0; esd = gf_isom_get_esd(file, i+1, 1); if (esd && esd->decoderConfig) { streamType = esd->decoderConfig->streamType; if (!prev_ocr) { prev_ocr = esd->OCRESID;
CVE-2021-31257
{'CWE-476'}
2.9
{'https://github.com/gpac/gpac/commit/87afe070cd6866df7fe80f11b26ef75161de85e0'}
nvd
The HintFile function in GPAC 1.0.1 allows attackers to cause a denial of service (NULL pointer dereference) via a crafted file in the MP4Box command.
2021-04-19
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/87afe070cd6866df7fe80f11b26ef75161de85e0
87afe070cd6866df7fe80f11b26ef75161de85e0
SINGLE
['87afe070cd6866df7fe80f11b26ef75161de85e0']
{'758135e91e623d7dfe7f6aaad7aeb3f791b7a4e5'}
87afe070cd6866df7fe80f11b26ef75161de85e0
1
04/08/2021, 08:09:46
fixed #1734
jeanlf
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -3370,7 +3370,7 @@ GF_Err HintFile(GF_ISOFile *file, u32 MTUSize, u32 max_ptime, u32 rtp_rate, u32\n \n \t\tstreamType = 0;\n \t\tesd = gf_isom_get_esd(file, i+1, 1);\n-\t\tif (esd) {\n+\t\tif (esd && esd->decoderConfig) {\n \t\t\tstreamTy...
c
CWE-476
[ "applications/mp4box/main.c" ]
applications/mp4box/main.c
1
void gf_isom_cenc_get_default_info_internal(GF_TrackBox *trak, u32 sampleDescrip seig_entry = gf_list_get(sgdesc->group_descriptions, sgdesc->default_description_index-1); else seig_entry = gf_list_get(sgdesc->group_descriptions, 0); if (!seig_entry->key_info[0]) seig_entry = NULL; break; }
void gf_isom_cenc_get_default_info_internal(GF_TrackBox *trak, u32 sampleDescrip seig_entry = gf_list_get(sgdesc->group_descriptions, sgdesc->default_description_index-1); else seig_entry = gf_list_get(sgdesc->group_descriptions, 0); if (seig_entry && !seig_entry->key_info[0]) seig_entry = NULL; b...
CVE-2021-31259
{'CWE-476'}
2.9
{'https://github.com/gpac/gpac/commit/3b84ffcbacf144ce35650df958432f472b6483f8'}
nvd
The gf_isom_cenc_get_default_info_internal function in GPAC 1.0.1 allows attackers to cause a denial of service (NULL pointer dereference) via a crafted file in the MP4Box command.
2021-04-19
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/3b84ffcbacf144ce35650df958432f472b6483f8
3b84ffcbacf144ce35650df958432f472b6483f8
SINGLE
['3b84ffcbacf144ce35650df958432f472b6483f8']
{'87afe070cd6866df7fe80f11b26ef75161de85e0'}
3b84ffcbacf144ce35650df958432f472b6483f8
1
04/08/2021, 08:13:35
fixed #1735
jeanlf
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -1686,7 +1686,7 @@ void gf_isom_cenc_get_default_info_internal(GF_TrackBox *trak, u32 sampleDescrip\n \t\t\t\tseig_entry = gf_list_get(sgdesc->group_descriptions, sgdesc->default_description_index-1);\n \t\t\telse\n \t\t\t\tseig_entry = gf...
c
CWE-476
[ "src/isomedia/drm_sample.c" ]
src/isomedia/drm_sample.c
1
GF_Err MergeTrack(GF_TrackBox *trak, GF_TrackFragmentBox *traf, GF_MovieFragment if ((aux_info_type == GF_ISOM_CENC_SCHEME) || (aux_info_type == GF_ISOM_CBC_SCHEME) || (aux_info_type == GF_ISOM_CENS_SCHEME) || (aux_info_type == GF_ISOM_CBCS_SCHEME) || (gf_list_count(traf->sai_offsets) == 1)) { offse...
GF_Err MergeTrack(GF_TrackBox *trak, GF_TrackFragmentBox *traf, GF_MovieFragment if ((aux_info_type == GF_ISOM_CENC_SCHEME) || (aux_info_type == GF_ISOM_CBC_SCHEME) || (aux_info_type == GF_ISOM_CENS_SCHEME) || (aux_info_type == GF_ISOM_CBCS_SCHEME) || (gf_list_count(traf->sai_offsets) == 1)) { if (s...
CVE-2021-31260
{'CWE-476'}
2.9
{'https://github.com/gpac/gpac/commit/df8fffd839fe5ae9acd82d26fd48280a397411d9'}
nvd
The MergeTrack function in GPAC 1.0.1 allows attackers to cause a denial of service (NULL pointer dereference) via a crafted file in the MP4Box command.
2021-04-19
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/df8fffd839fe5ae9acd82d26fd48280a397411d9
df8fffd839fe5ae9acd82d26fd48280a397411d9
SINGLE
['df8fffd839fe5ae9acd82d26fd48280a397411d9']
{'3b84ffcbacf144ce35650df958432f472b6483f8'}
df8fffd839fe5ae9acd82d26fd48280a397411d9
1
04/08/2021, 08:21:26
fixed #1736
jeanlf
null
{'additions': 7, 'deletions': 3, 'total': 10}
[ { "additions": 7, "changes": 10, "deletions": 3, "patch": "@@ -1035,10 +1035,13 @@ GF_Err MergeTrack(GF_TrackBox *trak, GF_TrackFragmentBox *traf, GF_MovieFragment\n \t\t\t\tif ((aux_info_type == GF_ISOM_CENC_SCHEME) || (aux_info_type == GF_ISOM_CBC_SCHEME) ||\n \t\t\t\t\t(aux_info_type == GF_ISOM_C...
c
CWE-476
[ "src/isomedia/track.c" ]
src/isomedia/track.c
1
GF_RTPHinter *gf_hinter_track_new(GF_ISOFile *file, u32 TrackNum, else if (gf_isom_has_sync_shadows(file, TrackNum) || gf_isom_has_sample_dependency(file, TrackNum)) { flags |= GP_RTP_PCK_SYSTEMS_CAROUSEL; } gf_odf_desc_del((GF_Descriptor*)esd); } break; case GF_ISOM_SUBTYPE_3GP_H263: hintT...
GF_RTPHinter *gf_hinter_track_new(GF_ISOFile *file, u32 TrackNum, else if (gf_isom_has_sync_shadows(file, TrackNum) || gf_isom_has_sample_dependency(file, TrackNum)) { flags |= GP_RTP_PCK_SYSTEMS_CAROUSEL; } } if (esd) gf_odf_desc_del((GF_Descriptor*)esd); break; case GF_ISOM_SUBTYPE_3GP_H2...
CVE-2021-31261
{'CWE-119'}
2.9
{'https://github.com/gpac/gpac/commit/cd3738dea038dbd12e603ad48cd7373ae0440f65'}
nvd
The gf_hinter_track_new function in GPAC 1.0.1 allows attackers to read memory via a crafted file in the MP4Box command.
2021-04-19
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/cd3738dea038dbd12e603ad48cd7373ae0440f65
cd3738dea038dbd12e603ad48cd7373ae0440f65
SINGLE
['cd3738dea038dbd12e603ad48cd7373ae0440f65']
{'d98b45f0b2a6d65d65e7fdc6cd8906e8165cff82'}
cd3738dea038dbd12e603ad48cd7373ae0440f65
1
04/09/2021, 09:12:47
fixed #1737
jeanlf
null
{'additions': 2, 'deletions': 1, 'total': 3}
[ { "additions": 2, "changes": 3, "deletions": 1, "patch": "@@ -402,8 +402,9 @@ GF_RTPHinter *gf_hinter_track_new(GF_ISOFile *file, u32 TrackNum,\n \t\t\t\telse if (gf_isom_has_sync_shadows(file, TrackNum) || gf_isom_has_sample_dependency(file, TrackNum)) {\n \t\t\t\t\tflags |= GP_RTP_PCK_SYSTEMS_CARO...
c
CWE-119
[ "src/media_tools/isom_hinter.c" ]
src/media_tools/isom_hinter.c
1
static GF_Err gf_isom_check_mvc(GF_ISOFile *the_file, GF_TrackBox *trak, GF_MPEG return GF_OK; } static GF_AV1Config* AV1_DuplicateConfig(GF_AV1Config const * const cfg) { u32 i = 0; GF_AV1Config *out = gf_malloc(sizeof(GF_AV1Config)); void AV1_RewriteESDescriptorEx(GF_MPEGVisualSampleEntryBox *av1, GF_MediaBox *...
static GF_Err gf_isom_check_mvc(GF_ISOFile *the_file, GF_TrackBox *trak, GF_MPEG return GF_OK; } static GF_AV1Config* AV1_DuplicateConfig(GF_AV1Config const * const cfg) { u32 i = 0; GF_AV1Config *out = gf_malloc(sizeof(GF_AV1Config)); void AV1_RewriteESDescriptorEx(GF_MPEGVisualSampleEntryBox *av1, GF_MediaBox *...
CVE-2021-31262
{'CWE-476'}
2.9
{'https://github.com/gpac/gpac/commit/b2eab95e07cb5819375a50358d4806a8813b6e50'}
nvd
The AV1_DuplicateConfig function in GPAC 1.0.1 allows attackers to cause a denial of service (NULL pointer dereference) via a crafted file in the MP4Box command.
2021-04-19
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/b2eab95e07cb5819375a50358d4806a8813b6e50
b2eab95e07cb5819375a50358d4806a8813b6e50
SINGLE
['b2eab95e07cb5819375a50358d4806a8813b6e50']
{'cd3738dea038dbd12e603ad48cd7373ae0440f65'}
b2eab95e07cb5819375a50358d4806a8813b6e50
1
04/09/2021, 09:17:40
fixed #1738
jeanlf
null
{'additions': 4, 'deletions': 3, 'total': 7}
[ { "additions": 4, "changes": 7, "deletions": 3, "patch": "@@ -1338,7 +1338,8 @@ static GF_Err gf_isom_check_mvc(GF_ISOFile *the_file, GF_TrackBox *trak, GF_MPEG\n \treturn GF_OK;\n }\n \n-static GF_AV1Config* AV1_DuplicateConfig(GF_AV1Config const * const cfg) {\n+static GF_AV1Config* AV1_DuplicateC...
c
CWE-476
[ "src/isomedia/avc_ext.c" ]
src/isomedia/avc_ext.c
1
BaseType_t xQueueGenericReset( QueueHandle_t xQueue, /* Check for multiplication overflow. */ configASSERT( ( uxItemSize == 0 ) || ( uxQueueLength == ( xQueueSizeInBytes / uxItemSize ) ) ); /* Allocate the queue and storage area. Justification for MISRA * deviation as follows: pvPor...
BaseType_t xQueueGenericReset( QueueHandle_t xQueue, /* Check for multiplication overflow. */ configASSERT( ( uxItemSize == 0 ) || ( uxQueueLength == ( xQueueSizeInBytes / uxItemSize ) ) ); /* Check for addition overflow. */ configASSERT( ( sizeof( Queue_t ) + xQueueSizeInBytes ) > xQ...
CVE-2021-31571
{'CWE-190'}
6.4
{'https://github.com/FreeRTOS/FreeRTOS-Kernel/commit/47338393f1f79558f6144213409f09f81d7c4837'}
nvd
The kernel in Amazon Web Services FreeRTOS before 10.4.3 has an integer overflow in queue.c for queue creation.
2021-04-22
1
https://github.com/FreeRTOS/FreeRTOS-Kernel
https://github.com/FreeRTOS/FreeRTOS-Kernel/commit/47338393f1f79558f6144213409f09f81d7c4837
47338393f1f79558f6144213409f09f81d7c4837
SINGLE
['47338393f1f79558f6144213409f09f81d7c4837']
{'d05b9c123f2bf9090bce386a244fc934ae44db5b'}
47338393f1f79558f6144213409f09f81d7c4837
1
12/07/2020, 19:48:51
add assert for addition overflow on queue creation (#225)
Cobus van Eeden
null
{'additions': 3, 'deletions': 0, 'total': 3}
[ { "additions": 3, "changes": 3, "deletions": 0, "patch": "@@ -397,6 +397,9 @@ BaseType_t xQueueGenericReset( QueueHandle_t xQueue,\n /* Check for multiplication overflow. */\r\n configASSERT( ( uxItemSize == 0 ) || ( uxQueueLength == ( xQueueSizeInBytes / uxItemSize ) ) );\r\n \r\n+ ...
c
CWE-190
[ "queue.c" ]
queue.c
1
static void prvInitialiseNewStreamBuffer( StreamBuffer_t * const pxStreamBuffer, * this is a quirk of the implementation that means otherwise the free * space would be reported as one byte smaller than would be logically * expected. */ xBufferSizeBytes++; pucAllocatedMemory =...
static void prvInitialiseNewStreamBuffer( StreamBuffer_t * const pxStreamBuffer, * this is a quirk of the implementation that means otherwise the free * space would be reported as one byte smaller than would be logically * expected. */ if( xBufferSizeBytes < ( xBufferSizeBytes + 1 + ...
CVE-2021-31572
{'CWE-190'}
6.4
{'https://github.com/FreeRTOS/FreeRTOS-Kernel/commit/d05b9c123f2bf9090bce386a244fc934ae44db5b'}
nvd
The kernel in Amazon Web Services FreeRTOS before 10.4.3 has an integer overflow in stream_buffer.c for a stream buffer.
2021-04-22
1
https://github.com/FreeRTOS/FreeRTOS-Kernel
https://github.com/FreeRTOS/FreeRTOS-Kernel/commit/d05b9c123f2bf9090bce386a244fc934ae44db5b
d05b9c123f2bf9090bce386a244fc934ae44db5b
SINGLE
['d05b9c123f2bf9090bce386a244fc934ae44db5b']
{'c7a9a01c94987082b223d3e59969ede64363da63'}
d05b9c123f2bf9090bce386a244fc934ae44db5b
1
12/07/2020, 19:07:31
Add addition overflow check for stream buffer (#226)
Cobus van Eeden
null
{'additions': 10, 'deletions': 2, 'total': 12}
[ { "additions": 10, "changes": 12, "deletions": 2, "patch": "@@ -258,8 +258,16 @@ static void prvInitialiseNewStreamBuffer( StreamBuffer_t * const pxStreamBuffer,\n * this is a quirk of the implementation that means otherwise the free\r\n * space would be reported as one byte smalle...
c
CWE-190
[ "stream_buffer.c" ]
stream_buffer.c
1
static int _parse_dns_reply(uint8_t *buf, size_t len, void* addr_out, int family return tmp; } bufpos += tmp; if ((bufpos + RR_TYPE_LENGTH + RR_CLASS_LENGTH + RR_TTL_LENGTH) >= buflim) { return -EBADMSG; } uint16_t _type = ntohs(_get_short(bufpos));
static int _parse_dns_reply(uint8_t *buf, size_t len, void* addr_out, int family return tmp; } bufpos += tmp; if ((bufpos + RR_TYPE_LENGTH + RR_CLASS_LENGTH + RR_TTL_LENGTH + sizeof(uint16_t)) >= buflim) { return -EBADMSG; } uint16_t _type = ...
CVE-2021-31664
{'CWE-120'}
2.9
{'https://github.com/RIOT-OS/RIOT/commit/44741ff99f7a71df45420635b238b9c22093647a'}
nvd
RIOT-OS 2021.01 before commit 44741ff99f7a71df45420635b238b9c22093647a contains a buffer overflow which could allow attackers to obtain sensitive information.
2021-06-18
1
https://github.com/RIOT-OS/RIOT
https://github.com/RIOT-OS/RIOT/commit/44741ff99f7a71df45420635b238b9c22093647a
44741ff99f7a71df45420635b238b9c22093647a
SINGLE
['44741ff99f7a71df45420635b238b9c22093647a']
{'85296ce6cc711a5a2d3826ba2f9aeb4a69e9b4d5', 'd046772e7f8bfb2d739beed2a93e8de6bf8dd105'}
44741ff99f7a71df45420635b238b9c22093647a
1
10/31/2020, 11:57:17
Merge pull request #15345 from nmeum/pr/sock_dns_overflow sock_dns: Fix incorrect buffer bounds check
Martine Lenders
null
{'additions': 2, 'deletions': 1, 'total': 3}
[ { "additions": 2, "changes": 3, "deletions": 1, "patch": "@@ -125,7 +125,8 @@ static int _parse_dns_reply(uint8_t *buf, size_t len, void* addr_out, int family\n return tmp;\n }\n bufpos += tmp;\n- if ((bufpos + RR_TYPE_LENGTH + RR_CLASS_LENGTH + RR_TTL_LENGTH) >= b...
c
CWE-120
[ "sys/net/application_layer/dns/dns.c" ]
sys/net/application_layer/dns/dns.c
1
static int list_devices(struct file *filp, struct dm_ioctl *param, size_t param_ * Grab our output buffer. */ nl = orig_nl = get_result_buffer(param, param_size, &len); if (len < needed) { param->flags |= DM_BUFFER_FULL_FLAG; goto out; }
static int list_devices(struct file *filp, struct dm_ioctl *param, size_t param_ * Grab our output buffer. */ nl = orig_nl = get_result_buffer(param, param_size, &len); if (len < needed || len < sizeof(nl->dev)) { param->flags |= DM_BUFFER_FULL_FLAG; goto out; }
CVE-2021-31916
{'CWE-787'}
8.5
{'https://github.com/torvalds/linux/commit/4edbe1d7bcffcd6269f3b5eb63f710393ff2ec7a'}
nvd
An out-of-bounds (OOB) memory write flaw was found in list_devices in drivers/md/dm-ioctl.c in the Multi-device driver module in the Linux kernel before 5.12. A bound check failure allows an attacker with special user (CAP_SYS_ADMIN) privilege to gain access to out-of-bounds memory leading to a system crash or a leak o...
2021-05-06
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/4edbe1d7bcffcd6269f3b5eb63f710393ff2ec7a
4edbe1d7bcffcd6269f3b5eb63f710393ff2ec7a
SINGLE
['4edbe1d7bcffcd6269f3b5eb63f710393ff2ec7a']
{'5424a0b867e65f1ecf34ffe88d091a4fcbb35bc1'}
4edbe1d7bcffcd6269f3b5eb63f710393ff2ec7a
1
03/26/2021, 18:32:32
dm ioctl: fix out of bounds array access when no devices If there are not any dm devices, we need to zero the "dev" argument in the first structure dm_name_list. However, this can cause out of bounds write, because the "needed" variable is zero and len may be less than eight. Fix this bug by reporting DM_BUFFER_FULL_...
Mikulas Patocka
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -529,7 +529,7 @@ static int list_devices(struct file *filp, struct dm_ioctl *param, size_t param_\n \t * Grab our output buffer.\n \t */\n \tnl = orig_nl = get_result_buffer(param, param_size, &len);\n-\tif (len < needed) {\n+\tif (len < n...
c
CWE-787
[ "drivers/md/dm-ioctl.c" ]
drivers/md/dm-ioctl.c
1
int mutt_seqset_iterator_next(struct SeqsetIterator *iter, unsigned int *next) if (iter->substr_cur == iter->eostr) return 1; while (!*(iter->substr_cur)) iter->substr_cur++; iter->substr_end = strchr(iter->substr_cur, ','); if (!iter->substr_end) iter->substr_end = iter->eostr; ...
int mutt_seqset_iterator_next(struct SeqsetIterator *iter, unsigned int *next) if (iter->substr_cur == iter->eostr) return 1; iter->substr_end = strchr(iter->substr_cur, ','); if (!iter->substr_end) iter->substr_end = iter->eostr; else *(iter->substr_end++) = '\0'; char *range_s...
CVE-2021-32055
{'CWE-125'}
4.9
{'https://github.com/neomutt/neomutt/commit/fa1db5785e5cfd9d3cd27b7571b9fe268d2ec2dc'}
nvd
Mutt 1.11.0 through 2.0.x before 2.0.7 (and NeoMutt 2019-10-25 through 2021-05-04) has a $imap_qresync issue in which imap/util.c has an out-of-bounds read in situations where an IMAP sequence set ends with a comma. NOTE: the $imap_qresync setting for QRESYNC is not enabled by default.
2021-05-05
1
https://github.com/neomutt/neomutt
https://github.com/neomutt/neomutt/commit/fa1db5785e5cfd9d3cd27b7571b9fe268d2ec2dc
fa1db5785e5cfd9d3cd27b7571b9fe268d2ec2dc
SINGLE
['fa1db5785e5cfd9d3cd27b7571b9fe268d2ec2dc']
{'a89d744197141b81e7ecdc14237cd7a1a4294c07'}
fa1db5785e5cfd9d3cd27b7571b9fe268d2ec2dc
1
05/03/2021, 20:11:30
Fix seqset iterator when it ends in a comma If the seqset ended with a comma, the substr_end marker would be just before the trailing nul. In the next call, the loop to skip the marker would iterate right past the end of string too. The fix is simple: place the substr_end marker and skip past it immediately.
Kevin McCarthy
null
{'additions': 1, 'deletions': 3, 'total': 4}
[ { "additions": 1, "changes": 4, "deletions": 3, "patch": "@@ -1119,13 +1119,11 @@ int mutt_seqset_iterator_next(struct SeqsetIterator *iter, unsigned int *next)\n if (iter->substr_cur == iter->eostr)\n return 1;\n \n- while (!*(iter->substr_cur))\n- iter->substr_cur++;\n iter->...
c
CWE-125
[ "imap/util.c" ]
imap/util.c
1
GF_Err trak_box_size(GF_Box *s) GF_TrackBox *ptr = (GF_TrackBox *)s; if (ptr->sample_encryption && ptr->sample_encryption->load_needed) { GF_Err e = senc_Parse(ptr->moov->mov->movieFileMap->bs, ptr, NULL, ptr->sample_encryption); if (e) return e; }
GF_Err trak_box_size(GF_Box *s) GF_TrackBox *ptr = (GF_TrackBox *)s; if (ptr->sample_encryption && ptr->sample_encryption->load_needed) { if (!ptr->moov || !!ptr->moov->mov || !ptr->moov->mov->movieFileMap) return GF_ISOM_INVALID_FILE; GF_Err e = senc_Parse(ptr->moov->mov->movieFileMap->bs, ptr, NULL, ptr->s...
CVE-2021-32135
{'CWE-476'}
2.9
{'https://github.com/gpac/gpac/commit/b8f8b202d4fc23eb0ab4ce71ae96536ca6f5d3f8'}
nvd
The trak_box_size function in GPAC 1.0.1 allows attackers to cause a denial of service (NULL pointer dereference) via a crafted file in the MP4Box command.
2021-09-13
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/b8f8b202d4fc23eb0ab4ce71ae96536ca6f5d3f8
b8f8b202d4fc23eb0ab4ce71ae96536ca6f5d3f8
SINGLE
['b8f8b202d4fc23eb0ab4ce71ae96536ca6f5d3f8']
{'328c6d682698fdb9878dbb4f282963d42c538c01'}
b8f8b202d4fc23eb0ab4ce71ae96536ca6f5d3f8
1
04/23/2021, 12:37:01
fixed #1757
jeanlf
null
{'additions': 2, 'deletions': 0, 'total': 2}
[ { "additions": 2, "changes": 2, "deletions": 0, "patch": "@@ -6743,6 +6743,8 @@ GF_Err trak_box_size(GF_Box *s)\n \tGF_TrackBox *ptr = (GF_TrackBox *)s;\n \n \tif (ptr->sample_encryption && ptr->sample_encryption->load_needed) {\n+\t\tif (!ptr->moov || !!ptr->moov->mov || !ptr->moov->mov->movieFileM...
c
CWE-476
[ "src/isomedia/box_code_base.c" ]
src/isomedia/box_code_base.c
1
void print_udta(GF_ISOFile *file, u32 track_number, Bool has_itags) u32 udta_size; gf_isom_get_user_data(file, track_number, type, uuid, j+1, &udta, &udta_size); if (!udta) continue; if (gf_utf8_is_legal(udta, udta_size)) { if (first) { fprintf(stderr, "\n"); first = GF_FALSE; } fprin...
void print_udta(GF_ISOFile *file, u32 track_number, Bool has_itags) u32 udta_size; gf_isom_get_user_data(file, track_number, type, uuid, j+1, &udta, &udta_size); if (!udta) continue; if (udta_size && gf_utf8_is_legal(udta, udta_size)) { u32 idx; if (first) { fprintf(stderr, "\n"); first =...
CVE-2021-32136
{'CWE-787'}
6.4
{'https://github.com/gpac/gpac/commit/eb71812fcc10e9c5348a5d1c61bd25b6fa06eaed'}
nvd
Heap buffer overflow in the print_udta function in MP4Box in GPAC 1.0.1 allows attackers to cause a denial of service or execute arbitrary code via a crafted file.
2021-09-13
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/eb71812fcc10e9c5348a5d1c61bd25b6fa06eaed
eb71812fcc10e9c5348a5d1c61bd25b6fa06eaed
SINGLE
['eb71812fcc10e9c5348a5d1c61bd25b6fa06eaed']
{'a9a055595127166f625dc54aefd4901bd136d1c7'}
eb71812fcc10e9c5348a5d1c61bd25b6fa06eaed
1
04/30/2021, 08:37:24
fixed #1765
jeanlf
null
{'additions': 8, 'deletions': 2, 'total': 10}
[ { "additions": 8, "changes": 10, "deletions": 2, "patch": "@@ -1895,12 +1895,18 @@ void print_udta(GF_ISOFile *file, u32 track_number, Bool has_itags)\n \t\t\tu32 udta_size;\n \t\t\tgf_isom_get_user_data(file, track_number, type, uuid, j+1, &udta, &udta_size);\n \t\t\tif (!udta) continue;\n-\t\t\tif...
c
CWE-787
[ "applications/mp4box/filedump.c" ]
applications/mp4box/filedump.c
1
GF_Err Media_GetSample(GF_MediaBox *mdia, u32 sampleNumber, GF_ISOSample **samp, GF_Err Media_CheckDataEntry(GF_MediaBox *mdia, u32 dataEntryIndex) { GF_DataEntryURLBox *entry; GF_DataMap *map; GF_Err e; GF_Err Media_CheckDataEntry(GF_MediaBox *mdia, u32 dataEntryIndex) if (entry->flags == 1) return GF_OK; //o...
GF_Err Media_GetSample(GF_MediaBox *mdia, u32 sampleNumber, GF_ISOSample **samp, GF_Err Media_CheckDataEntry(GF_MediaBox *mdia, u32 dataEntryIndex) { GF_DataEntryURLBox *entry; GF_DataMap *map; GF_Err e; GF_Err Media_CheckDataEntry(GF_MediaBox *mdia, u32 dataEntryIndex) if (entry->flags == 1) return GF_OK; //ok...
CVE-2021-32137
{'CWE-787'}
2.9
{'https://github.com/gpac/gpac/commit/328def7d3b93847d64ecb6e9e0399684e57c3eca'}
nvd
Heap buffer overflow in the URL_GetProtocolType function in MP4Box in GPAC 1.0.1 allows attackers to cause a denial of service or execute arbitrary code via a crafted file.
2021-09-13
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/328def7d3b93847d64ecb6e9e0399684e57c3eca
328def7d3b93847d64ecb6e9e0399684e57c3eca
SINGLE
['328def7d3b93847d64ecb6e9e0399684e57c3eca']
{'eb71812fcc10e9c5348a5d1c61bd25b6fa06eaed'}
328def7d3b93847d64ecb6e9e0399684e57c3eca
1
04/30/2021, 08:43:32
fixed #1766 (fuzz)
jeanlf
null
{'additions': 4, 'deletions': 3, 'total': 7}
[ { "additions": 4, "changes": 7, "deletions": 3, "patch": "@@ -674,7 +674,6 @@ GF_Err Media_GetSample(GF_MediaBox *mdia, u32 sampleNumber, GF_ISOSample **samp,\n \n GF_Err Media_CheckDataEntry(GF_MediaBox *mdia, u32 dataEntryIndex)\n {\n-\n \tGF_DataEntryURLBox *entry;\n \tGF_DataMap *map;\n \tGF_Err...
c
CWE-787
[ "src/isomedia/media.c" ]
src/isomedia/media.c
1
void DumpTrackInfo(GF_ISOFile *file, GF_ISOTrackID trackID, Bool full_dump, Bool fprintf(stderr, "\tAOM AV1 stream - Resolution %d x %d\n", w, h); av1c = gf_isom_av1_config_get(file, trackNum, 1); fprintf(stderr, "\tversion=%u, profile=%u, level_idx0=%u, tier=%u\n", (u32)av1c->version, (u32)av1c->seq_profile, (...
void DumpTrackInfo(GF_ISOFile *file, GF_ISOTrackID trackID, Bool full_dump, Bool fprintf(stderr, "\tAOM AV1 stream - Resolution %d x %d\n", w, h); av1c = gf_isom_av1_config_get(file, trackNum, 1); if (!av1c) { fprintf(stderr, "\tCorrupted av1 config\n"); } else { fprintf(stderr, "\tversion=%u, profile=%...
CVE-2021-32138
{'CWE-476'}
2.9
{'https://github.com/gpac/gpac/commit/289ffce3e0d224d314f5f92a744d5fe35999f20b'}
nvd
The DumpTrackInfo function in GPAC 1.0.1 allows attackers to cause a denial of service (NULL pointer dereference) via a crafted file in the MP4Box command.
2021-09-13
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/289ffce3e0d224d314f5f92a744d5fe35999f20b
289ffce3e0d224d314f5f92a744d5fe35999f20b
SINGLE
['289ffce3e0d224d314f5f92a744d5fe35999f20b']
{'328def7d3b93847d64ecb6e9e0399684e57c3eca'}
289ffce3e0d224d314f5f92a744d5fe35999f20b
1
04/30/2021, 08:47:35
fixed #1767 (fuzz)
jeanlf
null
{'additions': 18, 'deletions': 14, 'total': 32}
[ { "additions": 18, "changes": 32, "deletions": 14, "patch": "@@ -2880,23 +2880,27 @@ void DumpTrackInfo(GF_ISOFile *file, GF_ISOTrackID trackID, Bool full_dump, Bool\n \t\tfprintf(stderr, \"\\tAOM AV1 stream - Resolution %d x %d\\n\", w, h);\n \n \t\tav1c = gf_isom_av1_config_get(file, trackNum, 1);...
c
CWE-476
[ "applications/mp4box/filedump.c" ]
applications/mp4box/filedump.c
1
GF_Err url_box_read(GF_Box *s, GF_BitStream *bs) ptr->location = (char*)gf_malloc((u32) ptr->size); if (! ptr->location) return GF_OUT_OF_MEM; gf_bs_read_data(bs, ptr->location, (u32)ptr->size); } return GF_OK; }
GF_Err url_box_read(GF_Box *s, GF_BitStream *bs) ptr->location = (char*)gf_malloc((u32) ptr->size); if (! ptr->location) return GF_OUT_OF_MEM; gf_bs_read_data(bs, ptr->location, (u32)ptr->size); if (ptr->location[ptr->size-1]) { GF_LOG(GF_LOG_ERROR, GF_LOG_CONTAINER, ("[iso file] url box location is not 0-t...
CVE-2021-32268
{'CWE-787'}
6.4
{'https://github.com/gpac/gpac/commit/388ecce75d05e11fc8496aa4857b91245007d26e'}
nvd
Buffer overflow vulnerability in function gf_fprintf in os_file.c in gpac before 1.0.1 allows attackers to execute arbitrary code. The fixed version is 1.0.1.
2021-09-20
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/388ecce75d05e11fc8496aa4857b91245007d26e
388ecce75d05e11fc8496aa4857b91245007d26e
SINGLE
['388ecce75d05e11fc8496aa4857b91245007d26e']
{'362fc486b5c0eea04f26793d5623f6a9272bd85a'}
388ecce75d05e11fc8496aa4857b91245007d26e
1
09/07/2020, 07:20:37
fixed #1587
jeanlf
null
{'additions': 4, 'deletions': 0, 'total': 4}
[ { "additions": 4, "changes": 4, "deletions": 0, "patch": "@@ -580,6 +580,10 @@ GF_Err url_box_read(GF_Box *s, GF_BitStream *bs)\n \t\tptr->location = (char*)gf_malloc((u32) ptr->size);\n \t\tif (! ptr->location) return GF_OUT_OF_MEM;\n \t\tgf_bs_read_data(bs, ptr->location, (u32)ptr->size);\n+\t\tif...
c
CWE-787
[ "src/isomedia/box_code_base.c" ]
src/isomedia/box_code_base.c
1
static int stszin(int size) u32in(); // Number of entries mp4config.frame.ents = u32in(); // fixme: check atom size mp4config.frame.data = malloc(sizeof(*mp4config.frame.data) * (mp4config.frame.ents + 1));
static int stszin(int size) u32in(); // Number of entries mp4config.frame.ents = u32in(); if (!(mp4config.frame.ents + 1)) return ERR_FAIL; mp4config.frame.data = malloc(sizeof(*mp4config.frame.data) * (mp4config.frame.ents + 1));
CVE-2021-32272
{'CWE-787'}
6.4
{'https://github.com/knik0/faad2/commit/1b71a6ba963d131375f5e489b3b25e36f19f3f24'}
nvd
An issue was discovered in faad2 before 2.10.0. A heap-buffer-overflow exists in the function stszin located in mp4read.c. It allows an attacker to cause Code Execution.
2021-09-20
1
https://github.com/knik0/faad2
https://github.com/knik0/faad2/commit/1b71a6ba963d131375f5e489b3b25e36f19f3f24
1b71a6ba963d131375f5e489b3b25e36f19f3f24
SINGLE
['1b71a6ba963d131375f5e489b3b25e36f19f3f24']
{'1073aeef823cafd844704389e9a497c257768e2f'}
1b71a6ba963d131375f5e489b3b25e36f19f3f24
1
08/31/2020, 08:00:37
fix heap-buffer-overflow in mp4read.c This originated from an integer overflow: If mp4config.frame.ents would be read-in with a value of (uint32t)(-1), it would overflow to 0 in the size calculation for the allocation in the next line. The malloc() function would then successfully return a pointer to a memory region o...
Fabian Greffrath
null
{'additions': 4, 'deletions': 1, 'total': 5}
[ { "additions": 4, "changes": 5, "deletions": 1, "patch": "@@ -344,7 +344,10 @@ static int stszin(int size)\n u32in();\n // Number of entries\n mp4config.frame.ents = u32in();\n- // fixme: check atom size\n+\n+ if (!(mp4config.frame.ents + 1))\n+ return ERR_FAIL;\n+\n mp4...
c
CWE-787
[ "frontend/mp4read.c" ]
frontend/mp4read.c
1
int hci_req_sync(struct hci_dev *hdev, int (*req)(struct hci_request *req, { int ret; if (!test_bit(HCI_UP, &hdev->flags)) return -ENETDOWN; /* Serialize all requests */ hci_req_sync_lock(hdev); ret = __hci_req_sync(hdev, req, opt, timeout, hci_status); hci_req_sync_unlock(hdev); return ret;
int hci_req_sync(struct hci_dev *hdev, int (*req)(struct hci_request *req, { int ret; /* Serialize all requests */ hci_req_sync_lock(hdev); /* check the state after obtaing the lock to protect the HCI_UP * against any races from hci_dev_do_close when the controller * gets removed. */ if (test_bit(HCI_UP, &...
CVE-2021-32399
{'CWE-362'}
6.4
{'https://github.com/torvalds/linux/commit/e2cb6b891ad2b8caa9131e3be70f45243df82a80'}
nvd
net/bluetooth/hci_request.c in the Linux kernel through 5.12.2 has a race condition for removal of the HCI controller.
2021-05-10
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/e2cb6b891ad2b8caa9131e3be70f45243df82a80
e2cb6b891ad2b8caa9131e3be70f45243df82a80
SINGLE
['e2cb6b891ad2b8caa9131e3be70f45243df82a80']
{'9204ff94868496f2d9b8b173af52ec455160c364'}
e2cb6b891ad2b8caa9131e3be70f45243df82a80
1
04/12/2021, 11:17:57
bluetooth: eliminate the potential race condition when removing the HCI controller There is a possible race condition vulnerability between issuing a HCI command and removing the cont. Specifically, functions hci_req_sync() and hci_dev_do_close() can race each other like below: thread-A in hci_req_sync() | th...
Lin Ma
null
{'additions': 8, 'deletions': 4, 'total': 12}
[ { "additions": 8, "changes": 12, "deletions": 4, "patch": "@@ -272,12 +272,16 @@ int hci_req_sync(struct hci_dev *hdev, int (*req)(struct hci_request *req,\n {\n \tint ret;\n \n-\tif (!test_bit(HCI_UP, &hdev->flags))\n-\t\treturn -ENETDOWN;\n-\n \t/* Serialize all requests */\n \thci_req_sync_lock(h...
c
CWE-362
[ "net/bluetooth/hci_request.c" ]
net/bluetooth/hci_request.c
1
static char txt_no_note[] = "No note in voice overlay"; error(1, s, "Erroneous end of voice overlap"); return; } if (p_voice->time != over_mxtime) error(1, s, tx_wrong_dur); curvoice = &voice_tb[over_voice]; over_mxtime = 0; over_voice = -1; over_time = -1;
static char txt_no_note[] = "No note in voice overlay"; error(1, s, "Erroneous end of voice overlap"); return; } curvoice = &voice_tb[over_voice]; if (p_voice->time != over_mxtime) { error(1, s, tx_wrong_dur); if (p_voice->time > over_mxtime) curvoice->time = p_voice->time; else p_voice->t...
CVE-2021-32434
{'CWE-125'}
2.9
{'https://github.com/leesavide/abcm2ps/commit/2f56e1179cab6affeb8afa9d6c324008fe40d8e3'}
nvd
abcm2ps v8.14.11 was discovered to contain an out-of-bounds read in the function calculate_beam at draw.c.
2022-03-10
1
https://github.com/leesavide/abcm2ps
https://github.com/leesavide/abcm2ps/commit/2f56e1179cab6affeb8afa9d6c324008fe40d8e3
2f56e1179cab6affeb8afa9d6c324008fe40d8e3
SINGLE
['2f56e1179cab6affeb8afa9d6c324008fe40d8e3']
{'0cf4a55d52ec94f8199ba2790a96503ecd9e2270'}
2f56e1179cab6affeb8afa9d6c324008fe40d8e3
1
04/27/2021, 09:52:27
fix: array overflow when wrong duration in voice overlay Issue #83,
Jean-Francois Moine
null
{'additions': 7, 'deletions': 2, 'total': 9}
[ { "additions": 7, "changes": 9, "deletions": 2, "patch": "@@ -2011,9 +2011,14 @@ static char txt_no_note[] = \"No note in voice overlay\";\n \t\t\terror(1, s, \"Erroneous end of voice overlap\");\n \t\t\treturn;\n \t\t}\n-\t\tif (p_voice->time != over_mxtime)\n-\t\t\terror(1, s, tx_wrong_dur);\n \t\...
c
CWE-125
[ "parse.c" ]
parse.c
1
static int parse_line(char *p) case CHAR_NOTE: p = parse_note(p - 1, flags); flags &= ABC_F_GRACE; parse.last_sym->u.note.slur_st = slur; slur = 0; if (parse.last_sym->u.note.notes[0].len > 0) /* if not space */ curvoice->last_note = parse.last_sym; break; case CHAR_SLASH: /* '/' */ if (f...
static int parse_line(char *p) case CHAR_NOTE: p = parse_note(p - 1, flags); flags &= ABC_F_GRACE; if (slur && parse.last_sym->u.note.notes[0].len) { parse.last_sym->u.note.slur_st = slur; slur = 0; } break; case CHAR_SLASH: /* '/' */ if (flags & ABC_F_GRACE) static int parse_line(char *...
CVE-2021-32435
{'CWE-787'}
2.9
{'https://github.com/leesavide/abcm2ps/commit/3169ace6d63f6f517a64e8df0298f44a490c4a15'}
nvd
Stack-based buffer overflow in the function get_key in parse.c of abcm2ps v8.14.11 allows remote attackers to cause a Denial of Service (DoS) via unspecified vectors.
2022-03-10
1
https://github.com/leesavide/abcm2ps
https://github.com/leesavide/abcm2ps/commit/3169ace6d63f6f517a64e8df0298f44a490c4a15
3169ace6d63f6f517a64e8df0298f44a490c4a15
SINGLE
['3169ace6d63f6f517a64e8df0298f44a490c4a15']
{'2f56e1179cab6affeb8afa9d6c324008fe40d8e3'}
3169ace6d63f6f517a64e8df0298f44a490c4a15
1
04/27/2021, 14:39:19
fix: crash when accidental without a note at start of line after K: Issue #84.
Jean-Francois Moine
null
{'additions': 10, 'deletions': 7, 'total': 17}
[ { "additions": 10, "changes": 17, "deletions": 7, "patch": "@@ -2040,10 +2040,10 @@ static int parse_line(char *p)\n \t\tcase CHAR_NOTE:\n \t\t\tp = parse_note(p - 1, flags);\n \t\t\tflags &= ABC_F_GRACE;\n-\t\t\tparse.last_sym->u.note.slur_st = slur;\n-\t\t\tslur = 0;\n-\t\t\tif (parse.last_sym->u....
c
CWE-787
[ "abcparse.c" ]
abcparse.c
1
GF_Err gf_hinter_finalize(GF_ISOFile *file, GF_SDP_IODProfile IOD_Profile, u32 b esd = gf_isom_get_esd(file, sceneT, 1); if (gf_isom_get_sample_count(file, sceneT)==1) { samp = gf_isom_get_sample(file, sceneT, 1, &descIndex); if (gf_hinter_can_embbed_data(samp->data, samp->dataLength, GF_STREAM_SCENE)) { ...
GF_Err gf_hinter_finalize(GF_ISOFile *file, GF_SDP_IODProfile IOD_Profile, u32 b esd = gf_isom_get_esd(file, sceneT, 1); if (gf_isom_get_sample_count(file, sceneT)==1) { samp = gf_isom_get_sample(file, sceneT, 1, &descIndex); if (samp && gf_hinter_can_embbed_data(samp->data, samp->dataLength, GF_STREAM_SCENE...
CVE-2021-32437
{'CWE-476'}
2.9
{'https://github.com/gpac/gpac/commit/1653f31cf874eb6df964bea88d58d8e9b98b485e'}
nvd
The gf_hinter_finalize function in GPAC 1.0.1 allows attackers to cause a denial of service (NULL pointer dereference) via a crafted file in the MP4Box command.
2021-08-11
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/1653f31cf874eb6df964bea88d58d8e9b98b485e
1653f31cf874eb6df964bea88d58d8e9b98b485e
SINGLE
['1653f31cf874eb6df964bea88d58d8e9b98b485e']
{'00194f5fe462123f70b0bae7987317b52898b868'}
1653f31cf874eb6df964bea88d58d8e9b98b485e
1
04/30/2021, 08:53:53
fixed #1770 (fuzz)
jeanlf
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -1233,7 +1233,7 @@ GF_Err gf_hinter_finalize(GF_ISOFile *file, GF_SDP_IODProfile IOD_Profile, u32 b\n \t\tesd = gf_isom_get_esd(file, sceneT, 1);\n \t\tif (gf_isom_get_sample_count(file, sceneT)==1) {\n \t\t\tsamp = gf_isom_get_sample(file...
c
CWE-476
[ "src/media_tools/isom_hinter.c" ]
src/media_tools/isom_hinter.c
1
static GF_Err gf_media_export_filters(GF_MediaExporter *dumper) } esd = gf_media_map_esd(dumper->file, track_num, 0); sample_count = gf_isom_get_sample_count(dumper->file, dumper->trackID); if (esd) { if (esd->decoderConfig->objectTypeIndication<GF_CODECID_LAST_MPEG4_MAPPING) { codec_id = gf_codecid_fro...
static GF_Err gf_media_export_filters(GF_MediaExporter *dumper) } esd = gf_media_map_esd(dumper->file, track_num, 0); sample_count = gf_isom_get_sample_count(dumper->file, dumper->trackID); if (esd && esd->decoderConfig) { if (esd->decoderConfig->objectTypeIndication<GF_CODECID_LAST_MPEG4_MAPPING) { cod...
CVE-2021-32438
{'CWE-476'}
2.9
{'https://github.com/gpac/gpac/commit/00194f5fe462123f70b0bae7987317b52898b868'}
nvd
The gf_media_export_filters function in GPAC 1.0.1 allows attackers to cause a denial of service (NULL pointer dereference) via a crafted file in the MP4Box command.
2021-08-11
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/00194f5fe462123f70b0bae7987317b52898b868
00194f5fe462123f70b0bae7987317b52898b868
SINGLE
['00194f5fe462123f70b0bae7987317b52898b868']
{'289ffce3e0d224d314f5f92a744d5fe35999f20b'}
00194f5fe462123f70b0bae7987317b52898b868
1
04/30/2021, 08:50:38
fixed #1769 (fuzz)
jeanlf
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -1108,7 +1108,7 @@ static GF_Err gf_media_export_filters(GF_MediaExporter *dumper)\n \t\t}\n \t\tesd = gf_media_map_esd(dumper->file, track_num, 0);\n \t\tsample_count = gf_isom_get_sample_count(dumper->file, dumper->trackID);\n-\t\tif (es...
c
CWE-476
[ "src/media_tools/media_export.c" ]
src/media_tools/media_export.c
1
gf_realloc low, which greatly impacts performances for large files*/ #ifndef GPAC_DISABLE_ISOM_WRITE //adds a DTS in the table and get the sample number of this new sample //we could return an error if a sample with the same DTS already exists //but this is not true for QT or MJ2K, only for MP4... //we assume the au...
gf_realloc low, which greatly impacts performances for large files*/ #ifndef GPAC_DISABLE_ISOM_WRITE #define CHECK_PACK(_e) \ if (!nb_pack) nb_pack = 1; \ else if ((s32) nb_pack < 0) { \ GF_LOG(GF_LOG_ERROR, GF_LOG_CONTAINER, ("[iso file] Too many samples %u in packed sample\n", nb_pack)); \ return _e; \ } ...
CVE-2021-32439
{'CWE-120'}
6.4
{'https://github.com/gpac/gpac/commit/77ed81c069e10b3861d88f72e1c6be1277ee7eae'}
nvd
Buffer overflow in the stbl_AppendSize function in MP4Box in GPAC 1.0.1 allows attackers to cause a denial of service or execute arbitrary code via a crafted file.
2021-08-11
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/77ed81c069e10b3861d88f72e1c6be1277ee7eae
77ed81c069e10b3861d88f72e1c6be1277ee7eae
SINGLE
['77ed81c069e10b3861d88f72e1c6be1277ee7eae']
{'f0ba83717b6e4d7a15a1676d1fe06152e199b011'}
77ed81c069e10b3861d88f72e1c6be1277ee7eae
1
04/30/2021, 09:30:41
fixed #1774 (fuzz)
jeanlf
null
{'additions': 44, 'deletions': 30, 'total': 74}
[ { "additions": 44, "changes": 74, "deletions": 30, "patch": "@@ -37,11 +37,20 @@ gf_realloc low, which greatly impacts performances for large files*/\n \n #ifndef GPAC_DISABLE_ISOM_WRITE\n \n+\n+#define CHECK_PACK(_e) \\\n+\tif (!nb_pack) nb_pack = 1; \\\n+\telse if ((s32) nb_pack < 0) { \\\n+\t\tGF...
c
CWE-120
[ "src/isomedia/stbl_write.c" ]
src/isomedia/stbl_write.c
1
GF_Err Media_RewriteODFrame(GF_MediaBox *mdia, GF_ISOSample *sample) //then rewrite the ESDesc j=0; while ((ref = (GF_ES_ID_Ref*)gf_list_enum(isom_od->ES_ID_RefDescriptors, &j))) { //if the ref index is not valid, skip this desc... if (!mpod->trackIDs || gf_isom_get_track_from_id(mdia->mediaTrack...
GF_Err Media_RewriteODFrame(GF_MediaBox *mdia, GF_ISOSample *sample) //then rewrite the ESDesc j=0; while ((ref = (GF_ES_ID_Ref*)gf_list_enum(isom_od->ES_ID_RefDescriptors, &j))) { if (!mpod->trackIDs || !ref->trackRef || (ref->trackRef>mpod->trackIDCount)) continue; //if the ref index is not val...
CVE-2021-32440
{'CWE-476'}
2.9
{'https://github.com/gpac/gpac/commit/f0ba83717b6e4d7a15a1676d1fe06152e199b011'}
nvd
The Media_RewriteODFrame function in GPAC 1.0.1 allows attackers to cause a denial of service (NULL pointer dereference) via a crafted file in the MP4Box command.
2021-08-11
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/f0ba83717b6e4d7a15a1676d1fe06152e199b011
f0ba83717b6e4d7a15a1676d1fe06152e199b011
SINGLE
['f0ba83717b6e4d7a15a1676d1fe06152e199b011']
{'185532656c97da3d7ed50a55871f5df42e0b89a9'}
f0ba83717b6e4d7a15a1676d1fe06152e199b011
1
04/30/2021, 09:05:11
fixed #1772 (fuzz)
jeanlf
null
{'additions': 4, 'deletions': 1, 'total': 5}
[ { "additions": 4, "changes": 5, "deletions": 1, "patch": "@@ -131,8 +131,9 @@ GF_Err Media_RewriteODFrame(GF_MediaBox *mdia, GF_ISOSample *sample)\n \t\t\t\t//then rewrite the ESDesc\n \t\t\t\tj=0;\n \t\t\t\twhile ((ref = (GF_ES_ID_Ref*)gf_list_enum(isom_od->ES_ID_RefDescriptors, &j))) {\n+\t\t\t\t\...
c
CWE-476
[ "src/isomedia/media_odf.c" ]
src/isomedia/media_odf.c
1
function doctype(){ // Custom Meta(title,description,keywords) if( ($this->template=='question') and (qa_opt('useo_meta_editor_enable')) ){ $metas = json_decode(qa_db_postmeta_get($this->content['q_view']['raw']['postid'], 'useo-meta-info'),true); $this->meta_title = @$metas['title']; $this->meta_descript...
function doctype(){ // Custom Meta(title,description,keywords) if( ($this->template=='question') and (qa_opt('useo_meta_editor_enable')) ){ $metas = json_decode(qa_db_postmeta_get($this->content['q_view']['raw']['postid'], 'useo-meta-info'),true); $this->meta_title = htmlspecialchars(@$metas['title']); $t...
CVE-2021-3258
{'CWE-79'}
2.9
{'https://github.com/q2a-projects/Q2A-Ultimate-SEO/commit/20069f28147c6f2c3acca4e3f6f5154537c5d536'}
nvd
Question2Answer Q2A Ultimate SEO Version 1.3 is affected by cross-site scripting (XSS), which may lead to arbitrary remote code execution.
2021-02-05
1
https://github.com/q2a-projects/Q2A-Ultimate-SEO
https://github.com/q2a-projects/Q2A-Ultimate-SEO/commit/20069f28147c6f2c3acca4e3f6f5154537c5d536
20069f28147c6f2c3acca4e3f6f5154537c5d536
SINGLE
['20069f28147c6f2c3acca4e3f6f5154537c5d536']
{'a98747da5decd04306673ea6c555e4bca77bd991'}
20069f28147c6f2c3acca4e3f6f5154537c5d536
1
07/16/2017, 03:45:35
Sanitizing Meta output
Towhid
null
{'additions': 14, 'deletions': 14, 'total': 28}
[ { "additions": 14, "changes": 28, "deletions": 14, "patch": "@@ -12,27 +12,27 @@ function doctype(){\n \t\t// Custom Meta(title,description,keywords)\n \t\tif( ($this->template=='question') and (qa_opt('useo_meta_editor_enable')) ){\n \t\t\t$metas = json_decode(qa_db_postmeta_get($this->content['q_v...
php
CWE-79
[ "q2a-ultimate-seo/layer.php" ]
q2a-ultimate-seo/layer.php
1
$sOrder = "ORDER BY "; $i = 0; $col = $_REQUEST["order"][0]["column"]; if ( $_REQUEST['columns'][$col]["searchable"] == "true" ) { $sOrder .= $aColumns[ $col ].' '.$_REQUEST["order"][0]["dir"].', '; }
$sOrder = "ORDER BY "; $i = 0; $col = $_REQUEST["order"][0]["column"]; if ( $_REQUEST['columns'][$col]["searchable"] == "true" and preg_match('/^(asc|desc)$/i', $_REQUEST["order"][0]["dir"])) { $sOrder .= $aColumns[ $col ].' '.$_REQUEST["order"][0]["dir"].', '; }
CVE-2021-32615
{'CWE-89'}
6.4
{'https://github.com/Piwigo/Piwigo/commit/2ce1e5952238eba0fe5c5d6537ebdc76cb970b52'}
nvd
Piwigo 11.4.0 allows admin/user_list_backend.php order[0][dir] SQL Injection.
2021-05-13
1
https://github.com/Piwigo/Piwigo
https://github.com/Piwigo/Piwigo/commit/2ce1e5952238eba0fe5c5d6537ebdc76cb970b52
2ce1e5952238eba0fe5c5d6537ebdc76cb970b52
SINGLE
['2ce1e5952238eba0fe5c5d6537ebdc76cb970b52']
{'fbb489b3dad3c465933db942c06d7328f268492d'}
2ce1e5952238eba0fe5c5d6537ebdc76cb970b52
1
05/13/2021, 10:38:45
fixes #1410 check on user input to prevent SQL injection
plegall
{'com_1': {'author': 'nu11secur1ty', 'datetime': '06/04/2021, 06:18:20', 'body': 'Good job. =)\r\n`if ( $_REQUEST[\'columns\'][$col]["searchable"] == "true" and preg_match(\'/^(asc|desc)$/i\', $_REQUEST["order"][0]["dir"]))`'}}
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -65,7 +65,7 @@\n $sOrder = \"ORDER BY \";\n $i = 0;\n $col = $_REQUEST[\"order\"][0][\"column\"];\n- if ( $_REQUEST['columns'][$col][\"searchable\"] == \"true\" )\n+ if ( $_REQUEST['columns'][$col][\"searchable\"] == \"true\" and ...
php
CWE-89
[ "admin/user_list_backend.php" ]
admin/user_list_backend.php
1
void sha1hex(char *digest, char *script, size_t len) { */ char *redisProtocolToLuaType(lua_State *lua, char* reply) { char *p = reply; switch(*p) { char *redisProtocolToLuaType_Aggregate(lua_State *lua, char *reply, int atype) { if (atype == '%') { p = redisProtocolToLuaType(lua,...
void sha1hex(char *digest, char *script, size_t len) { */ char *redisProtocolToLuaType(lua_State *lua, char* reply) { if (!lua_checkstack(lua, 5)) { /* * Increase the Lua stack if needed, to make sure there is enough room * to push 5 elements to the stack. On failure, exit with panic. ...
CVE-2021-32626
{'CWE-787'}
6.4
{'https://github.com/redis/redis/commit/666ed7facf4524bf6d19b11b20faa2cf93fdf591'}
nvd
Redis is an open source, in-memory database that persists on disk. In affected versions specially crafted Lua scripts executing in Redis can cause the heap-based Lua stack to be overflowed, due to incomplete checks for this condition. This can result with heap corruption and potentially remote code execution. This prob...
2021-10-04
1
https://github.com/redis/redis
https://github.com/redis/redis/commit/666ed7facf4524bf6d19b11b20faa2cf93fdf591
666ed7facf4524bf6d19b11b20faa2cf93fdf591
SINGLE
['666ed7facf4524bf6d19b11b20faa2cf93fdf591']
{'6ac3c0b7abd35f37201ed2d6298ecef4ea1ae1dd'}
666ed7facf4524bf6d19b11b20faa2cf93fdf591
1
06/13/2021, 11:27:18
Fix invalid memory write on lua stack overflow {CVE-2021-32626} When LUA call our C code, by default, the LUA stack has room for 20 elements. In most cases, this is more than enough but sometimes it's not and the caller must verify the LUA stack size before he pushes elements. On 3 places in the code, there was no ve...
meir@redislabs.com
null
{'additions': 41, 'deletions': 0, 'total': 41}
[ { "additions": 41, "changes": 41, "deletions": 0, "patch": "@@ -128,6 +128,16 @@ void sha1hex(char *digest, char *script, size_t len) {\n */\n \n char *redisProtocolToLuaType(lua_State *lua, char* reply) {\n+\n+ if (!lua_checkstack(lua, 5)) {\n+ /*\n+ * Increase the Lua stack if n...
c
CWE-787
[ "src/scripting.c" ]
src/scripting.c
1
* along with this program. If not, see <http://www.gnu.org/licenses/>. * */ (function() { /** * @class OCA.Circles.FileList }, formatResult: function (circle) { return circle.name; }, formatSelection: function (circle) { return circle.name; //return OC.SystemTags.getDescriptiveT...
* along with this program. If not, see <http://www.gnu.org/licenses/>. * */ function escapeHTML(text) { return text.toString() .split('&').join('&amp;') .split('<').join('&lt;') .split('>').join('&gt;') .split('"').join('&quot;') .split('\'').join('&#039;') } (function() { /** * @class OCA.Circles...
CVE-2021-32782
{'CWE-79'}
2.9
{'https://github.com/nextcloud/circles/commit/dbb97a83ccb342c839a54f088aa19b8ba6844b0e'}
nvd
Nextcloud Circles is an open source social network built for the nextcloud ecosystem. In affected versions the Nextcloud Circles application is vulnerable to a stored Cross-Site Scripting (XSS) vulnerability. Due the strict Content-Security-Policy shipped with Nextcloud, this issue is not exploitable on modern browsers...
2021-09-07
1
https://github.com/nextcloud/circles
https://github.com/nextcloud/circles/commit/dbb97a83ccb342c839a54f088aa19b8ba6844b0e
dbb97a83ccb342c839a54f088aa19b8ba6844b0e
SINGLE
['dbb97a83ccb342c839a54f088aa19b8ba6844b0e']
{'e2bf90b945dee6207121e44a18d92b224c07cd07'}
dbb97a83ccb342c839a54f088aa19b8ba6844b0e
1
07/01/2021, 11:49:43
escapeHTML when browsing shared files Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Maxence Lange
null
{'additions': 13, 'deletions': 3, 'total': 16}
[ { "additions": 13, "changes": 16, "deletions": 3, "patch": "@@ -22,6 +22,17 @@\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n+\n+\n+function escapeHTML(text) {\n+\treturn text.toString()\n+\t\t.split('&').join('&amp;')\n+\t\t.split('<').join('&lt;')\n+\t\t.sp...
js
CWE-79
[ "js/files/circles.files.list.js" ]
js/files/circles.files.list.js
1
function _sendFile(fileRequested, req, res, stats) { if (conf.enableGZIPEncoding && acceptEncodingHeader.includes("gzip") && mime && (!Array.isArray(mime) || Array.isArray(mime) && mime[1]) ) { res.writeHead(200, _getServerHeaders({ "Content-Type": Array.isArray(mime)?mime[0]:mime, "Content-Encoding": "gzip" },...
function _sendFile(fileRequested, req, res, stats) { if (conf.enableGZIPEncoding && acceptEncodingHeader.includes("gzip") && mime && (!Array.isArray(mime) || Array.isArray(mime) && mime[1]) ) { res.writeHead(200, _getServerHeaders({ "Content-Type": Array.isArray(mime)?mime[0]:mime, "Content-Encoding": "gzip" },...
CVE-2021-32812
{'CWE-79', 'CWE-116'}
2.9
{'https://github.com/TekMonksGitHub/monkshu/commit/4601a9bfdc934d7ac32619ce621652fad0cf452b'}
nvd
Monkshu is an enterprise application server for mobile apps (iOS and Android), responsive HTML 5 apps, and JSON API services. In version 2.90 and earlier, there is a reflected cross-site scripting vulnerability in frontend HTTP server. The attacker can send in a carefully crafted URL along with a known bug in the serve...
2021-08-02
1
https://github.com/TekMonksGitHub/monkshu
https://github.com/TekMonksGitHub/monkshu/commit/4601a9bfdc934d7ac32619ce621652fad0cf452b
4601a9bfdc934d7ac32619ce621652fad0cf452b
SINGLE
['4601a9bfdc934d7ac32619ce621652fad0cf452b']
{'c83fde7f212aa049f8f3028f15d9ed4083e77dee'}
4601a9bfdc934d7ac32619ce621652fad0cf452b
1
07/31/2021, 05:01:35
Fix for GHSA-hcpx-66hq-7g4x. Cross-site reflection
TekMonksGitHub
null
{'additions': 2, 'deletions': 2, 'total': 4}
[ { "additions": 2, "changes": 4, "deletions": 2, "patch": "@@ -131,12 +131,12 @@ function _sendFile(fileRequested, req, res, stats) {\n \t\t\tif (conf.enableGZIPEncoding && acceptEncodingHeader.includes(\"gzip\") && mime && (!Array.isArray(mime) || Array.isArray(mime) && mime[1]) ) {\n \t\t\t\tres.wr...
js
CWE-79
[ "frontend/server/server.js" ]
frontend/server/server.js
1
class HtmlUtils { return output.join('').replace(/\s+/g, ' '); } sanitizeHtml(html: string, options: any = null) { options = Object.assign({}, { // If true, adds a "jop-noMdConv" class to all the tags. // It can be used afterwards to restore HTML tags in Markdown. class HtmlUtils { // "link" can be used...
class HtmlUtils { return output.join('').replace(/\s+/g, ' '); } public sanitizeHtml(html: string, options: any = null) { options = Object.assign({}, { // If true, adds a "jop-noMdConv" class to all the tags. // It can be used afterwards to restore HTML tags in Markdown. class HtmlUtils { // "link" can ...
CVE-2021-33295
{'CWE-79'}
2.9
{'https://github.com/laurent22/joplin/commit/9c20d5947d1fa4678a8b640792ff3d31224f0adf'}
nvd
Cross Site Scripting (XSS) vulnerability in Joplin Desktop App before 1.8.5 allows attackers to execute aribrary code due to improper sanitizing of html.
2022-06-16
1
https://github.com/laurent22/joplin
https://github.com/laurent22/joplin/commit/9c20d5947d1fa4678a8b640792ff3d31224f0adf
9c20d5947d1fa4678a8b640792ff3d31224f0adf
SINGLE
['9c20d5947d1fa4678a8b640792ff3d31224f0adf']
{'bb77d7171a39d5eb57e6804008a910a4111a045a'}
9c20d5947d1fa4678a8b640792ff3d31224f0adf
1
05/10/2021, 09:22:12
All: Security: Filter out NOSCRIPT tags that could be used to cause an XSS (thanks to Jubair Rehman for the PoC)
Laurent Cozic
null
{'additions': 2, 'deletions': 2, 'total': 4}
[ { "additions": 2, "changes": 4, "deletions": 2, "patch": "@@ -133,7 +133,7 @@ class HtmlUtils {\n \t\treturn output.join('').replace(/\\s+/g, ' ');\n \t}\n \n-\tsanitizeHtml(html: string, options: any = null) {\n+\tpublic sanitizeHtml(html: string, options: any = null) {\n \t\toptions = Object.assig...
ts
CWE-79
[ "packages/renderer/htmlUtils.ts" ]
packages/renderer/htmlUtils.ts
1
static Bool hevc_parse_vps_extension(HEVC_VPS *vps, GF_BitStream *bs) } vps->num_output_layer_sets = num_add_olss + NumLayerSets; layer_set_idx_for_ols_minus1[0] = 1; vps->output_layer_flag[0][0] = 1;
static Bool hevc_parse_vps_extension(HEVC_VPS *vps, GF_BitStream *bs) } vps->num_output_layer_sets = num_add_olss + NumLayerSets; if (vps->num_output_layer_sets > MAX_LHVC_LAYERS) { GF_LOG(GF_LOG_ERROR, GF_LOG_CODING, ("[HEVC] Wrong number of output layer sets in VPS %d, max %d supported\n", vps->num_output_laye...
CVE-2021-33362
{'CWE-787'}
6.4
{'https://github.com/gpac/gpac/commit/1273cdc706eeedf8346d4b9faa5b33435056061d'}
nvd
Stack buffer overflow in the hevc_parse_vps_extension function in MP4Box in GPAC 1.0.1 allows attackers to cause a denial of service or execute arbitrary code via a crafted file.
2021-09-13
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/1273cdc706eeedf8346d4b9faa5b33435056061d
1273cdc706eeedf8346d4b9faa5b33435056061d
SINGLE
['1273cdc706eeedf8346d4b9faa5b33435056061d']
{'beb3c20bab04614e170cf0da1aa8d0bffc68c643'}
1273cdc706eeedf8346d4b9faa5b33435056061d
1
05/10/2021, 08:56:28
fixed #1780 (fuzz)
jeanlf
null
{'additions': 5, 'deletions': 0, 'total': 5}
[ { "additions": 5, "changes": 5, "deletions": 0, "patch": "@@ -7475,6 +7475,11 @@ static Bool hevc_parse_vps_extension(HEVC_VPS *vps, GF_BitStream *bs)\n \t}\n \tvps->num_output_layer_sets = num_add_olss + NumLayerSets;\n \n+\tif (vps->num_output_layer_sets > MAX_LHVC_LAYERS) {\n+\t\tGF_LOG(GF_LOG_ER...
c
CWE-787
[ "src/media_tools/av_parsers.c" ]
src/media_tools/av_parsers.c
1
GF_Err infe_box_read(GF_Box *s, GF_BitStream *bs) ptr->content_type = (char*)gf_malloc(sizeof(char)*string_len); if (!ptr->content_type) return GF_OUT_OF_MEM; memcpy(ptr->content_type, buf+string_start, string_len); } else { ptr->content_encoding = (char*)gf_malloc(sizeof(char)*string_len); if (...
GF_Err infe_box_read(GF_Box *s, GF_BitStream *bs) ptr->content_type = (char*)gf_malloc(sizeof(char)*string_len); if (!ptr->content_type) return GF_OUT_OF_MEM; memcpy(ptr->content_type, buf+string_start, string_len); } else if (!ptr->content_encoding) { ptr->content_encoding = (char*)gf_malloc(sizeof...
CVE-2021-33363
{'CWE-401'}
2.9
{'https://github.com/gpac/gpac/commit/ec64c7b8966d7e4642d12debb888be5acf18efb9'}
nvd
Memory leak in the infe_box_read function in MP4Box in GPAC 1.0.1 allows attackers to read memory via a crafted file.
2021-09-13
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/ec64c7b8966d7e4642d12debb888be5acf18efb9
ec64c7b8966d7e4642d12debb888be5acf18efb9
SINGLE
['ec64c7b8966d7e4642d12debb888be5acf18efb9']
{'0a85029d694f992f3631e2f249e4999daee15cbf'}
ec64c7b8966d7e4642d12debb888be5acf18efb9
1
05/10/2021, 09:31:19
fixed #1786 (fuzz)
jeanlf
null
{'additions': 4, 'deletions': 1, 'total': 5}
[ { "additions": 4, "changes": 5, "deletions": 1, "patch": "@@ -566,10 +566,13 @@ GF_Err infe_box_read(GF_Box *s, GF_BitStream *bs)\n \t\t\t\tptr->content_type = (char*)gf_malloc(sizeof(char)*string_len);\n \t\t\t\tif (!ptr->content_type) return GF_OUT_OF_MEM;\n \t\t\t\tmemcpy(ptr->content_type, buf+s...
c
CWE-401
[ "src/isomedia/box_code_meta.c" ]
src/isomedia/box_code_meta.c
1
static GF_Err gf_isom_parse_movie_boxes_internal(GF_ISOFile *mov, u32 *boxType, if (pos<0) pos=0; gf_list_insert(mov->TopBoxes, brand, pos); } } break;
static GF_Err gf_isom_parse_movie_boxes_internal(GF_ISOFile *mov, u32 *boxType, if (pos<0) pos=0; gf_list_insert(mov->TopBoxes, brand, pos); } gf_isom_box_del(a); } break;
CVE-2021-33364
{'CWE-401'}
2.9
{'https://github.com/gpac/gpac/commit/fe5155cf047252d1c4cb91602048bfa682af0ea7'}
nvd
Memory leak in the def_parent_box_new function in MP4Box in GPAC 1.0.1 allows attackers to read memory via a crafted file.
2021-09-13
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/fe5155cf047252d1c4cb91602048bfa682af0ea7
fe5155cf047252d1c4cb91602048bfa682af0ea7
SINGLE
['fe5155cf047252d1c4cb91602048bfa682af0ea7']
{'a51f951b878c2b73c1d8e2f1518c7cdc5fb82c3f'}
fe5155cf047252d1c4cb91602048bfa682af0ea7
1
05/10/2021, 09:18:59
fixed #1783 (fuzz)
jeanlf
null
{'additions': 1, 'deletions': 0, 'total': 1}
[ { "additions": 1, "changes": 1, "deletions": 0, "patch": "@@ -497,6 +497,7 @@ static GF_Err gf_isom_parse_movie_boxes_internal(GF_ISOFile *mov, u32 *boxType,\n \t\t\t\t\tif (pos<0) pos=0;\n \t\t\t\t\tgf_list_insert(mov->TopBoxes, brand, pos);\n \t\t\t\t}\n+\t\t\t\tgf_isom_box_del(a);\n \t\t\t}\n \t\...
c
CWE-401
[ "src/isomedia/isom_intern.c" ]
src/isomedia/isom_intern.c
1
GF_Descriptor *gf_isom_get_root_od(GF_ISOFile *movie) //duplicate our descriptor movie->LastError = gf_odf_desc_copy((GF_Descriptor *) movie->moov->iods->descriptor, &desc); if (movie->LastError) return NULL; if (!useIOD) { isom_od = (GF_IsomObjectDescriptor *)desc;
GF_Descriptor *gf_isom_get_root_od(GF_ISOFile *movie) //duplicate our descriptor movie->LastError = gf_odf_desc_copy((GF_Descriptor *) movie->moov->iods->descriptor, &desc); if (movie->LastError) { if (od) { gf_list_del(od->ESDescriptors); gf_free(od); } if (iod) { gf_list_del(iod->ESDescriptors); ...
CVE-2021-33365
{'CWE-401'}
2.9
{'https://github.com/gpac/gpac/commit/984787de3d414a5f7d43d0b4584d9469dff2a5a5'}
nvd
Memory leak in the gf_isom_get_root_od function in MP4Box in GPAC 1.0.1 allows attackers to read memory via a crafted file.
2021-09-13
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/984787de3d414a5f7d43d0b4584d9469dff2a5a5
984787de3d414a5f7d43d0b4584d9469dff2a5a5
SINGLE
['984787de3d414a5f7d43d0b4584d9469dff2a5a5']
{'fe5155cf047252d1c4cb91602048bfa682af0ea7'}
984787de3d414a5f7d43d0b4584d9469dff2a5a5
1
05/10/2021, 09:24:17
fixed #1784 (fuzz)
jeanlf
null
{'additions': 11, 'deletions': 1, 'total': 12}
[ { "additions": 11, "changes": 12, "deletions": 1, "patch": "@@ -694,7 +694,17 @@ GF_Descriptor *gf_isom_get_root_od(GF_ISOFile *movie)\n \n \t//duplicate our descriptor\n \tmovie->LastError = gf_odf_desc_copy((GF_Descriptor *) movie->moov->iods->descriptor, &desc);\n-\tif (movie->LastError) return N...
c
CWE-401
[ "src/isomedia/isom_read.c" ]
src/isomedia/isom_read.c
1
GF_Err gf_isom_oinf_read_entry(void *entry, GF_BitStream *bs) op->output_layer_set_idx = gf_bs_read_u16(bs); op->max_temporal_id = gf_bs_read_u8(bs); op->layer_count = gf_bs_read_u8(bs); if (op->layer_count > GF_ARRAY_LENGTH(op->layers_info)) return GF_NON_COMPLIANT_BITSTREAM; for (j = 0; j < op->layer_co...
GF_Err gf_isom_oinf_read_entry(void *entry, GF_BitStream *bs) op->output_layer_set_idx = gf_bs_read_u16(bs); op->max_temporal_id = gf_bs_read_u8(bs); op->layer_count = gf_bs_read_u8(bs); if (op->layer_count > GF_ARRAY_LENGTH(op->layers_info)) { gf_free(op); return GF_NON_COMPLIANT_BITSTREAM; } for (j...
CVE-2021-33366
{'CWE-401'}
2.9
{'https://github.com/gpac/gpac/commit/0a85029d694f992f3631e2f249e4999daee15cbf'}
nvd
Memory leak in the gf_isom_oinf_read_entry function in MP4Box in GPAC 1.0.1 allows attackers to read memory via a crafted file.
2021-09-13
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/0a85029d694f992f3631e2f249e4999daee15cbf
0a85029d694f992f3631e2f249e4999daee15cbf
SINGLE
['0a85029d694f992f3631e2f249e4999daee15cbf']
{'984787de3d414a5f7d43d0b4584d9469dff2a5a5'}
0a85029d694f992f3631e2f249e4999daee15cbf
1
05/10/2021, 09:26:57
fixed #1785 (fuzz)
jeanlf
null
{'additions': 3, 'deletions': 1, 'total': 4}
[ { "additions": 3, "changes": 4, "deletions": 1, "patch": "@@ -3373,8 +3373,10 @@ GF_Err gf_isom_oinf_read_entry(void *entry, GF_BitStream *bs)\n \t\top->output_layer_set_idx = gf_bs_read_u16(bs);\n \t\top->max_temporal_id = gf_bs_read_u8(bs);\n \t\top->layer_count = gf_bs_read_u8(bs);\n-\t\tif (op->...
c
CWE-401
[ "src/isomedia/avc_ext.c" ]
src/isomedia/avc_ext.c
1
Map1to1(SDL_Palette * src, SDL_Palette * dst, int *identical) } *identical = 0; } map = (Uint8 *) SDL_malloc(src->ncolors); if (map == NULL) { SDL_OutOfMemory(); return (NULL); Map1toN(SDL_PixelFormat * src, Uint8 Rmod, Uint8 Gmod, Uint8 Bmod, Uint8 Amod, SDL_Palette *pa...
Map1to1(SDL_Palette * src, SDL_Palette * dst, int *identical) } *identical = 0; } map = (Uint8 *) SDL_calloc(256, sizeof(Uint8)); if (map == NULL) { SDL_OutOfMemory(); return (NULL); Map1toN(SDL_PixelFormat * src, Uint8 Rmod, Uint8 Gmod, Uint8 Bmod, Uint8 Amod, SDL_Palet...
CVE-2021-33657
{'CWE-787'}
6.4
{'https://github.com/libsdl-org/SDL/commit/8c91cf7dba5193f5ce12d06db1336515851c9ee9'}
nvd
There is a heap overflow problem in video/SDL_pixels.c in SDL (Simple DirectMedia Layer) 2.x to 2.0.18 versions. By crafting a malicious .BMP file, an attacker can cause the application using this library to crash, denial of service or Code execution.
2022-04-01
1
https://github.com/libsdl-org/SDL
https://github.com/libsdl-org/SDL/commit/8c91cf7dba5193f5ce12d06db1336515851c9ee9
8c91cf7dba5193f5ce12d06db1336515851c9ee9
SINGLE
['8c91cf7dba5193f5ce12d06db1336515851c9ee9']
{'056c09942dbffaa128612fc6f1969ab0fc28e2ac'}
8c91cf7dba5193f5ce12d06db1336515851c9ee9
1
11/30/2021, 20:36:46
Always create a full 256-entry map in case color values are out of range Fixes https://github.com/libsdl-org/SDL/issues/5042
Sam Lantinga
{'com_1': {'author': 'carnil', 'datetime': '04/05/2022, 20:37:34', 'body': 'Looks this fix is related to [CVE-2021-33657](https://www.cve.org/CVERecord?id=CVE-2021-33657)'}}
{'additions': 2, 'deletions': 2, 'total': 4}
[ { "additions": 2, "changes": 4, "deletions": 2, "patch": "@@ -947,7 +947,7 @@ Map1to1(SDL_Palette * src, SDL_Palette * dst, int *identical)\n }\n *identical = 0;\n }\n- map = (Uint8 *) SDL_malloc(src->ncolors);\n+ map = (Uint8 *) SDL_calloc(256, sizeof(Uint8));\n if (ma...
c
CWE-787
[ "src/video/SDL_pixels.c" ]
src/video/SDL_pixels.c
1
static void seq_set_overflow(struct seq_file *m) static void *seq_buf_alloc(unsigned long size) { return kvmalloc(size, GFP_KERNEL_ACCOUNT); }
static void seq_set_overflow(struct seq_file *m) static void *seq_buf_alloc(unsigned long size) { if (unlikely(size > MAX_RW_COUNT)) return NULL; return kvmalloc(size, GFP_KERNEL_ACCOUNT); }
CVE-2021-33909
{'CWE-120'}
10
{'https://github.com/torvalds/linux/commit/8cae8cd89f05f6de223d63e6d15e31c8ba9cf53b'}
nvd
fs/seq_file.c in the Linux kernel 3.16 through 5.13.x before 5.13.4 does not properly restrict seq buffer allocations, leading to an integer overflow, an Out-of-bounds Write, and escalation to root by an unprivileged user, aka CID-8cae8cd89f05.
2021-07-20
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/8cae8cd89f05f6de223d63e6d15e31c8ba9cf53b
8cae8cd89f05f6de223d63e6d15e31c8ba9cf53b
SINGLE
['8cae8cd89f05f6de223d63e6d15e31c8ba9cf53b']
{'2734d6c1b1a089fb593ef6a23d4b70903526fe0c'}
8cae8cd89f05f6de223d63e6d15e31c8ba9cf53b
1
07/13/2021, 15:49:23
seq_file: disallow extremely large seq buffer allocations There is no reasonable need for a buffer larger than this, and it avoids int overflow pitfalls. Fixes: 058504edd026 ("fs/seq_file: fallback to vmalloc allocation") Suggested-by: Al Viro <viro@zeniv.linux.org.uk> Reported-by: Qualys Security Advisory <qsa@qualy...
Eric Sandeen
null
{'additions': 3, 'deletions': 0, 'total': 3}
[ { "additions": 3, "changes": 3, "deletions": 0, "patch": "@@ -32,6 +32,9 @@ static void seq_set_overflow(struct seq_file *m)\n \n static void *seq_buf_alloc(unsigned long size)\n {\n+\tif (unlikely(size > MAX_RW_COUNT))\n+\t\treturn NULL;\n+\n \treturn kvmalloc(size, GFP_KERNEL_ACCOUNT);\n }", "...
c
CWE-120
[ "fs/seq_file.c" ]
fs/seq_file.c
1
exports.chat = (() => { 'Replacing with "unknown". This may be a bug or a database corruption.'); } const authorClass = `author-${msg.userId.replace(/[^a-y0-9]/g, (c) => { if (c === '.') return '-'; return `z${c.charCodeAt(0)}z`;
exports.chat = (() => { 'Replacing with "unknown". This may be a bug or a database corruption.'); } msg.userId = padutils.escapeHtml(msg.userId); const authorClass = `author-${msg.userId.replace(/[^a-y0-9]/g, (c) => { if (c === '.') return '-'; return `z${c.charCodeAt(0)}...
CVE-2021-34817
{'CWE-79'}
2.9
{'https://github.com/ether/etherpad-lite/commit/a7968115581e20ef47a533e030f59f830486bdfa'}
nvd
A Cross-Site Scripting (XSS) issue in the chat component of Etherpad 1.8.13 allows remote attackers to inject arbitrary JavaScript or HTML by importing a crafted pad.
2021-07-19
1
https://github.com/ether/etherpad-lite
https://github.com/ether/etherpad-lite/commit/a7968115581e20ef47a533e030f59f830486bdfa
a7968115581e20ef47a533e030f59f830486bdfa
SINGLE
['a7968115581e20ef47a533e030f59f830486bdfa']
{'9408d4395f67cc0fc9304bfc5177afe981a7374a'}
a7968115581e20ef47a533e030f59f830486bdfa
1
04/06/2021, 10:52:04
escape userId before setting it as HTML attribute
webzwo0i
null
{'additions': 1, 'deletions': 0, 'total': 1}
[ { "additions": 1, "changes": 1, "deletions": 0, "patch": "@@ -129,6 +129,7 @@ exports.chat = (() => {\n 'Replacing with \"unknown\". This may be a bug or a database corruption.');\n }\n \n+ msg.userId = padutils.escapeHtml(msg.userId);\n const authorClass = `author-${msg...
js
CWE-79
[ "src/static/js/chat.js" ]
src/static/js/chat.js
1
int HevcHdrUnit::deserialize() nbyte = m_reader.getBits(8); payloadSize += nbyte; } if (payloadType == 137 && !isHDR10) // mastering_display_colour_volume { isHDR10 = true;
int HevcHdrUnit::deserialize() nbyte = m_reader.getBits(8); payloadSize += nbyte; } if (m_reader.getBitsLeft() < payloadSize * 8) { LTRACE(LT_WARN, 2, "Bad SEI detected. SEI too short"); return 1; } ...
CVE-2021-35344
{'CWE-787'}
6.4
{'https://github.com/justdan96/tsMuxer/pull/439/commits/3a889a37b5b74a45025aca13ebda394b8f706ef3'}
nvd
tsMuxer v2.6.16 was discovered to contain a heap-based buffer overflow via the function BitStreamReader::getCurVal in bitStream.h.
2021-12-03
1
https://github.com/justdan96/tsMuxer
https://github.com/justdan96/tsMuxer/pull/439/commits/3a889a37b5b74a45025aca13ebda394b8f706ef3
3a889a37b5b74a45025aca13ebda394b8f706ef3
SINGLE
['3a889a37b5b74a45025aca13ebda394b8f706ef3']
{'f6ab2a2a89d576e5f35970c18fe69a479a6ca904'}
3a889a37b5b74a45025aca13ebda394b8f706ef3
1
05/30/2021, 08:34:13
[bug] Buffer overflow when SEI payloadSize > bits left Fixes #433 .
jcdr428
null
{'additions': 5, 'deletions': 0, 'total': 5}
[ { "additions": 5, "changes": 5, "deletions": 0, "patch": "@@ -979,6 +979,11 @@ int HevcHdrUnit::deserialize()\n nbyte = m_reader.getBits(8);\n payloadSize += nbyte;\n }\n+ if (m_reader.getBitsLeft() < payloadSize * 8)\n+ {\n+ ...
cpp
CWE-787
[ "tsMuxer/hevc.cpp" ]
tsMuxer/hevc.cpp
1
int flb_parser_json_do(struct flb_parser *parser, *out_size = tmp_out_size; if (mp_buf != tmp_out_buf) { flb_free(mp_buf); } /* Do time resolution ? */ int flb_parser_json_do(struct flb_parser *parser, /* Ensure the pointer we are about to read is not NULL */ if (k->via.str.ptr...
int flb_parser_json_do(struct flb_parser *parser, *out_size = tmp_out_size; if (mp_buf != tmp_out_buf) { flb_free(mp_buf); mp_buf = NULL; } /* Do time resolution ? */ int flb_parser_json_do(struct flb_parser *parser, /* Ensure the pointer we are about to read is not NULL */ ...
CVE-2021-36088
{'CWE-415'}
6.4
{'https://github.com/fluent/fluent-bit/commit/22346a74c07ceb90296be872be2d53eb92252a54'}
nvd
Fluent Bit (aka fluent-bit) 1.7.0 through 1.7,4 has a double free in flb_free (called from flb_parser_json_do and flb_parser_do).
2021-07-01
1
https://github.com/fluent/fluent-bit
https://github.com/fluent/fluent-bit/commit/22346a74c07ceb90296be872be2d53eb92252a54
22346a74c07ceb90296be872be2d53eb92252a54
SINGLE
['22346a74c07ceb90296be872be2d53eb92252a54']
{'592d401887c1e323ef9bcd4819c637552b50b9c0'}
22346a74c07ceb90296be872be2d53eb92252a54
1
05/06/2021, 18:52:11
parser: json: fix double-free (#3453) Signed-off-by: davkor <david@adalogics.com>
DavidKorczynski
null
{'additions': 2, 'deletions': 0, 'total': 2}
[ { "additions": 2, "changes": 2, "deletions": 0, "patch": "@@ -111,6 +111,7 @@ int flb_parser_json_do(struct flb_parser *parser,\n *out_size = tmp_out_size;\n if (mp_buf != tmp_out_buf) {\n flb_free(mp_buf);\n+ mp_buf = NULL;\n }\n \n /* Do time resolution ? */\n@@ -141...
c
CWE-415
[ "src/flb_parser_json.c" ]
src/flb_parser_json.c
1
static int bcm_delete_rx_op(struct list_head *ops, struct bcm_msg_head *mh, bcm_rx_handler, op); list_del(&op->list); bcm_remove_op(op); return 1; /* done */ } static int bcm_release(struct socket *sock) REGMASK(op->can_id), bcm_rx_handler, op); bcm_remove_op(op); } #if IS_ENABLE...
static int bcm_delete_rx_op(struct list_head *ops, struct bcm_msg_head *mh, bcm_rx_handler, op); list_del(&op->list); synchronize_rcu(); bcm_remove_op(op); return 1; /* done */ } static int bcm_release(struct socket *sock) REGMASK(op->can_id), bcm_rx_handler, op); } synchronize...
CVE-2021-3609
{'CWE-362'}
10
{'https://github.com/torvalds/linux/commit/d5f9023fa61ee8b94f37a93f08e94b136cf1e463'}
nvd
.A flaw was found in the CAN BCM networking protocol in the Linux kernel, where a local attacker can abuse a flaw in the CAN subsystem to corrupt memory, crash the system or escalate privileges. This race condition in net/can/bcm.c in the Linux kernel allows for local privilege escalation to root.
2022-03-03
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/d5f9023fa61ee8b94f37a93f08e94b136cf1e463
d5f9023fa61ee8b94f37a93f08e94b136cf1e463
SINGLE
['d5f9023fa61ee8b94f37a93f08e94b136cf1e463']
{'dda2626b86c2c1813b7bfdd10d2fdd849611fc97'}
d5f9023fa61ee8b94f37a93f08e94b136cf1e463
1
06/19/2021, 16:18:13
can: bcm: delay release of struct bcm_op after synchronize_rcu() can_rx_register() callbacks may be called concurrently to the call to can_rx_unregister(). The callbacks and callback data, though, are protected by RCU and the struct sock reference count. So the callback data is really attached to the life of sk, mean...
Thadeu Lima de Souza Cascardo
null
{'additions': 6, 'deletions': 1, 'total': 7}
[ { "additions": 6, "changes": 7, "deletions": 1, "patch": "@@ -785,6 +785,7 @@ static int bcm_delete_rx_op(struct list_head *ops, struct bcm_msg_head *mh,\n \t\t\t\t\t\t bcm_rx_handler, op);\n \n \t\t\tlist_del(&op->list);\n+\t\t\tsynchronize_rcu();\n \t\t\tbcm_remove_op(op);\n \t\t\treturn 1; /* do...
c
CWE-362
[ "net/can/bcm.c" ]
net/can/bcm.c
1
static Image *ReadTIFFImage(const ImageInfo *image_info, /* Convert stripped TIFF image. */ extent=2*TIFFStripSize(tiff); #if defined(TIFF_VERSION_BIG) extent+=image->columns*sizeof(uint64); #else
static Image *ReadTIFFImage(const ImageInfo *image_info, /* Convert stripped TIFF image. */ extent=4*TIFFStripSize(tiff); #if defined(TIFF_VERSION_BIG) extent+=image->columns*sizeof(uint64); #else
CVE-2021-3610
{'CWE-125'}
2.9
{'https://github.com/ImageMagick/ImageMagick/commit/930ff0d1a9bc42925a7856e9ea53f5fc9f318bf3'}
nvd
A heap-based buffer overflow vulnerability was found in ImageMagick in versions prior to 7.0.11-14 in ReadTIFFImage() in coders/tiff.c. This issue is due to an incorrect setting of the pixel array size, which can lead to a crash and segmentation fault.
2022-02-24
1
https://github.com/ImageMagick/ImageMagick
https://github.com/ImageMagick/ImageMagick/commit/930ff0d1a9bc42925a7856e9ea53f5fc9f318bf3
930ff0d1a9bc42925a7856e9ea53f5fc9f318bf3
SINGLE
['930ff0d1a9bc42925a7856e9ea53f5fc9f318bf3']
{'28d484cbd0c92ea4f06708bfc28f69ff320633a8'}
930ff0d1a9bc42925a7856e9ea53f5fc9f318bf3
1
05/27/2021, 14:30:17
eliminate heap buffer overflow vulnerability, thanks to ZhangJiaxing (@r0fm1a) from Codesafe Team of Legendsec at Qi'anxin Group
Cristy
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -1894,7 +1894,7 @@ static Image *ReadTIFFImage(const ImageInfo *image_info,\n /*\n Convert stripped TIFF image.\n */\n- extent=2*TIFFStripSize(tiff);\n+ extent=4*TIFFStripSize(tiff);\n #if defined(TI...
c
CWE-125
[ "coders/tiff.c" ]
coders/tiff.c
1
vq_endchains(struct virtio_vq_info *vq, int used_all_avail) uint16_t event_idx, new_idx, old_idx; int intr; /* * Interrupt generation: if we're using EVENT_IDX, * interrupt if we've crossed the event threshold.
vq_endchains(struct virtio_vq_info *vq, int used_all_avail) uint16_t event_idx, new_idx, old_idx; int intr; if (!vq || !vq->used) return; /* * Interrupt generation: if we're using EVENT_IDX, * interrupt if we've crossed the event threshold.
CVE-2021-36143
{'CWE-476'}
2.9
{'https://github.com/projectacrn/acrn-hypervisor/commit/154fe59531c12b82e26d1b24b5531f5066d224f5'}
nvd
ACRN before 2.5 has a hw/pci/virtio/virtio.c vq_endchains NULL Pointer Dereference.
2021-07-02
1
https://github.com/projectacrn/acrn-hypervisor
https://github.com/projectacrn/acrn-hypervisor/commit/154fe59531c12b82e26d1b24b5531f5066d224f5
154fe59531c12b82e26d1b24b5531f5066d224f5
SINGLE
['154fe59531c12b82e26d1b24b5531f5066d224f5']
{'25c0e3817eb332660dd63d1d4522e63dcc94e79a'}
154fe59531c12b82e26d1b24b5531f5066d224f5
1
06/01/2021, 02:25:27
dm: validate inputs in vq_endchains inputs shall be validated to avoid NULL pointer access. Tracked-On: #6129 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
Yonghua Huang
null
{'additions': 3, 'deletions': 0, 'total': 3}
[ { "additions": 3, "changes": 3, "deletions": 0, "patch": "@@ -647,6 +647,9 @@ vq_endchains(struct virtio_vq_info *vq, int used_all_avail)\n \tuint16_t event_idx, new_idx, old_idx;\n \tint intr;\n \n+\tif (!vq || !vq->used)\n+\t\treturn;\n+\n \t/*\n \t * Interrupt generation: if we're using EVENT_IDX...
c
CWE-476
[ "devicemodel/hw/pci/virtio/virtio.c" ]
devicemodel/hw/pci/virtio/virtio.c
1
unregister_mem_int(struct mmio_rb_tree *rbt, struct mem_range *memp) /* flush Per-VM cache */ if (mmio_hint == entry) mmio_hint = NULL; } } pthread_rwlock_unlock(&mmio_rwlock); if (entry) free(entry); return err; }
unregister_mem_int(struct mmio_rb_tree *rbt, struct mem_range *memp) /* flush Per-VM cache */ if (mmio_hint == entry) mmio_hint = NULL; if (entry) free(entry); } } pthread_rwlock_unlock(&mmio_rwlock); return err; }
CVE-2021-36145
{'CWE-416'}
2.9
{'https://github.com/projectacrn/acrn-hypervisor/pull/6058/commits/f880086ffe5423e67d968c8f8f665954786582ce'}
nvd
The Device Model in ACRN through 2.5 has a devicemodel/core/mem.c use-after-free for a freed rb_entry.
2021-07-02
1
https://github.com/projectacrn/acrn-hypervisor
https://github.com/projectacrn/acrn-hypervisor/pull/6058/commits/f880086ffe5423e67d968c8f8f665954786582ce
f880086ffe5423e67d968c8f8f665954786582ce
SINGLE
['f880086ffe5423e67d968c8f8f665954786582ce']
{'309bdddd3cac884aadcee0fda3a8acd73f883a96'}
f880086ffe5423e67d968c8f8f665954786582ce
1
05/10/2021, 08:51:14
dm: rb: only free rb_entry when we remove this entry from the rb tree Only free rb_entry when we remove this entry from the rb tree, otherwise, a page fault would trigger when next rb itreation would access the freed rb_entry. Tracked-On: #6056 Signed-off-by: Li Fei1 <fei1.li@intel.com>
Li Fei1
null
{'additions': 3, 'deletions': 3, 'total': 6}
[ { "additions": 3, "changes": 6, "deletions": 3, "patch": "@@ -248,13 +248,13 @@ unregister_mem_int(struct mmio_rb_tree *rbt, struct mem_range *memp)\n \t\t\t/* flush Per-VM cache */\n \t\t\tif (mmio_hint == entry)\n \t\t\t\tmmio_hint = NULL;\n+\n+\t\t\tif (entry)\n+\t\t\t\tfree(entry);\n \t\t}\n \t}...
c
CWE-416
[ "devicemodel/core/mem.c" ]
devicemodel/core/mem.c
1
pci_xhci_complete_commands(struct pci_xhci_vdev *xdev) trb = xdev->opregs.cr_p; ccs = xdev->opregs.crcr & XHCI_CRCR_LO_RCS; crcr = xdev->opregs.crcr & ~0xF; while (1) { xdev->opregs.cr_p = trb; pci_xhci_complete_commands(struct pci_xhci_vdev *xdev) } } xdev->opregs.crcr = crcr | (xdev->opregs.crcr & XHCI_C...
pci_xhci_complete_commands(struct pci_xhci_vdev *xdev) trb = xdev->opregs.cr_p; ccs = xdev->opregs.crcr & XHCI_CRCR_LO_RCS; crcr = xdev->opregs.crcr & ~0xF; if (!trb) { UPRINTF(LDBG, "Get the invalid guest address!\r\n"); goto out; } while (1) { xdev->opregs.cr_p = trb; pci_xhci_complete_commands(struct p...
CVE-2021-36146
{'CWE-476'}
2.9
{'https://github.com/projectacrn/acrn-hypervisor/pull/6173/commits/330359921e2e4c2f3f3a10b5bab86942d63c4428'}
nvd
ACRN before 2.5 has a devicemodel/hw/pci/xhci.c NULL Pointer Dereference for a trb pointer.
2021-07-02
1
https://github.com/projectacrn/acrn-hypervisor
https://github.com/projectacrn/acrn-hypervisor/pull/6173/commits/330359921e2e4c2f3f3a10b5bab86942d63c4428
330359921e2e4c2f3f3a10b5bab86942d63c4428
SINGLE
['330359921e2e4c2f3f3a10b5bab86942d63c4428']
{'154fe59531c12b82e26d1b24b5531f5066d224f5'}
330359921e2e4c2f3f3a10b5bab86942d63c4428
1
06/08/2021, 05:46:03
DM: xHCI: Check trb pointer before use it The trb pointer may be NULL when get the address from user space, add the pointer check before use the trb. Tracked-On: #6172 Signed-off-by: Liu Long <long.liu@intel.com> Reviewed-by: Shuo A Liu <shuo.a.liu@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
Liu Long
null
{'additions': 5, 'deletions': 0, 'total': 5}
[ { "additions": 5, "changes": 5, "deletions": 0, "patch": "@@ -2627,6 +2627,10 @@ pci_xhci_complete_commands(struct pci_xhci_vdev *xdev)\n \ttrb = xdev->opregs.cr_p;\n \tccs = xdev->opregs.crcr & XHCI_CRCR_LO_RCS;\n \tcrcr = xdev->opregs.crcr & ~0xF;\n+\tif (!trb) {\n+\t\tUPRINTF(LDBG, \"Get the inva...
c
CWE-476
[ "devicemodel/hw/pci/xhci.c" ]
devicemodel/hw/pci/xhci.c
1
virtio_net_ping_rxq(void *vdev, struct virtio_vq_info *vq) */ if (net->rx_ready == 0) { net->rx_ready = 1; vq->used->flags |= VRING_USED_F_NO_NOTIFY; } }
virtio_net_ping_rxq(void *vdev, struct virtio_vq_info *vq) */ if (net->rx_ready == 0) { net->rx_ready = 1; if (vq->used != NULL) { vq->used->flags |= VRING_USED_F_NO_NOTIFY; } } }
CVE-2021-36147
{'CWE-476'}
2.9
{'https://github.com/projectacrn/acrn-hypervisor/pull/6121/commits/131116b15b0e35a62085d23686b43ed1c12c1331'}
nvd
An issue was discovered in ACRN before 2.5. It allows a devicemodel/hw/pci/virtio/virtio_net.c virtio_net_ping_rxq NULL pointer dereference for vq->used.
2021-07-02
1
https://github.com/projectacrn/acrn-hypervisor
https://github.com/projectacrn/acrn-hypervisor/pull/6121/commits/131116b15b0e35a62085d23686b43ed1c12c1331
131116b15b0e35a62085d23686b43ed1c12c1331
SINGLE
['131116b15b0e35a62085d23686b43ed1c12c1331']
{'279c171a7c3abcb34f179828476f2ba4460441cd'}
131116b15b0e35a62085d23686b43ed1c12c1331
1
05/24/2021, 05:57:49
dm: NULL check of vq->used in virtio_net_ping_rxq Add a check on this place to avoid NULL access issue. Tracked-On: #6100 Signed-off-by: Jie Deng <jie.deng@intel.com>
Jie Deng
null
{'additions': 3, 'deletions': 1, 'total': 4}
[ { "additions": 3, "changes": 4, "deletions": 1, "patch": "@@ -490,7 +490,9 @@ virtio_net_ping_rxq(void *vdev, struct virtio_vq_info *vq)\n \t */\n \tif (net->rx_ready == 0) {\n \t\tnet->rx_ready = 1;\n-\t\tvq->used->flags |= VRING_USED_F_NO_NOTIFY;\n+\t\tif (vq->used != NULL) {\n+\t\t\tvq->used->fla...
c
CWE-476
[ "devicemodel/hw/pci/virtio/virtio_net.c" ]
devicemodel/hw/pci/virtio/virtio_net.c
1
hivex_node_classname (hive_h *h, hive_node_h node) static int _get_children (hive_h *h, hive_node_h blkoff, offset_list *children, offset_list *blocks, int flags); static int check_child_is_nk_block (hive_h *h, hive_node_h child, int flags); /* Iterate over childre...
hivex_node_classname (hive_h *h, hive_node_h node) static int _get_children (hive_h *h, hive_node_h blkoff, offset_list *children, offset_list *blocks, int flags, unsigned depth); static int check_child_is_nk_block (hive_h *h, hive_node_h child, int flags); /* Iter...
CVE-2021-3622
{'CWE-400'}
2.9
{'https://github.com/libguestfs/hivex/commit/771728218dac2fbf6997a7e53225e75a4c6b7255'}
nvd
A flaw was found in the hivex library. This flaw allows an attacker to input a specially crafted Windows Registry (hive) file, which would cause hivex to recursively call the _get_children() function, leading to a stack overflow. The highest threat from this vulnerability is to system availability.
2021-12-23
1
https://github.com/libguestfs/hivex
https://github.com/libguestfs/hivex/commit/771728218dac2fbf6997a7e53225e75a4c6b7255
771728218dac2fbf6997a7e53225e75a4c6b7255
SINGLE
['771728218dac2fbf6997a7e53225e75a4c6b7255']
{'bb92eed6b57ed29d8230ca688ff73771b8b7e845'}
771728218dac2fbf6997a7e53225e75a4c6b7255
1
07/08/2021, 18:00:45
lib/node.c: Limit recursion in ri-records (CVE-2021-3622) Windows Registry hive "ri"-records are arbitrarily nested B-tree-like structures: +-------------+ | ri | |-------------| | nr_offsets | | offset[0] ------> points to another lf/lh/li/ri block | offset[1] ------> | offset[2] -----...
Richard W.M. Jones
null
{'additions': 14, 'deletions': 4, 'total': 18}
[ { "additions": 14, "changes": 18, "deletions": 4, "patch": "@@ -203,7 +203,7 @@ hivex_node_classname (hive_h *h, hive_node_h node)\n \n static int _get_children (hive_h *h, hive_node_h blkoff,\n offset_list *children, offset_list *blocks,\n- int fla...
c
CWE-400
[ "lib/node.c" ]
lib/node.c
1
static int sco_connect(struct hci_dev *hdev, struct sock *sk) return err; } static int sco_send_frame(struct sock *sk, struct msghdr *msg, int len) { struct sco_conn *conn = sco_pi(sk)->conn; struct sk_buff *skb; static int sco_send_frame(struct sock *sk, struct msghdr *msg, int len) BT_DBG("sk %p len %d", sk, l...
static int sco_connect(struct hci_dev *hdev, struct sock *sk) return err; } static int sco_send_frame(struct sock *sk, void *buf, int len, unsigned int msg_flags) { struct sco_conn *conn = sco_pi(sk)->conn; struct sk_buff *skb; static int sco_send_frame(struct sock *sk, struct msghdr *msg, int len) BT_DBG("...
CVE-2021-3640
{'CWE-416'}
10
{'https://github.com/torvalds/linux/commit/99c23da0eed4fd20cae8243f2b51e10e66aa0951'}
nvd
A flaw use-after-free in function sco_sock_sendmsg() of the Linux kernel HCI subsystem was found in the way user calls ioct UFFDIO_REGISTER or other way triggers race condition of the call sco_conn_del() together with the call sco_sock_sendmsg() with the expected controllable faulting memory page. A privileged local us...
2022-03-03
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/99c23da0eed4fd20cae8243f2b51e10e66aa0951
99c23da0eed4fd20cae8243f2b51e10e66aa0951
SINGLE
['99c23da0eed4fd20cae8243f2b51e10e66aa0951']
{'927ac8da35db763fe22d338614777120fcfade70'}
99c23da0eed4fd20cae8243f2b51e10e66aa0951
1
08/28/2021, 16:18:18
Bluetooth: sco: Fix lock_sock() blockage by memcpy_from_msg() The sco_send_frame() also takes lock_sock() during memcpy_from_msg() call that may be endlessly blocked by a task with userfaultd technique, and this will result in a hung task watchdog trigger. Just like the similar fix for hci_sock_sendmsg() in commit 92...
Takashi Iwai
null
{'additions': 16, 'deletions': 8, 'total': 24}
[ { "additions": 16, "changes": 24, "deletions": 8, "patch": "@@ -280,7 +280,8 @@ static int sco_connect(struct hci_dev *hdev, struct sock *sk)\n \treturn err;\n }\n \n-static int sco_send_frame(struct sock *sk, struct msghdr *msg, int len)\n+static int sco_send_frame(struct sock *sk, void *buf, int l...
c
CWE-416
[ "net/bluetooth/sco.c" ]
net/bluetooth/sco.c
1
tgs_build_reply(astgs_request_t priv, s = &adtkt.cname; r = adtkt.crealm; } _krb5_principalname2krb5_principal(context, &sp, *s, r);
tgs_build_reply(astgs_request_t priv, s = &adtkt.cname; r = adtkt.crealm; } else if (s == NULL) { ret = KRB5KDC_ERR_S_PRINCIPAL_UNKNOWN; _kdc_set_e_text(r, "No server in request"); goto out; } _krb5_principalname2krb5_principal(context, &sp, *s, r);
CVE-2021-3671
{'CWE-476'}
2.9
{'https://github.com/heimdal/heimdal/commit/04171147948d0a3636bc6374181926f0fb2ec83a'}
nvd
A null pointer de-reference was found in the way samba kerberos server handled missing sname in TGS-REQ (Ticket Granting Server - Request). An authenticated user could use this flaw to crash the samba server.
2021-10-12
1
https://github.com/heimdal/heimdal
https://github.com/heimdal/heimdal/commit/04171147948d0a3636bc6374181926f0fb2ec83a
04171147948d0a3636bc6374181926f0fb2ec83a
SINGLE
['04171147948d0a3636bc6374181926f0fb2ec83a']
{'a5378daa6c696e7787b601371cc4b1b5432bab7d'}
04171147948d0a3636bc6374181926f0fb2ec83a
1
08/27/2021, 01:42:48
kdc: validate sname in TGS-REQ In tgs_build_reply(), validate the server name in the TGS-REQ is present before dereferencing.
Luke Howard
null
{'additions': 4, 'deletions': 0, 'total': 4}
[ { "additions": 4, "changes": 4, "deletions": 0, "patch": "@@ -1699,6 +1699,10 @@ tgs_build_reply(astgs_request_t priv,\n \n \ts = &adtkt.cname;\n \tr = adtkt.crealm;\n+ } else if (s == NULL) {\n+\tret = KRB5KDC_ERR_S_PRINCIPAL_UNKNOWN;\n+\t_kdc_set_e_text(r, \"No server in request\");\n+\tgoto ou...
c
CWE-476
[ "kdc/krb5tgs.c" ]
kdc/krb5tgs.c
1
static int route4_change(struct net *net, struct sk_buff *in_skb, fp = &b->ht[h]; for (pfp = rtnl_dereference(*fp); pfp; fp = &pfp->next, pfp = rtnl_dereference(*fp)) { if (pfp == f) { *fp = f->next; break; } }
static int route4_change(struct net *net, struct sk_buff *in_skb, fp = &b->ht[h]; for (pfp = rtnl_dereference(*fp); pfp; fp = &pfp->next, pfp = rtnl_dereference(*fp)) { if (pfp == fold) { rcu_assign_pointer(*fp, fold->next); break; } }
CVE-2021-3715
{'CWE-416'}
10
{'https://github.com/torvalds/linux/commit/ef299cc3fa1a9e1288665a9fdc8bff55629fd359'}
nvd
A flaw was found in the "Routing decision" classifier in the Linux kernel's Traffic Control networking subsystem in the way it handled changing of classification filters, leading to a use-after-free condition. This flaw allows unprivileged local users to escalate their privileges on the system. The highest threat from ...
2022-03-02
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/ef299cc3fa1a9e1288665a9fdc8bff55629fd359
ef299cc3fa1a9e1288665a9fdc8bff55629fd359
SINGLE
['ef299cc3fa1a9e1288665a9fdc8bff55629fd359']
{'4ae649e8879d5a96b0ce104c8eae6563c6f368a1'}
ef299cc3fa1a9e1288665a9fdc8bff55629fd359
1
03/14/2020, 05:29:54
net_sched: cls_route: remove the right filter from hashtable route4_change() allocates a new filter and copies values from the old one. After the new filter is inserted into the hash table, the old filter should be removed and freed, as the final step of the update. However, the current code mistakenly removes the ne...
Cong Wang
null
{'additions': 2, 'deletions': 2, 'total': 4}
[ { "additions": 2, "changes": 4, "deletions": 2, "patch": "@@ -534,8 +534,8 @@ static int route4_change(struct net *net, struct sk_buff *in_skb,\n \t\t\tfp = &b->ht[h];\n \t\t\tfor (pfp = rtnl_dereference(*fp); pfp;\n \t\t\t fp = &pfp->next, pfp = rtnl_dereference(*fp)) {\n-\t\t\t\tif (pfp == f) ...
c
CWE-416
[ "net/sched/cls_route.c" ]
net/sched/cls_route.c
1
int btrfs_rm_device(struct btrfs_fs_info *fs_info, const char *device_path, if (IS_ERR(device)) { if (PTR_ERR(device) == -ENOENT && strcmp(device_path, "missing") == 0) ret = BTRFS_ERROR_DEV_MISSING_NOT_FOUND; else ret = PTR_ERR(device);
int btrfs_rm_device(struct btrfs_fs_info *fs_info, const char *device_path, if (IS_ERR(device)) { if (PTR_ERR(device) == -ENOENT && device_path && strcmp(device_path, "missing") == 0) ret = BTRFS_ERROR_DEV_MISSING_NOT_FOUND; else ret = PTR_ERR(device);
CVE-2021-3739
{'CWE-476'}
4.9
{'https://github.com/torvalds/linux/commit/e4571b8c5e9ffa1e85c0c671995bd4dcc5c75091'}
nvd
A NULL pointer dereference flaw was found in the btrfs_rm_device function in fs/btrfs/volumes.c in the Linux Kernel, where triggering the bug requires ‘CAP_SYS_ADMIN’. This flaw allows a local attacker to crash the system or leak kernel internal information. The highest threat from this vulnerability is to system avail...
2022-03-10
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/e4571b8c5e9ffa1e85c0c671995bd4dcc5c75091
e4571b8c5e9ffa1e85c0c671995bd4dcc5c75091
SINGLE
['e4571b8c5e9ffa1e85c0c671995bd4dcc5c75091']
{'63fb5879db7ca94fefac12cf7a5a051cee889c12'}
e4571b8c5e9ffa1e85c0c671995bd4dcc5c75091
1
08/06/2021, 10:24:15
btrfs: fix NULL pointer dereference when deleting device by invalid id [BUG] It's easy to trigger NULL pointer dereference, just by removing a non-existing device id: # mkfs.btrfs -f -m single -d single /dev/test/scratch1 \ /dev/test/scratch2 # mount /dev/test/scratch1 /mnt/btrfs # btrfs device remove 3 /...
Qu Wenruo
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -2074,7 +2074,7 @@ int btrfs_rm_device(struct btrfs_fs_info *fs_info, const char *device_path,\n \n \tif (IS_ERR(device)) {\n \t\tif (PTR_ERR(device) == -ENOENT &&\n-\t\t strcmp(device_path, \"missing\") == 0)\n+\t\t device_path && s...
c
CWE-476
[ "fs/btrfs/volumes.c" ]
fs/btrfs/volumes.c
1
'name' => get_lang('SocialNetwork'), ]; $query = isset($_GET['q']) ? Security::remove_XSS($_GET['q']) : null; $queryNoFilter = isset($_GET['q']) ? $_GET['q'] : null; $query_search_type = isset($_GET['search_type']) && in_array($_GET['search_type'], ['0', '1', '2']) ? $_GET['search_type'] : null; $extra_fields = ...
'name' => get_lang('SocialNetwork'), ]; $query = isset($_GET['q']) ? htmlentities($_GET['q']) : null; $queryNoTags = isset($_GET['q']) ? strip_tags($_GET['q']) : null; $query_search_type = isset($_GET['search_type']) && in_array($_GET['search_type'], ['0', '1', '2']) ? $_GET['search_type'] : null; $extra_fields ...
CVE-2021-37390
{'CWE-79'}
2.9
{'https://github.com/chamilo/chamilo-lms/commit/3fcc751d5cc7da311532a8756fba5a8778f50ca0'}
nvd
A Chamilo LMS 1.11.14 reflected XSS vulnerability exists in main/social/search.php=q URI (social network search feature).
2021-08-10
1
https://github.com/chamilo/chamilo-lms
https://github.com/chamilo/chamilo-lms/commit/3fcc751d5cc7da311532a8756fba5a8778f50ca0
3fcc751d5cc7da311532a8756fba5a8778f50ca0
SINGLE
['3fcc751d5cc7da311532a8756fba5a8778f50ca0']
{'de43a77049771cce08ea7234c5c1510b5af65bc8'}
3fcc751d5cc7da311532a8756fba5a8778f50ca0
1
07/20/2021, 16:00:54
Security: Add script tags filter to friends search in social network
Yannick Warnier
null
{'additions': 4, 'deletions': 4, 'total': 8}
[ { "additions": 4, "changes": 8, "deletions": 4, "patch": "@@ -23,9 +23,9 @@\n 'name' => get_lang('SocialNetwork'),\n ];\n \n-$query = isset($_GET['q']) ? Security::remove_XSS($_GET['q']) : null;\n+$query = isset($_GET['q']) ? htmlentities($_GET['q']) : null;\n \n-$queryNoFilter = isset($_GET['q'...
php
CWE-79
[ "main/social/search.php" ]
main/social/search.php
1
public static function sendInvitationToUser($userId, $subject = '', $content = ' $user_info = api_get_user_info($userId); $success = get_lang('MessageSentTo'); $success .= ' : '.api_get_person_name($user_info['firstName'], $user_info['lastName']); if (isset($subject) && isset($content)...
public static function sendInvitationToUser($userId, $subject = '', $content = ' $user_info = api_get_user_info($userId); $success = get_lang('MessageSentTo'); $success .= ' : '.api_get_person_name($user_info['firstName'], $user_info['lastName']); $content = strip_tags($content); ...
CVE-2021-37391
{'CWE-79'}
2.9
{'https://github.com/chamilo/chamilo-lms/commit/de43a77049771cce08ea7234c5c1510b5af65bc8'}
nvd
A user without privileges in Chamilo LMS 1.11.14 can send an invitation message to another user, e.g., the administrator, through main/social/search.php, main/inc/lib/social.lib.php and steal cookies or execute arbitrary code on the administration side via a stored XSS vulnerability via social network the send invitati...
2021-08-10
1
https://github.com/chamilo/chamilo-lms
https://github.com/chamilo/chamilo-lms/commit/de43a77049771cce08ea7234c5c1510b5af65bc8
de43a77049771cce08ea7234c5c1510b5af65bc8
SINGLE
['de43a77049771cce08ea7234c5c1510b5af65bc8']
{'dfae49f5dc392c00cd43badcb3043db3a646ff0c'}
de43a77049771cce08ea7234c5c1510b5af65bc8
1
07/20/2021, 15:04:07
Security: Add script tags filter for users invitations in social network
Yannick Warnier
null
{'additions': 1, 'deletions': 0, 'total': 1}
[ { "additions": 1, "changes": 1, "deletions": 0, "patch": "@@ -662,6 +662,7 @@ public static function sendInvitationToUser($userId, $subject = '', $content = '\n $user_info = api_get_user_info($userId);\n $success = get_lang('MessageSentTo');\n $success .= ' : '.api_get_person...
php
CWE-79
[ "main/inc/lib/social.lib.php" ]
main/inc/lib/social.lib.php
1
int qrtr_endpoint_post(struct qrtr_endpoint *ep, const void *data, size_t len) goto err; } if (len != ALIGN(size, 4) + hdrlen) goto err; if (cb->dst_port != QRTR_PORT_CTRL && cb->type != QRTR_TYPE_DATA &&
int qrtr_endpoint_post(struct qrtr_endpoint *ep, const void *data, size_t len) goto err; } if (!size || len != ALIGN(size, 4) + hdrlen) goto err; if (cb->dst_port != QRTR_PORT_CTRL && cb->type != QRTR_TYPE_DATA &&
CVE-2021-3743
{'CWE-125'}
4.9
{'https://github.com/torvalds/linux/commit/7e78c597c3ebfd0cb329aa09a838734147e4f117'}
nvd
An out-of-bounds (OOB) memory read flaw was found in the Qualcomm IPC router protocol in the Linux kernel. A missing sanity check allows a local attacker to gain access to out-of-bounds memory, leading to a system crash or a leak of internal kernel information. The highest threat from this vulnerability is to system av...
2022-03-04
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/7e78c597c3ebfd0cb329aa09a838734147e4f117
7e78c597c3ebfd0cb329aa09a838734147e4f117
SINGLE
['7e78c597c3ebfd0cb329aa09a838734147e4f117']
{'a8f89fa27773a8c96fd09fb4e2f4892d794f21f6'}
7e78c597c3ebfd0cb329aa09a838734147e4f117
1
08/19/2021, 19:50:34
net: qrtr: fix another OOB Read in qrtr_endpoint_post This check was incomplete, did not consider size is 0: if (len != ALIGN(size, 4) + hdrlen) goto err; if size from qrtr_hdr is 0, the result of ALIGN(size, 4) will be 0, In case of len == hdrlen and size == 0 in header this check won't fail an...
Xiaolong Huang
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -493,7 +493,7 @@ int qrtr_endpoint_post(struct qrtr_endpoint *ep, const void *data, size_t len)\n \t\tgoto err;\n \t}\n \n-\tif (len != ALIGN(size, 4) + hdrlen)\n+\tif (!size || len != ALIGN(size, 4) + hdrlen)\n \t\tgoto err;\n \n \tif (cb...
c
CWE-125
[ "net/qrtr/qrtr.c" ]
net/qrtr/qrtr.c
1
ccp_run_aes_gcm_cmd(struct ccp_cmd_queue *cmd_q, struct ccp_cmd *cmd) in_place ? DMA_BIDIRECTIONAL : DMA_TO_DEVICE); if (ret) goto e_ctx; if (in_place) { dst = src; ccp_run_aes_gcm_cmd(struct ccp_cmd_queue *cmd_q, struct ccp_cmd *cmd) op.u.aes.size = 0; ret = cmd_q->ccp->vdata->perform->...
ccp_run_aes_gcm_cmd(struct ccp_cmd_queue *cmd_q, struct ccp_cmd *cmd) in_place ? DMA_BIDIRECTIONAL : DMA_TO_DEVICE); if (ret) goto e_aad; if (in_place) { dst = src; ccp_run_aes_gcm_cmd(struct ccp_cmd_queue *cmd_q, struct ccp_cmd *cmd) op.u.aes.size = 0; ret = cmd_q->ccp->vdata->perform->...
CVE-2021-3744
{'CWE-401'}
2.9
{'https://github.com/torvalds/linux/commit/505d9dcb0f7ddf9d075e729523a33d38642ae680'}
nvd
A memory leak flaw was found in the Linux kernel in the ccp_run_aes_gcm_cmd() function in drivers/crypto/ccp/ccp-ops.c, which allows attackers to cause a denial of service (memory consumption). This vulnerability is similar with the older CVE-2019-18808.
2022-03-04
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/505d9dcb0f7ddf9d075e729523a33d38642ae680
505d9dcb0f7ddf9d075e729523a33d38642ae680
SINGLE
['505d9dcb0f7ddf9d075e729523a33d38642ae680']
{'6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f'}
505d9dcb0f7ddf9d075e729523a33d38642ae680
1
08/26/2021, 13:04:27
crypto: ccp - fix resource leaks in ccp_run_aes_gcm_cmd() There are three bugs in this code: 1) If we ccp_init_data() fails for &src then we need to free aad. Use goto e_aad instead of goto e_ctx. 2) The label to free the &final_wa was named incorrectly as "e_tag" but it should have been "e_final_wa". One erro...
Dan Carpenter
null
{'additions': 8, 'deletions': 6, 'total': 14}
[ { "additions": 8, "changes": 14, "deletions": 6, "patch": "@@ -778,7 +778,7 @@ ccp_run_aes_gcm_cmd(struct ccp_cmd_queue *cmd_q, struct ccp_cmd *cmd)\n \t\t\t\t in_place ? DMA_BIDIRECTIONAL\n \t\t\t\t\t : DMA_TO_DEVICE);\n \t\tif (ret)\n-\t\t\tgoto e_ctx;\n+\t\t\tgoto e_aad;\n \n \t\tif (in_pl...
c
CWE-401
[ "drivers/crypto/ccp/ccp-ops.c" ]
drivers/crypto/ccp/ccp-ops.c
1
static ssize_t virtio_net_receive_rcu(NetClientState *nc, const uint8_t *buf, VirtIONet *n = qemu_get_nic_opaque(nc); VirtIONetQueue *q = virtio_net_get_subqueue(nc); VirtIODevice *vdev = VIRTIO_DEVICE(n); struct iovec mhdr_sg[VIRTQUEUE_MAX_SIZE]; struct virtio_net_hdr_mrg_rxbuf mhdr; unsigned ...
static ssize_t virtio_net_receive_rcu(NetClientState *nc, const uint8_t *buf, VirtIONet *n = qemu_get_nic_opaque(nc); VirtIONetQueue *q = virtio_net_get_subqueue(nc); VirtIODevice *vdev = VIRTIO_DEVICE(n); VirtQueueElement *elems[VIRTQUEUE_MAX_SIZE]; size_t lens[VIRTQUEUE_MAX_SIZE]; struct iove...
CVE-2021-3748
{'CWE-416'}
10
{'https://github.com/qemu/qemu/commit/bedd7e93d01961fcb16a97ae45d93acf357e11f6'}
nvd
A use-after-free vulnerability was found in the virtio-net device of QEMU. It could occur when the descriptor's address belongs to the non direct access region, due to num_buffers being set after the virtqueue elem has been unmapped. A malicious guest could use this flaw to crash QEMU, resulting in a denial of service ...
2022-03-23
1
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/bedd7e93d01961fcb16a97ae45d93acf357e11f6
bedd7e93d01961fcb16a97ae45d93acf357e11f6
SINGLE
['bedd7e93d01961fcb16a97ae45d93acf357e11f6']
{'080832e4f4801a28bd1170c49e61f6a0f5f05d03'}
bedd7e93d01961fcb16a97ae45d93acf357e11f6
1
09/02/2021, 05:44:12
virtio-net: fix use after unmap/free for sg When mergeable buffer is enabled, we try to set the num_buffers after the virtqueue elem has been unmapped. This will lead several issues, E.g a use after free when the descriptor has an address which belongs to the non direct access region. In this case we use bounce buffer...
Jason Wang
null
{'additions': 32, 'deletions': 7, 'total': 39}
[ { "additions": 32, "changes": 39, "deletions": 7, "patch": "@@ -1746,10 +1746,13 @@ static ssize_t virtio_net_receive_rcu(NetClientState *nc, const uint8_t *buf,\n VirtIONet *n = qemu_get_nic_opaque(nc);\n VirtIONetQueue *q = virtio_net_get_subqueue(nc);\n VirtIODevice *vdev = VIRTIO_DEV...
c
CWE-416
[ "hw/net/virtio-net.c" ]
hw/net/virtio-net.c
1
void mobi_buffer_move(MOBIBuffer *buf, const int offset, const size_t len) { } source += aoffset; } else { if (buf->offset < aoffset) { debug_print("%s", "End of buffer\n"); buf->error = MOBI_BUFFER_END; return; }
void mobi_buffer_move(MOBIBuffer *buf, const int offset, const size_t len) { } source += aoffset; } else { if ( (buf->offset < aoffset) || (buf->offset + len > buf->maxlen) ) { debug_print("%s", "Beyond start/end of buffer\n"); buf->error = MOBI_BUFFER_END; ...
CVE-2021-3751
{'CWE-787'}
6.4
{'https://github.com/bfabiszewski/libmobi/commit/ab5bf0e37e540eac682a14e628853b918626e72b'}
nvd
libmobi is vulnerable to Out-of-bounds Write
2021-09-15
1
https://github.com/bfabiszewski/libmobi
https://github.com/bfabiszewski/libmobi/commit/ab5bf0e37e540eac682a14e628853b918626e72b
ab5bf0e37e540eac682a14e628853b918626e72b
SINGLE
['ab5bf0e37e540eac682a14e628853b918626e72b']
{'983b89820e1c592d9d7c8c438af46e75be1f96e1'}
ab5bf0e37e540eac682a14e628853b918626e72b
1
09/09/2021, 06:21:58
fix oob write bug inside libmobi
Cen Zhang
null
{'additions': 2, 'deletions': 2, 'total': 4}
[ { "additions": 2, "changes": 4, "deletions": 2, "patch": "@@ -510,8 +510,8 @@ void mobi_buffer_move(MOBIBuffer *buf, const int offset, const size_t len) {\n }\n source += aoffset;\n } else {\n- if (buf->offset < aoffset) {\n- debug_print(\"%s\", \"End of buffer\...
c
CWE-787
[ "src/buffer.c" ]
src/buffer.c
1
//set variable if not set if (!isset($_SESSION['login']['domain_name_visible']['boolean'])) { $_SESSION['login']['domain_name_visible']['boolean'] = null; } //set the requested destination after login if (!empty($_REQUEST['path'])) { $_SESSION['login']['destination']['url'] = $_REQUEST['path']; } //set a defaul...
//set variable if not set if (!isset($_SESSION['login']['domain_name_visible']['boolean'])) { $_SESSION['login']['domain_name_visible']['boolean'] = null; } //set a default login destination if (strlen($_SESSION['login']['destination']['url']) == 0) { $_SESSION['login']['destination']['url'] = PROJECT_PATH."/core...
CVE-2021-37524
{'CWE-79'}
2.9
{'https://github.com/fusionpbx/fusionpbx/commit/c3b811393de63e324eaa64fe5c9ea3fce428fe1a'}
nvd
Cross Site Scripting (XSS) vulnerability in FusionPBX 4.5.26 allows remote unauthenticated users to inject arbitrary web script or HTML via an unsanitized "path" parameter in resources/login.php.
2022-07-01
1
https://github.com/fusionpbx/fusionpbx
https://github.com/fusionpbx/fusionpbx/commit/c3b811393de63e324eaa64fe5c9ea3fce428fe1a
c3b811393de63e324eaa64fe5c9ea3fce428fe1a
SINGLE
['c3b811393de63e324eaa64fe5c9ea3fce428fe1a']
{'ffd901b5ba9e3b0cc18c66d87d914b195a2bc5b5'}
c3b811393de63e324eaa64fe5c9ea3fce428fe1a
1
07/25/2021, 19:59:10
Fix XSS on login page by removing $_REQUEST[path]
markjcrane
null
{'additions': 0, 'deletions': 5, 'total': 5}
[ { "additions": 0, "changes": 5, "deletions": 5, "patch": "@@ -242,11 +242,6 @@\n //set variable if not set\n \tif (!isset($_SESSION['login']['domain_name_visible']['boolean'])) { $_SESSION['login']['domain_name_visible']['boolean'] = null; }\n \n-//set the requested destination after login\n-\tif (!...
php
CWE-79
[ "resources/login.php" ]
resources/login.php
1
int vt_waitactive(int n) * * XXX It should at least call into the driver, fbdev's definitely need to * restore their engine state. --BenH */ static int vt_kdsetmode(struct vc_data *vc, unsigned long mode) { static int vt_kdsetmode(struct vc_data *vc, unsigned long mode) return -EINVAL; } /* FIXME: this needs ...
int vt_waitactive(int n) * * XXX It should at least call into the driver, fbdev's definitely need to * restore their engine state. --BenH * * Called with the console lock held. */ static int vt_kdsetmode(struct vc_data *vc, unsigned long mode) { static int vt_kdsetmode(struct vc_data *vc, unsigned long mode) r...
CVE-2021-3753
{'CWE-362', 'CWE-125'}
2.9
{'https://github.com/torvalds/linux/commit/2287a51ba822384834dafc1c798453375d1107c7'}
nvd
A race problem was seen in the vt_k_ioctl in drivers/tty/vt/vt_ioctl.c in the Linux kernel, which may cause an out of bounds read in vt as the write access to vc_mode is not protected by lock-in vt_ioctl (KDSETMDE). The highest threat from this vulnerability is to data confidentiality.
2022-02-16
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/2287a51ba822384834dafc1c798453375d1107c7
2287a51ba822384834dafc1c798453375d1107c7
SINGLE
['2287a51ba822384834dafc1c798453375d1107c7']
{'3a2b2eb55681158d3e3ef464fbf47574cf0c517c'}
2287a51ba822384834dafc1c798453375d1107c7
1
08/30/2021, 15:55:18
vt_kdsetmode: extend console locking As per the long-suffering comment. Reported-by: Minh Yuan <yuanmingbuaa@gmail.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Jiri Slaby <jirislaby@kernel.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Linus Torvalds
null
{'additions': 6, 'deletions': 4, 'total': 10}
[ { "additions": 6, "changes": 10, "deletions": 4, "patch": "@@ -246,6 +246,8 @@ int vt_waitactive(int n)\n *\n * XXX It should at least call into the driver, fbdev's definitely need to\n * restore their engine state. --BenH\n+ *\n+ * Called with the console lock held.\n */\n static int vt_kdsetmo...
c
CWE-362
[ "drivers/tty/vt/vt_ioctl.c" ]
drivers/tty/vt/vt_ioctl.c
1
int vt_waitactive(int n) * * XXX It should at least call into the driver, fbdev's definitely need to * restore their engine state. --BenH */ static int vt_kdsetmode(struct vc_data *vc, unsigned long mode) { static int vt_kdsetmode(struct vc_data *vc, unsigned long mode) return -EINVAL; } /* FIXME: this needs ...
int vt_waitactive(int n) * * XXX It should at least call into the driver, fbdev's definitely need to * restore their engine state. --BenH * * Called with the console lock held. */ static int vt_kdsetmode(struct vc_data *vc, unsigned long mode) { static int vt_kdsetmode(struct vc_data *vc, unsigned long mode) r...
CVE-2021-3753
{'CWE-362', 'CWE-125'}
2.9
{'https://github.com/torvalds/linux/commit/2287a51ba822384834dafc1c798453375d1107c7'}
nvd
A race problem was seen in the vt_k_ioctl in drivers/tty/vt/vt_ioctl.c in the Linux kernel, which may cause an out of bounds read in vt as the write access to vc_mode is not protected by lock-in vt_ioctl (KDSETMDE). The highest threat from this vulnerability is to data confidentiality.
2022-02-16
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/2287a51ba822384834dafc1c798453375d1107c7
2287a51ba822384834dafc1c798453375d1107c7
SINGLE
['2287a51ba822384834dafc1c798453375d1107c7']
{'3a2b2eb55681158d3e3ef464fbf47574cf0c517c'}
2287a51ba822384834dafc1c798453375d1107c7
1
08/30/2021, 15:55:18
vt_kdsetmode: extend console locking As per the long-suffering comment. Reported-by: Minh Yuan <yuanmingbuaa@gmail.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Jiri Slaby <jirislaby@kernel.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Linus Torvalds
null
{'additions': 6, 'deletions': 4, 'total': 10}
[ { "additions": 6, "changes": 10, "deletions": 4, "patch": "@@ -246,6 +246,8 @@ int vt_waitactive(int n)\n *\n * XXX It should at least call into the driver, fbdev's definitely need to\n * restore their engine state. --BenH\n+ *\n+ * Called with the console lock held.\n */\n static int vt_kdsetmo...
c
CWE-125
[ "drivers/tty/vt/vt_ioctl.c" ]
drivers/tty/vt/vt_ioctl.c
1
static int readOHDRHeaderMessageDataLayout(struct READER *reader, store = ftell(reader->fhd); if (fseek(reader->fhd, data_address, SEEK_SET) < 0) return errno; // LCOV_EXCL_LINE if (!data->data) { if (data_size > 0x10000000) return MYSOFA_INVALID_FORMAT; data->data_l...
static int readOHDRHeaderMessageDataLayout(struct READER *reader, store = ftell(reader->fhd); if (fseek(reader->fhd, data_address, SEEK_SET) < 0) return errno; // LCOV_EXCL_LINE if (data->data) { free(data->data); data->data = NULL; } if (data_size > 0x10000000) ...
CVE-2021-3756
{'CWE-787'}
6.4
{'https://github.com/hoene/libmysofa/commit/890400ebd092c574707d0c132124f8ff047e20e1'}
nvd
libmysofa is vulnerable to Heap-based Buffer Overflow
2021-10-29
1
https://github.com/hoene/libmysofa
https://github.com/hoene/libmysofa/commit/890400ebd092c574707d0c132124f8ff047e20e1
890400ebd092c574707d0c132124f8ff047e20e1
SINGLE
['890400ebd092c574707d0c132124f8ff047e20e1']
{'af59f7a5d9a0c6e1e01f14b6f96f3a638f62453b'}
890400ebd092c574707d0c132124f8ff047e20e1
1
10/03/2021, 15:48:38
Fix for issue 163
Christian Hoene
null
{'additions': 10, 'deletions': 7, 'total': 17}
[ { "additions": 10, "changes": 17, "deletions": 7, "patch": "@@ -500,14 +500,17 @@ static int readOHDRHeaderMessageDataLayout(struct READER *reader,\n store = ftell(reader->fhd);\n if (fseek(reader->fhd, data_address, SEEK_SET) < 0)\n return errno; // LCOV_EXCL_LINE\n- if (!d...
c
CWE-787
[ "src/hdf/dataobject.c" ]
src/hdf/dataobject.c
1
wf_cliprdr_server_file_contents_request(CliprdrClientContext* context, { if (fileContentsRequest->dwFlags == FILECONTENTS_SIZE) { *((UINT32*)&pData[0]) = clipboard->fileDescriptor[fileContentsRequest->listIndex]->nFileSizeLow; *((UINT32*)&pData[4]) = wf_cliprdr_server_file_contents_request(CliprdrCli...
wf_cliprdr_server_file_contents_request(CliprdrClientContext* context, { if (fileContentsRequest->dwFlags == FILECONTENTS_SIZE) { if (clipboard->nFiles <= fileContentsRequest->listIndex) goto error; *((UINT32*)&pData[0]) = clipboard->fileDescriptor[fileContentsRequest->listIndex]->nFileSizeLow; ...
CVE-2021-37594
{'CWE-20'}
6.4
{'https://github.com/FreeRDP/FreeRDP/commit/0d79670a28c0ab049af08613621aa0c267f977e9'}
nvd
In FreeRDP before 2.4.0 on Windows, wf_cliprdr_server_file_contents_request in client/Windows/wf_cliprdr.c has missing input checks for a FILECONTENTS_SIZE File Contents Request PDU.
2021-07-30
1
https://github.com/FreeRDP/FreeRDP
https://github.com/FreeRDP/FreeRDP/commit/0d79670a28c0ab049af08613621aa0c267f977e9
0d79670a28c0ab049af08613621aa0c267f977e9
SINGLE
['0d79670a28c0ab049af08613621aa0c267f977e9']
{'fb3f85779b28ff2d16218dbb393d5c191322a747'}
0d79670a28c0ab049af08613621aa0c267f977e9
1
07/22/2021, 08:20:52
Fixed missing input checks for file contents request reported by Valentino Ricotta (Thalium)
Armin Novak
null
{'additions': 4, 'deletions': 0, 'total': 4}
[ { "additions": 4, "changes": 4, "deletions": 0, "patch": "@@ -2363,6 +2363,8 @@ wf_cliprdr_server_file_contents_request(CliprdrClientContext* context,\n \t{\n \t\tif (fileContentsRequest->dwFlags == FILECONTENTS_SIZE)\n \t\t{\n+\t\t\tif (clipboard->nFiles <= fileContentsRequest->listIndex)\n+\t\t\t\...
c
CWE-20
[ "client/Windows/wf_cliprdr.c" ]
client/Windows/wf_cliprdr.c
1
static void get_sem_elements(struct sem_data *p) { size_t i; if (!p || !p->sem_nsems || p->sem_perm.id < 0) return; p->elements = xcalloc(p->sem_nsems, sizeof(struct sem_elem));
static void get_sem_elements(struct sem_data *p) { size_t i; if (!p || !p->sem_nsems || p->sem_nsems > SIZE_MAX || p->sem_perm.id < 0) return; p->elements = xcalloc(p->sem_nsems, sizeof(struct sem_elem));
CVE-2021-37600
{'CWE-190'}
2.9
{'https://github.com/karelzak/util-linux/commit/1c9143d0c1f979c3daf10e1c37b5b1e916c22a1c'}
nvd
** DISPUTED ** An integer overflow in util-linux through 2.37.1 can potentially cause a buffer overflow if an attacker were able to use system resources in a way that leads to a large number in the /proc/sysvipc/sem file. NOTE: this is unexploitable in GNU C Library environments, and possibly in all realistic environme...
2021-07-30
1
https://github.com/karelzak/util-linux
https://github.com/karelzak/util-linux/commit/1c9143d0c1f979c3daf10e1c37b5b1e916c22a1c
1c9143d0c1f979c3daf10e1c37b5b1e916c22a1c
SINGLE
['1c9143d0c1f979c3daf10e1c37b5b1e916c22a1c']
{'03c3aae63cbe33a7c595b759cd65d1fc35450db7'}
1c9143d0c1f979c3daf10e1c37b5b1e916c22a1c
1
07/27/2021, 09:58:31
sys-utils/ipcutils: be careful when call calloc() for uint64 nmembs Fix: https://github.com/karelzak/util-linux/issues/1395 Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -218,7 +218,7 @@ static void get_sem_elements(struct sem_data *p)\n {\n \tsize_t i;\n \n-\tif (!p || !p->sem_nsems || p->sem_perm.id < 0)\n+\tif (!p || !p->sem_nsems || p->sem_nsems > SIZE_MAX || p->sem_perm.id < 0)\n \t\treturn;\n \n \tp-...
c
CWE-190
[ "sys-utils/ipcutils.c" ]
sys-utils/ipcutils.c
1
process_tgs_req(krb5_kdc_req *request, krb5_data *pkt, status = "FIND_FAST"; goto cleanup; } errcode = get_local_tgt(kdc_context, &sprinc->realm, header_server, &local_tgt, &local_tgt_storage, &local_tgt_key);
process_tgs_req(krb5_kdc_req *request, krb5_data *pkt, status = "FIND_FAST"; goto cleanup; } if (sprinc == NULL) { status = "NULL_SERVER"; errcode = KRB5KDC_ERR_S_PRINCIPAL_UNKNOWN; goto cleanup; } errcode = get_local_tgt(kdc_context, &sprinc->realm, header_serv...
CVE-2021-37750
{'CWE-476'}
2.9
{'https://github.com/krb5/krb5/commit/d775c95af7606a51bf79547a94fa52ddd1cb7f49'}
nvd
The Key Distribution Center (KDC) in MIT Kerberos 5 (aka krb5) before 1.18.5 and 1.19.x before 1.19.3 has a NULL pointer dereference in kdc/do_tgs_req.c via a FAST inner body that lacks a server field.
2021-08-23
1
https://github.com/krb5/krb5
https://github.com/krb5/krb5/commit/d775c95af7606a51bf79547a94fa52ddd1cb7f49
d775c95af7606a51bf79547a94fa52ddd1cb7f49
SINGLE
['d775c95af7606a51bf79547a94fa52ddd1cb7f49']
{'35fac31b7645e14d75200d31c631a8530c9b855c'}
d775c95af7606a51bf79547a94fa52ddd1cb7f49
1
08/03/2021, 05:15:27
Fix KDC null deref on TGS inner body null server After the KDC decodes a FAST inner body, it does not check for a null server. Prior to commit 39548a5b17bbda9eeb63625a201cfd19b9de1c5b this would typically result in an error from krb5_unparse_name(), but with the addition of get_local_tgt() it results in a null derefe...
Greg Hudson
null
{'additions': 5, 'deletions': 0, 'total': 5}
[ { "additions": 5, "changes": 5, "deletions": 0, "patch": "@@ -204,6 +204,11 @@ process_tgs_req(krb5_kdc_req *request, krb5_data *pkt,\n status = \"FIND_FAST\";\n goto cleanup;\n }\n+ if (sprinc == NULL) {\n+ status = \"NULL_SERVER\";\n+ errcode = KRB5KDC_ERR_S_PR...
c
CWE-476
[ "src/kdc/do_tgs_req.c" ]
src/kdc/do_tgs_req.c
1
func NewHandler( server.Clean() r := mux.NewRouter() index, static := getStaticHandlers(store, server, assetsFs) // NOTE: This fixes the issue where it would redirect if people did not put a
func NewHandler( server.Clean() r := mux.NewRouter() r.Use(func(next http.Handler) http.Handler { return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { w.Header().Set("Content-Security-Policy", `default-src 'self'`) next.ServeHTTP(w, r) }) }) index, static := getStaticHandlers(store, s...
CVE-2021-37794
{'CWE-79'}
2.9
{'https://github.com/filebrowser/filebrowser/commit/201329abce4e92ae9071b9ded81e267aae159fbd'}
nvd
A stored cross-site scripting (XSS) vulnerability exists in FileBrowser < v2.16.0 that allows an authenticated user authorized to upload a malicious .svg file which acts as a stored XSS payload. If this stored XSS payload is triggered by an administrator it will trigger malicious OS commands on the server running the F...
2021-08-31
1
https://github.com/filebrowser/filebrowser
https://github.com/filebrowser/filebrowser/commit/201329abce4e92ae9071b9ded81e267aae159fbd
201329abce4e92ae9071b9ded81e267aae159fbd
SINGLE
['201329abce4e92ae9071b9ded81e267aae159fbd']
{'f2b5dd37871d3214b22380c424c970b036c197b6'}
201329abce4e92ae9071b9ded81e267aae159fbd
1
07/26/2021, 09:08:39
chore: add Content-Security-Policy header
Oleg Lobanov
null
{'additions': 6, 'deletions': 0, 'total': 6}
[ { "additions": 6, "changes": 6, "deletions": 0, "patch": "@@ -25,6 +25,12 @@ func NewHandler(\n \tserver.Clean()\n \n \tr := mux.NewRouter()\n+\tr.Use(func(next http.Handler) http.Handler {\n+\t\treturn http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {\n+\t\t\tw.Header().Set(\"Content-...
go
CWE-79
[ "http/http.go" ]
http/http.go
1
class HtmlUtils { // "link" can be used to escape the parser and inject JavaScript. // Adding "meta" too for the same reason as it shouldn't be used in // notes anyway. const disallowedTags = ['script', 'iframe', 'frameset', 'frame', 'object', 'base', 'embed', 'link', 'meta', 'noscript']; const parser = new...
class HtmlUtils { // "link" can be used to escape the parser and inject JavaScript. // Adding "meta" too for the same reason as it shouldn't be used in // notes anyway. const disallowedTags = ['script', 'iframe', 'frameset', 'frame', 'object', 'base', 'embed', 'link', 'meta', 'noscript', 'button', 'form', 'inp...
CVE-2021-37916
{'CWE-79'}
2.9
{'https://github.com/laurent22/joplin/commit/feaecf765368f2c273bea3a9fa641ff0da7e6b26'}
nvd
Joplin before 2.0.9 allows XSS via button and form in the note body.
2021-08-03
1
https://github.com/laurent22/joplin
https://github.com/laurent22/joplin/commit/feaecf765368f2c273bea3a9fa641ff0da7e6b26
feaecf765368f2c273bea3a9fa641ff0da7e6b26
SINGLE
['feaecf765368f2c273bea3a9fa641ff0da7e6b26']
{'af9f3eedd3c889185f7637215c758ad45dfc8c37'}
feaecf765368f2c273bea3a9fa641ff0da7e6b26
1
06/11/2021, 18:17:45
Desktop, Mobile: Filter out form elements from note body to prevent potential XSS (thanks to Dmytro Vdovychinskiy for the PoC)
Laurent Cozic
{'com_1': {'author': 'chinskiy', 'datetime': '08/03/2021, 07:56:37', 'body': '**[CVE-2021-37916](https://www.cvedetails.com/cve/CVE-2021-37916/)**\r\n\r\n`sanitizeHtml` method in Joplin desktop allows HTML tags with JavaScript attributes that give the possibility to execute arbitrary JavaScript code from the note body....
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -158,7 +158,7 @@ class HtmlUtils {\n \t\t// \"link\" can be used to escape the parser and inject JavaScript.\n \t\t// Adding \"meta\" too for the same reason as it shouldn't be used in\n \t\t// notes anyway.\n-\t\tconst disallowedTags = ['...
ts
CWE-79
[ "packages/renderer/htmlUtils.ts" ]
packages/renderer/htmlUtils.ts
1