39829 [W&A-Critical] dos archiver via data subscription channel due to broken safestringfy
#39829 [W&A-Critical] DOS archiver via data subscription channel due to broken safeStringfy
Description
Description
...more code
if (missingReceiptsMap.has(tx.txId)) missingReceiptsMap.delete(tx.txId)
receipt.beforeStates = globalModification || config.storeReceiptBeforeStates ? receipt.beforeStates : [] // Store beforeStates for globalModification tx, or if config.storeReceiptBeforeStates is true
combineReceipts.push({
...receipt,
receiptId: tx.txId,
timestamp: tx.timestamp,
applyTimestamp,
})
if (config.dataLogWrite && ReceiptLogWriter)
ReceiptLogWriter.writeToLog(
`${StringUtils.safeStringify({
...receipt,
receiptId: tx.txId,
timestamp: tx.timestamp,
applyTimestamp,
})}\n`
)
txDataList.push({ txId, timestamp })
// If the receipt is a challenge, then skip updating its accounts data or transaction data
// if (
// config.newPOQReceipt === true &&
// appliedReceipt &&
// appliedReceipt.confirmOrChallenge &&
// appliedReceipt.confirmOrChallenge.message === 'challenge'
...more codeProof of Concept
Proof of Concept
Impact
Previous#39993 [W&A-Low] node-fetch without response limitNext#40004 [W&A-Critical] Multiple vulnerabilities in signature verification during receipt processing o
Last updated
Was this helpful?