Effects with Attack Rolls
Some targeted effects require an attack roll to hit their target. These effects can score critical hits just as weapons can, and when they do, they deal double damage on a critical hit.
If a targeted effect that requires an attack roll lists a duration, it refers to how long the effect lasts on the target (if the attack roll is successful), not how long you have to make an attack.
Source
Core Rulebook pg. 272