Lucene search
+L

2195 matches found

Code423n4
Code423n4
added 2023/03/15 12:0 a.m.18 views

_withdrawLP is not re-setting the lpPosition.points when lpPosition.amount

Lines of code Vulnerability details Impact User can withdraw their LP tokens without affecting their lpPosition.points. Since the lpPosition.points could not deducted then and there whenever the LP token is drawn out, user can use the old lpPosition.points and new lpPosition.points value to...

7AI score
SaveExploits0
Code423n4
Code423n4
added 2023/03/15 12:0 a.m.9 views

Wrong accounting of share leading to incorrect amount of BYTES be minted per second

Lines of code Vulnerability details Impact In NeoTokyoStaker, staker is a competitive system where stakers compete for a fixed emission rate in each of the S1 Citizen, S2 Citizen, and LP token staking pools. For each staking pool, there are some reward windows. Each reward window has different...

6.7AI score
SaveExploits0
Code423n4
Code423n4
added 2023/03/15 12:0 a.m.10 views

Huge over calculating user rewards

Lines of code Vulnerability details Impact Huge over calculating user rewards When user claim rewards for the first time rewards over calculated Proof of Concept getPoolReward function uses ''uint256 timeSinceReward = block.timestamp - lastRewardTime'' formula to calculate period of time that...

6.8AI score
SaveExploits0
Code423n4
Code423n4
added 2023/03/15 12:0 a.m.13 views

Unclaimed rewards will be stuck unrecoverable

Lines of code Vulnerability details Impact The vulnerability relies in: unchecked uint256 share = points PRECISION / pool.totalPoints totalReward; uint256 daoShare = share pool.daoTax / 100 DIVISOR; share /= PRECISION; daoShare /= PRECISION; return share - daoShare, daoShare; The problem is that ...

6.7AI score
SaveExploits0
Code423n4
Code423n4
added 2023/03/15 12:0 a.m.13 views

Flawed calculation in getPoolReward leads to permanent loss of rewards

Lines of code Vulnerability details In NeoTokyoStaker.getPoolReward, a users reward is calculated as follows: 1388: uint256 share = points PRECISION / pool.totalPoints totalReward; 1390: share /= PRECISION; points represents the users total points in the pool over a specific potentially long time...

6.7AI score
SaveExploits0
Veracode
Veracode
added 2023/03/10 2:13 p.m.35 views

Incorrect Calculation

vim is vulnerable to Incorrect Calculation. The vulnerability exists due to the incorrect calculation of the buffer size in the library...

6.6CVSS2.7AI score0.00438EPSS
SaveExploits1References10Affected Software3
Microsoft CVE
Microsoft CVE
added 2023/03/10 8:0 a.m.1 views

Incorrect Calculation of Buffer Size in vim/vim

...

7.3CVSS6.7AI score0.00438EPSS
SaveExploits1
Veracode
Veracode
added 2023/03/09 11:15 a.m.46 views

Incorrect ECC Calculation

Go is vulnerable to Incorrect ECC Calculation in its crypto/elliptic package. The vulnerability is due to defects in the functions ScalarBaseMult and ScalarMult in p256asm.go and p256ordinv.go files while performing P256 Curve implementation of Elliptic-curve cryptography ECC. The functions do no...

5.3CVSS8.9AI score0.00817EPSS
SaveExploits0References7Affected Software3
Veracode
Veracode
added 2023/03/09 2:51 a.m.22 views

Incorrect Calculation

github.com/FiloSottile/nistec is vulnerable to Incorrect Calculation. The vulnerability exists because the p256ordinv and p256asm functions do not return the correct value if the two input values are equal...

7.5CVSS7.3AI score0.00674EPSS
SaveExploits0References5Affected Software1
Code423n4
Code423n4
added 2023/03/09 12:0 a.m.12 views

Division before multiplication lead to truncation

Lines of code Vulnerability details Impact Calculation could result in truncation. Proof of Concept Staking.solL60-L64 : function earnedaddress account public view override returns uint256 earned return balanceOfaccount rewardPerToken - userRewardPerTokenPaidaccount / 1e18 + rewardsaccount; above...

