#41678 [BC-Medium] Transactions directly sent to the passthrough will cause the mempool to accept more transactions than the `inflight_limit`
Description
Brief/Intro
Vulnerability Details
async fn submit_transaction(
&mut self,
transaction: SignedTransaction,
) -> Result<SubmissionStatus, Error> {
// Check whether the account is whitelisted
if !self.is_whitelisted(&transaction.sender())? {
return Ok((MempoolStatus::new(MempoolStatusCode::TooManyTransactions), None));
}
... ..
// increment transactions in flight
{
let mut transactions_in_flight = self.transactions_in_flight.write().unwrap();
>> transactions_in_flight.increment(now, 1);
}
... ...
}Impact Details
References
Proof of Concept
Proof of Concept
Previous#41669 [BC-Medium] Incorrect Gas Cost Used for BLS12381 Subgroup Check Causes ~70% UnderchargeNext#41686 [BC-High] The passthrough DA light node streams transactions instead of blocks which means that the block cannot be deserialized
Was this helpful?