The invention relates to a protection device for a needle of an assembly or of an injection device having a hub portion provided with a needle, the said protection device comprising: an outer casing formed of a first material; and an inner casing formed of a second material different from the said first material and defining a cavity for receiving in a sealing way at least the hub portion, said cavity having an inner wall; attachment means defined in the said cavity to removably engage and secure said protection device at least along a sealing line to the injection device; the protection device being characterized in that it further comprises aspiration limiting means for limiting the deformation of said cavity when said protection device is separated from the assembly or the injection device.