6.8AI score
SaveExploits0
Code423n4
Code423n4
added 2023/03/09 12:0 a.m.12 views

referralRegisterTickets there is an inaccurate calculation of the total number of tickets for referrers

Lines of code Vulnerability details Impact There is an inaccurate total ticket count for referrers, that is, when the number of unclaimed tickets for referrers has reached the minimum EligibleReferralscurrentDraw, but when the number of referrer tickets is added to the new number of tickets will...

6.7AI score
SaveExploits0
Code423n4
Code423n4
added 2023/03/09 12:0 a.m.12 views

Calculation in calculateNewProfit function is broken when jackpot is not won

Lines of code Vulnerability details The function calculateNewProfit present in the LotteryMath library is used when finalizing the current draw in the Lottery to track and update the currentNetProfit variable in the contract. function calculateNewProfit int256 oldProfit, uint256 ticketsSold,...

6.7AI score
SaveExploits0
Code423n4
Code423n4
added 2023/03/09 12:0 a.m.16 views

Rewards for the Staking.sol contract may be stolen via the first staker

Lines of code Vulnerability details Impact The return amount of the function rewardPerToken may be inflated for the first in the Staking.sol contract. Proof of Concept The Staking.sol contract is designed for the LOT token holders to be able to stake their native tokens. Thus, the token holders...

6.7AI score
SaveExploits0
Code423n4
Code423n4
added 2023/03/09 12:0 a.m.14 views

Wrong reward calculation if the reward token doesn't have 18 decimals

Lines of code Vulnerability details Impact If the rewardToken has less than 16 decimals, users will not be able to claim the correct value of their prize. Try not to think it will be DAI only. We will probably use DAI for the first product, but think more in general approach @0xluckydev5064 It is...

6.6AI score
SaveExploits0
Code423n4
Code423n4
added 2023/03/09 12:0 a.m.11 views

expected outgoing rewards for non-jackpot tiers are not normalized

Lines of code Vulnerability details Impact When calculating new profit, the calculation for non-jackpot rewards are not normalized and will be largely overestimated, due to the additional percentage scaling. This will lead to the excess pot for participants being much lower and hence failing to...

6.7AI score
SaveExploits0
NVD
NVD
added 2023/03/08 8:15 p.m.18 views

CVE-2023-26489

wasmtime is a fast and secure runtime for WebAssembly. In affected versions wasmtime's code generator, Cranelift, has a bug on x8664 targets where address-mode computation mistakenly would calculate a 35-bit effective address instead of WebAssembly's defined 33-bit effective address. This bug mea...

9.9CVSS9.7AI score0.01261EPSS
SaveExploits0References5
Cvelist
Cvelist
added 2023/03/08 7:40 p.m.51 views

CVE-2023-24532 Incorrect calculation on P256 curves in crypto/internal/nistec

The ScalarMult and ScalarBaseMult methods of the P256 Curve may return an incorrect result if called with some specific unreduced scalars a scalar larger than the order of the curve. This does not impact usages of crypto/ecdsa or crypto/ecdh...

7.5AI score0.00817EPSS
SaveExploits0References4
CNNVD
CNNVD
added 2023/03/08 12:0 a.m.10 views

Wasmtime 缓冲区错误漏洞

Wasmtime, a Bytecode Consortium project, is a standalone wasm-optimized runtime for WebAssembly and WASI only. Wasmtime suffers from a buffer error vulnerability that stems from the code generator's address pattern calculation incorrectly calculating valid addresses, which can be exploited by an...

9.9CVSS8.6AI score0.01261EPSS
SaveExploits0References6
OSV
OSV
added 2023/03/07 2:43 p.m.14 views

GSD-2023-1002410 nilfs2: fix underflow in second superblock position calculations

nilfs2: fix underflow in second superblock position calculations This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v4.19.273 by commit...

7.2AI score
SaveExploits0
NVD
NVD
added 2023/03/04 4:15 p.m.18 views

CVE-2023-1175

Incorrect Calculation of Buffer Size in GitHub repository vim/vim prior to 9.0.1378...

7.3CVSS7AI score0.00438EPSS
SaveExploits1References7
Rows per page
Query Builder