microsoft / microsoft/AzureTRE

Service Bus can crash if it receives a malformed payload

Open
#4,976 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
235
Forks
192
Avg merge
1d 23h
Merged PRs (30d)
13

Description

Describe the bug
Currently the service bus will crash if it receives a malformed/non-JSON messages

Steps to reproduce

  1. Send invalid json to the service bus and observe a crash

Azure TRE release version (e.g. v0.14.0 or main):
main
Deployed Azure TRE components - click the (i) in the UI:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the service bus message-handling entry point and reproduce the issue by sending invalid JSON as described. Add coverage for malformed and non-JSON messages, then verify that the service bus handles them without crashing.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, python
Domain
backend, distributed-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.