You have the bomb and now it needs to be ejected from the ship.
There was the trash chute on the corridor, next to the teleporter. It will eject everything put in there to space, err.. outside.
Open it first
Now just drop the bomb into the chute.